Searched refs:dcb_cfg (Results 1 – 6 of 6) sorted by relevance
51 struct ixgbe_dcb_config *dcfg = &adapter->dcb_cfg; in ixgbe_copy_dcb_cfg()166 state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); in ixgbe_dcbnl_set_state()250 *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_tx()251 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[0].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_tx()252 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_tx()253 *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_tx()261 *bw_pct = adapter->dcb_cfg.bw_percentage[0][bwg_id]; in ixgbe_dcbnl_get_pg_bwg_cfg_tx()270 *prio = adapter->dcb_cfg.tc_config[tc].path[1].prio_type; in ixgbe_dcbnl_get_pg_tc_cfg_rx()271 *bwg_id = adapter->dcb_cfg.tc_config[tc].path[1].bwg_id; in ixgbe_dcbnl_get_pg_tc_cfg_rx()272 *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; in ixgbe_dcbnl_get_pg_tc_cfg_rx()[all …]
95 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()96 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in __ixgbe_enable_sriov()98 adapter->dcb_cfg.num_tcs.pg_tcs = 4; in __ixgbe_enable_sriov()99 adapter->dcb_cfg.num_tcs.pfc_tcs = 4; in __ixgbe_enable_sriov()101 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in __ixgbe_enable_sriov()102 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in __ixgbe_enable_sriov()
1117 adapter->dcb_cfg.pfc_mode_enable = false; in ixgbe_set_interrupt_capability()1120 adapter->dcb_cfg.num_tcs.pg_tcs = 1; in ixgbe_set_interrupt_capability()1121 adapter->dcb_cfg.num_tcs.pfc_tcs = 1; in ixgbe_set_interrupt_capability()
976 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_update_xoff_received()3262 bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; in ixgbe_set_rx_drop_en()4355 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb()4357 ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, in ixgbe_configure_dcb()4359 ixgbe_dcb_hw_config(hw, &adapter->dcb_cfg); in ixgbe_configure_dcb()5390 adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; in ixgbe_sw_init()5391 adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; in ixgbe_sw_init()5394 adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; in ixgbe_sw_init()5395 adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; in ixgbe_sw_init()5401 tc = &adapter->dcb_cfg.tc_config[j]; in ixgbe_sw_init()[all …]
693 struct ixgbe_dcb_config dcb_cfg; member
831 struct i40e_dcbx_config *dcb_cfg; in i40e_update_prio_xoff_rx() local836 dcb_cfg = &hw->local_dcbx_config; in i40e_update_prio_xoff_rx()839 if (!dcb_cfg->pfc.pfcenable) { in i40e_update_prio_xoff_rx()856 tc = dcb_cfg->etscfg.prioritytable[i]; in i40e_update_prio_xoff_rx()