Home
last modified time | relevance | path

Searched refs:tc_config (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c69 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
70 dst = &dcfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
131 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
132 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
213 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
215 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_tx()
217 adapter->temp_dcb_cfg.tc_config[tc].path[0].bwg_percent = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
220 adapter->temp_dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap = in ixgbe_dcbnl_set_pg_tc_cfg_tx()
239 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
241 adapter->temp_dcb_cfg.tc_config[tc].path[1].bwg_id = bwg_id; in ixgbe_dcbnl_set_pg_tc_cfg_rx()
[all …]
Dixgbe_dcb.c108 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
130 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()
170 dcb_config->tc_config[i].desc_credits_max = in ixgbe_dcb_calculate_tc_credits()
187 *pfc_en |= !!(cfg->tc_config[i].dcb_pfc & 0xF) << i; in ixgbe_dcb_unpack_pfc()
197 p = &cfg->tc_config[i].path[direction]; in ixgbe_dcb_unpack_refill()
207 max[i] = cfg->tc_config[i].desc_credits_max; in ixgbe_dcb_unpack_max()
217 p = &cfg->tc_config[i].path[direction]; in ixgbe_dcb_unpack_bwgid()
229 p = &cfg->tc_config[i].path[direction]; in ixgbe_dcb_unpack_prio()
240 bitmap = cfg->tc_config[i].path[direction].up_to_tc_bitmap; in ixgbe_dcb_unpack_map()
Dixgbe_dcb.h134 struct tc_configuration tc_config[MAX_TRAFFIC_CLASS]; member
Dixgbe_main.c4420 tc = &adapter->dcb_cfg.tc_config[j]; in ixgbe_sw_init()
4429 tc = &adapter->dcb_cfg.tc_config[0]; in ixgbe_sw_init()