Home
last modified time | relevance | path

Searched refs:dcb_cfg (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c24 struct ixgbe_dcb_config *dcfg = &adapter->dcb_cfg; in ixgbe_copy_dcb_cfg()
139 state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); in ixgbe_dcbnl_set_state()
299 struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; in ixgbe_dcbnl_set_all() local
331 ixgbe_dcb_unpack_max(dcb_cfg, max); in ixgbe_dcbnl_set_all()
346 if (dcb_cfg->pfc_mode_enable) { in ixgbe_dcbnl_set_all()
351 ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); in ixgbe_dcbnl_set_all()
428 *num = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_getnumtcs()
431 *num = adapter->dcb_cfg.num_tcs.pfc_tcs; in ixgbe_dcbnl_getnumtcs()
452 return adapter->dcb_cfg.pfc_mode_enable; in ixgbe_dcbnl_getpfcstate()
492 ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; in ixgbe_dcbnl_ieee_getets()
[all …]
H A Dixgbe_sriov.c84 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()
85 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()
87 adapter->dcb_cfg.num_tcs.pg_tcs = 4; in __ixgbe_enable_sriov()
88 adapter->dcb_cfg.num_tcs.pfc_tcs = 4; in __ixgbe_enable_sriov()
90 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in __ixgbe_enable_sriov()
91 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in __ixgbe_enable_sriov()
H A Dixgbe_lib.c1196 adapter->dcb_cfg.pfc_mode_enable = false; in ixgbe_set_interrupt_capability()
1200 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in ixgbe_set_interrupt_capability()
1201 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in ixgbe_set_interrupt_capability()
H A Dixgbe_main.c982 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_update_xoff_received()
3936 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_set_rx_drop_en()
5339 ixgbe_dcb_hw_config(hw, &adapter->dcb_cfg); in ixgbe_configure_dcb()
6638 tc = &adapter->dcb_cfg.tc_config[j]; in ixgbe_init_dcb()
6647 tc = &adapter->dcb_cfg.tc_config[0]; in ixgbe_init_dcb()
6653 adapter->dcb_cfg.pfc_mode_enable = false; in ixgbe_init_dcb()
6657 memcpy(&adapter->temp_dcb_cfg, &adapter->dcb_cfg, in ixgbe_init_dcb()
7835 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_watchdog_update_link()
9544 struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; in ixgbe_set_prio_tc_map() local
9625 if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_setup_tc()
[all …]
H A Dixgbe.h716 struct ixgbe_dcb_config dcb_cfg; member
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c47 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; in i40e_client_get_params() local
51 u8 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_client_get_params()
H A Di40e_main.c7128 struct i40e_dcbx_config *dcb_cfg = &pf->hw.local_dcbx_config; in i40e_dcb_sw_default_config() local
7170 dcb_cfg->etscfg.willing = I40E_IEEE_DEFAULT_ETS_WILLING; in i40e_dcb_sw_default_config()
7171 dcb_cfg->etscfg.cbs = 0; in i40e_dcb_sw_default_config()
7172 dcb_cfg->etscfg.maxtcs = I40E_MAX_TRAFFIC_CLASS; in i40e_dcb_sw_default_config()
7173 dcb_cfg->etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_lag.c1524 struct ice_dcbx_cfg *dcb_cfg, *peer_dcb_cfg; in ice_lag_chk_comp() local
1555 dcb_cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_lag_chk_comp()
1557 if (memcmp(dcb_cfg, peer_dcb_cfg, in ice_lag_chk_comp()