Searched refs:dcb_cfg (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 24 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() 223 *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 224 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[0].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 225 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 226 *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 234 *bw_pct = adapter->dcb_cfg.bw_percentage[0][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_tx() 243 *prio = adapter->dcb_cfg.tc_config[tc].path[1].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_rx() 244 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[1].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_rx() 245 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_rx() [all …]
|
D | ixgbe_sriov.c | 83 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov() 84 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov() 86 adapter->dcb_cfg.num_tcs.pg_tcs = 4; in __ixgbe_enable_sriov() 87 adapter->dcb_cfg.num_tcs.pfc_tcs = 4; in __ixgbe_enable_sriov() 89 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in __ixgbe_enable_sriov() 90 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in __ixgbe_enable_sriov()
|
D | ixgbe_lib.c | 1195 adapter->dcb_cfg.pfc_mode_enable = false; in ixgbe_set_interrupt_capability() 1199 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in ixgbe_set_interrupt_capability() 1200 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in ixgbe_set_interrupt_capability()
|
D | ixgbe_main.c | 968 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_update_xoff_received() 3663 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_set_rx_drop_en() 5059 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb() 5061 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb() 5063 ixgbe_dcb_hw_config(hw, &adapter->dcb_cfg); in ixgbe_configure_dcb() 6249 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb() 6250 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in ixgbe_init_dcb() 6254 adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb() 6255 adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; in ixgbe_init_dcb() 6260 adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS; in ixgbe_init_dcb() [all …]
|
D | ixgbe.h | 710 struct ixgbe_dcb_config dcb_cfg; member
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 48 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; in i40e_client_get_params() local 52 u8 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_client_get_params()
|
D | i40e_main.c | 7110 struct i40e_dcbx_config *dcb_cfg = &pf->hw.local_dcbx_config; in i40e_dcb_sw_default_config() local 7152 dcb_cfg->etscfg.willing = I40E_IEEE_DEFAULT_ETS_WILLING; in i40e_dcb_sw_default_config() 7153 dcb_cfg->etscfg.cbs = 0; in i40e_dcb_sw_default_config() 7154 dcb_cfg->etscfg.maxtcs = I40E_MAX_TRAFFIC_CLASS; in i40e_dcb_sw_default_config() 7155 dcb_cfg->etscfg.tcbwtable[0] = I40E_IEEE_DEFAULT_ETS_TCBW; in i40e_dcb_sw_default_config()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lag.c | 1423 struct ice_dcbx_cfg *dcb_cfg, *peer_dcb_cfg; in ice_lag_chk_comp() local 1454 dcb_cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_lag_chk_comp() 1456 if (memcmp(dcb_cfg, peer_dcb_cfg, in ice_lag_chk_comp()
|