dcb_cfg 49 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; dcb_cfg 53 drivers/net/ethernet/intel/i40e/i40e_client.c u8 tc = dcb_cfg->etscfg.prioritytable[i]; dcb_cfg 663 drivers/net/ethernet/intel/ixgbe/ixgbe.h struct ixgbe_dcb_config dcb_cfg; dcb_cfg 26 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c struct ixgbe_dcb_config *dcfg = &adapter->dcb_cfg; dcb_cfg 141 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c state ? adapter->dcb_cfg.num_tcs.pg_tcs : 0); dcb_cfg 225 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; dcb_cfg 226 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bwg_id = adapter->dcb_cfg.tc_config[tc].path[0].bwg_id; dcb_cfg 227 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bw_pct = adapter->dcb_cfg.tc_config[tc].path[0].bwg_percent; dcb_cfg 228 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; dcb_cfg 236 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bw_pct = adapter->dcb_cfg.bw_percentage[0][bwg_id]; dcb_cfg 245 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *prio = adapter->dcb_cfg.tc_config[tc].path[1].prio_type; dcb_cfg 246 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bwg_id = adapter->dcb_cfg.tc_config[tc].path[1].bwg_id; dcb_cfg 247 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bw_pct = adapter->dcb_cfg.tc_config[tc].path[1].bwg_percent; dcb_cfg 248 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *up_map = adapter->dcb_cfg.tc_config[tc].path[1].up_to_tc_bitmap; dcb_cfg 256 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *bw_pct = adapter->dcb_cfg.bw_percentage[1][bwg_id]; dcb_cfg 266 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c adapter->dcb_cfg.tc_config[priority].dcb_pfc) dcb_cfg 275 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *setting = adapter->dcb_cfg.tc_config[priority].dcb_pfc; dcb_cfg 300 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; dcb_cfg 326 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, dcb_cfg 328 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_calculate_tc_credits(hw, dcb_cfg, max_frame, dcb_cfg 331 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_refill(dcb_cfg, DCB_TX_CONFIG, refill); dcb_cfg 332 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_max(dcb_cfg, max); dcb_cfg 333 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_bwgid(dcb_cfg, DCB_TX_CONFIG, bwg_id); dcb_cfg 334 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_prio(dcb_cfg, DCB_TX_CONFIG, prio_type); dcb_cfg 335 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); dcb_cfg 347 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (dcb_cfg->pfc_mode_enable) { dcb_cfg 351 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_map(dcb_cfg, DCB_TX_CONFIG, prio_tc); dcb_cfg 352 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcb_unpack_pfc(dcb_cfg, &pfc_en); dcb_cfg 429 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *num = adapter->dcb_cfg.num_tcs.pg_tcs; dcb_cfg 432 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c *num = adapter->dcb_cfg.num_tcs.pfc_tcs; dcb_cfg 453 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c return adapter->dcb_cfg.pfc_mode_enable; dcb_cfg 493 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ets->ets_cap = adapter->dcb_cfg.num_tcs.pg_tcs; dcb_cfg 546 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c if (max_tc > adapter->dcb_cfg.num_tcs.pg_tcs) dcb_cfg 567 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c pfc->pfc_cap = adapter->dcb_cfg.num_tcs.pfc_tcs; dcb_cfg 1193 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->dcb_cfg.pfc_mode_enable = false; dcb_cfg 1197 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->dcb_cfg.num_tcs.pg_tcs = 1; dcb_cfg 1198 drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c adapter->dcb_cfg.num_tcs.pfc_tcs = 1; dcb_cfg 966 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; dcb_cfg 3681 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; dcb_cfg 5061 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, dcb_cfg 5063 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_dcb_calculate_tc_credits(hw, &adapter->dcb_cfg, max_frame, dcb_cfg 5065 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_dcb_hw_config(hw, &adapter->dcb_cfg); dcb_cfg 6196 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; dcb_cfg 6197 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; dcb_cfg 6201 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = X540_TRAFFIC_CLASS; dcb_cfg 6202 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = X540_TRAFFIC_CLASS; dcb_cfg 6207 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pg_tcs = DEF_TRAFFIC_CLASS; dcb_cfg 6208 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.num_tcs.pfc_tcs = DEF_TRAFFIC_CLASS; dcb_cfg 6214 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tc = &adapter->dcb_cfg.tc_config[j]; dcb_cfg 6223 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tc = &adapter->dcb_cfg.tc_config[0]; dcb_cfg 6227 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.bw_percentage[DCB_TX_CONFIG][0] = 100; dcb_cfg 6228 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.bw_percentage[DCB_RX_CONFIG][0] = 100; dcb_cfg 6229 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.pfc_mode_enable = false; dcb_cfg 6233 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(&adapter->temp_dcb_cfg, &adapter->dcb_cfg, dcb_cfg 7365 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bool pfc_en = adapter->dcb_cfg.pfc_mode_enable; dcb_cfg 9023 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_dcb_config *dcb_cfg = &adapter->dcb_cfg; dcb_cfg 9031 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tc = ixgbe_dcb_get_tc_from_up(dcb_cfg, 0, prio); dcb_cfg 9100 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (tc > adapter->dcb_cfg.num_tcs.pg_tcs) dcb_cfg 9148 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->dcb_cfg.pfc_mode_enable = false; dcb_cfg 82 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS; dcb_cfg 83 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS; dcb_cfg 85 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = 4; dcb_cfg 86 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = 4; dcb_cfg 88 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pg_tcs = 1; dcb_cfg 89 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->dcb_cfg.num_tcs.pfc_tcs = 1;