Searched refs:dcb_cfg (Results 1 – 8 of 8) sorted by relevance
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()299 struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; in ixgbe_dcbnl_set_all() local331 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 …]
84 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()
1196 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()
982 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() local9625 if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) in ixgbe_setup_tc()[all …]
716 struct ixgbe_dcb_config dcb_cfg; member
47 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; in i40e_client_get_params() local51 u8 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_client_get_params()
7128 struct i40e_dcbx_config *dcb_cfg = &pf->hw.local_dcbx_config; in i40e_dcb_sw_default_config() local7170 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()
1524 struct ice_dcbx_cfg *dcb_cfg, *peer_dcb_cfg; in ice_lag_chk_comp() local1555 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()