Home
last modified time | relevance | path

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

/Linux-v6.1/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.c2996 struct ice_dcbx_cfg *dcbx_cfg; in ice_get_pauseparam() local
3003 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_get_pauseparam()
3018 if (dcbx_cfg->pfc.pfcena) in ice_get_pauseparam()
3043 struct ice_dcbx_cfg *dcbx_cfg; in ice_set_pauseparam() local
3054 dcbx_cfg = &pi->qos_cfg.local_dcbx_cfg; in ice_set_pauseparam()
3100 if (dcbx_cfg->pfc.pfcena) { in ice_set_pauseparam()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1662 struct i40e_dcbx_config *dcbx_cfg = &hw->local_dcbx_config; in i40e_get_pauseparam() local
1669 if (dcbx_cfg->pfc.pfcenable) { in i40e_get_pauseparam()
1698 struct i40e_dcbx_config *dcbx_cfg = &hw->local_dcbx_config; in i40e_set_pauseparam() local
1728 if (dcbx_cfg->pfc.pfcenable) { in i40e_set_pauseparam()