Searched refs:tc_config (Results 1 – 10 of 10) sorted by relevance
85 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()107 p = &dcb_config->tc_config[i].path[direction]; in ixgbe_dcb_calculate_tc_credits()152 dcb_config->tc_config[i].desc_credits_max = in ixgbe_dcb_calculate_tc_credits()164 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_pfc() local168 if (tc_config[tc].dcb_pfc != pfc_disabled) in ixgbe_dcb_unpack_pfc()176 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_refill() local185 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_max() local189 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max()195 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_bwgid() local205 struct tc_configuration *tc_config = &cfg->tc_config[0]; in ixgbe_dcb_unpack_prio() local[all …]
43 src = &scfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()44 dst = &dcfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()105 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()106 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()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()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()263 if (adapter->temp_dcb_cfg.tc_config[priority].dcb_pfc != in ixgbe_dcbnl_set_pfc_cfg()264 adapter->dcb_cfg.tc_config[priority].dcb_pfc) in ixgbe_dcbnl_set_pfc_cfg()[all …]
109 struct tc_configuration tc_config[MAX_TRAFFIC_CLASS]; member
6294 tc = &adapter->dcb_cfg.tc_config[j]; in ixgbe_init_dcb()6303 tc = &adapter->dcb_cfg.tc_config[0]; in ixgbe_init_dcb()
2079 vsi->tc_config.numtc = numtc; in i40e_vsi_setup_queue_map()5695 vsi->tc_config.tc_info[i].qcount, in i40e_vsi_config_netdev_tc()5936 vsi->tc_config.enabled_tc = 0; in i40e_vsi_reconfig_tc()6716 vsi->tc_config.tc_info[i].qcount; in i40e_configure_queue_channels()6718 vsi->tc_config.tc_info[i].qoffset; in i40e_configure_queue_channels()7708 vsi->tc_config.numtc = 1; in i40e_vsi_set_default_tc_config()7709 vsi->tc_config.enabled_tc = 1; in i40e_vsi_set_default_tc_config()12481 (vsi->tc_config.numtc ? vsi->tc_config.numtc : 1); in i40e_pf_config_rss()13180 vsi->tc_config.enabled_tc); in i40e_ndo_bridge_setlink()14435 vsi->tc_config.enabled_tc); in i40e_vsi_setup()[all …]
452 vsi->tc_config.numtc, vsi->tc_config.enabled_tc); in i40e_dbg_dump_vsi_seid()456 i, vsi->tc_config.tc_info[i].qoffset, in i40e_dbg_dump_vsi_seid()457 vsi->tc_config.tc_info[i].qcount, in i40e_dbg_dump_vsi_seid()458 vsi->tc_config.tc_info[i].netdev_tc); in i40e_dbg_dump_vsi_seid()865 enabled_tc = vsi->tc_config.enabled_tc; in i40e_dbg_command_write()
3754 if (vsi->tc_config.numtc == 1 || in i40e_lan_select_queue()3762 if (unlikely(!(vsi->tc_config.enabled_tc & BIT(tclass)))) in i40e_lan_select_queue()3766 qcount = vsi->tc_config.tc_info[tclass].qcount; in i40e_lan_select_queue()3769 qoffset = vsi->tc_config.tc_info[tclass].qoffset; in i40e_lan_select_queue()
55 if (!(vsi->tc_config.enabled_tc & BIT(tc))) in i40e_client_get_params()
905 if (tc_map & vsi->tc_config.enabled_tc) { in i40e_dcbnl_set_all()
884 struct i40e_tc_configuration tc_config; member