Home
last modified time | relevance | path

Searched refs:numtc (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_lib.c788 if (vsi->tc_cfg.numtc) { in ice_vsi_setup_q_map()
796 vsi->tc_cfg.numtc++; in ice_vsi_setup_q_map()
800 num_rxq_per_tc = min_t(u16, qcount_rx / vsi->tc_cfg.numtc, ICE_MAX_RXQS_PER_TC); in ice_vsi_setup_q_map()
803 num_txq_per_tc = qcount_tx / vsi->tc_cfg.numtc; in ice_vsi_setup_q_map()
2196 vsi->tc_cfg.numtc = ice_dcb_get_num_tc(cfg); in ice_vsi_set_tc_cfg()
2542 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_vsi_setup()
3213 for (i = 0; i < vsi->tc_cfg.numtc; i++) { in ice_vsi_rebuild()
3336 vsi->tc_cfg.numtc = num_tc; in ice_vsi_cfg_tc()
Dice.h174 u8 numtc; /* Total number of enabled TCs */ member
Dice_dcb_lib.c28 if (netdev_set_num_tc(netdev, vsi->tc_cfg.numtc)) in ice_vsi_cfg_netdev_tc()
Dice_main.c2526 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_prepare_xdp_rings()
2631 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_destroy_xdp_rings()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c1924 vsi->tc_config.numtc = vsi->mqprio_qopt.qopt.num_tc; in i40e_vsi_setup_queue_map_mqprio()
2009 u16 numtc = 1; in i40e_vsi_setup_queue_map() local
2047 for (i = 0, numtc = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) { in i40e_vsi_setup_queue_map()
2049 numtc++; in i40e_vsi_setup_queue_map()
2051 if (!numtc) { in i40e_vsi_setup_queue_map()
2053 numtc = 1; in i40e_vsi_setup_queue_map()
2055 num_tc_qps = num_tc_qps / numtc; in i40e_vsi_setup_queue_map()
2060 vsi->tc_config.numtc = numtc; in i40e_vsi_setup_queue_map()
2123 if ((vsi->type == I40E_VSI_MAIN && numtc != 1) || in i40e_vsi_setup_queue_map()
5642 if (netdev_set_num_tc(netdev, vsi->tc_config.numtc)) in i40e_vsi_config_netdev_tc()
[all …]
Di40e.h313 u8 numtc; /* Total number of enabled TCs */ member
Di40e_debugfs.c469 vsi->tc_config.numtc, vsi->tc_config.enabled_tc); in i40e_dbg_dump_vsi_seid()
Di40e_txrx.c3662 if (vsi->tc_config.numtc == 1 || in i40e_lan_select_queue()