Home
last modified time | relevance | path

Searched refs:dcbx_cfg (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_idc.c208 struct ice_dcbx_cfg *dcbx_cfg; in ice_get_qos_params() local
212 dcbx_cfg = &pf->hw.port_info->qos_cfg.local_dcbx_cfg; in ice_get_qos_params()
215 qos->num_tc = ice_dcb_get_num_tc(dcbx_cfg); in ice_get_qos_params()
220 qos->tc_info[i].rel_bw = dcbx_cfg->etscfg.tcbwtable[i]; in ice_get_qos_params()
222 qos->pfc_mode = dcbx_cfg->pfc_mode; in ice_get_qos_params()
225 qos->dscp_map[i] = dcbx_cfg->dscp_map[i]; in ice_get_qos_params()
Dice_dcb.c905 struct ice_dcbx_cfg *dcbx_cfg = NULL; in ice_get_ieee_or_cee_dcb_cfg() local
912 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
914 dcbx_cfg = &pi->qos_cfg.desired_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
920 ICE_AQ_LLDP_BRID_TYPE_NEAREST_BRID, dcbx_cfg); in ice_get_ieee_or_cee_dcb_cfg()
925 dcbx_cfg = &pi->qos_cfg.remote_dcbx_cfg; in ice_get_ieee_or_cee_dcb_cfg()
927 ICE_AQ_LLDP_BRID_TYPE_NEAREST_BRID, dcbx_cfg); in ice_get_ieee_or_cee_dcb_cfg()
945 struct ice_dcbx_cfg *dcbx_cfg; in ice_get_dcb_cfg() local
958 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_dcb_cfg()
959 dcbx_cfg->dcbx_mode = ICE_DCBX_MODE_IEEE; in ice_get_dcb_cfg()
Dice_ethtool.c2989 struct ice_dcbx_cfg *dcbx_cfg; in ice_get_pauseparam() local
2996 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_pauseparam()
3011 if (dcbx_cfg->pfc.pfcena) in ice_get_pauseparam()
3036 struct ice_dcbx_cfg *dcbx_cfg; in ice_set_pauseparam() local
3047 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_set_pauseparam()
3093 if (dcbx_cfg->pfc.pfcena) { in ice_set_pauseparam()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1572 struct i40e_dcbx_config *dcbx_cfg = &hw->local_dcbx_config; in i40e_get_pauseparam() local
1579 if (dcbx_cfg->pfc.pfcenable) { in i40e_get_pauseparam()
1608 struct i40e_dcbx_config *dcbx_cfg = &hw->local_dcbx_config; in i40e_set_pauseparam() local
1638 if (dcbx_cfg->pfc.pfcenable) { in i40e_set_pauseparam()