Searched refs:numtc (Results 1 – 13 of 13) sorted by relevance
734 int numtc; in ice_alloc_fd_res() local744 numtc = main_vsi->all_numtc - ICE_CHNL_START_TC; in ice_alloc_fd_res()749 if (numtc < ICE_CHNL_START_TC) in ice_alloc_fd_res()754 vsi->num_gfltr = g_val / numtc; in ice_alloc_fd_res()1021 if (!vsi->tc_cfg.numtc) { in ice_vsi_setup_q_map()1023 vsi->tc_cfg.numtc = 1; in ice_vsi_setup_q_map()1027 num_rxq_per_tc = min_t(u16, qcount_rx / vsi->tc_cfg.numtc, ICE_MAX_RXQS_PER_TC); in ice_vsi_setup_q_map()1030 num_txq_per_tc = qcount_tx / vsi->tc_cfg.numtc; in ice_vsi_setup_q_map()2198 vsi->tc_cfg.numtc = 1; in ice_vsi_set_tc_cfg()3278 int numtc = vsi->tc_cfg.numtc; in ice_vsi_cfg_netdev_tc() local[all …]
72 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()
187 vsi->tc_cfg.numtc = ice_dcb_get_num_tc(cfg); in ice_vsi_set_dcb_tc_cfg()191 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()197 vsi->tc_cfg.numtc = 1; in ice_vsi_set_dcb_tc_cfg()
243 u8 numtc; /* Total number of enabled TCs */ member870 if (vsi->tc_cfg.numtc > ICE_CHNL_START_TC && in ice_is_adq_active()
3461 if (new_rx < vsi->tc_cfg.numtc) { in ice_set_channels()3463 vsi->tc_cfg.numtc); in ice_set_channels()3466 if (new_tx < vsi->tc_cfg.numtc) { in ice_set_channels()3468 vsi->tc_cfg.numtc); in ice_set_channels()
2744 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_prepare_xdp_rings()2853 for (i = 0; i < vsi->tc_cfg.numtc; i++) in ice_destroy_xdp_rings()
442 unsigned int numtc; member
430 dma_cap->numtc = ((hw_cap & XGMAC_HWFEAT_NUMTC) >> 21) + 1; in dwxgmac2_get_hw_feature()
6363 priv->dma_cap.numtc); in stmmac_dma_cap_show()
1959 vsi->tc_config.numtc = vsi->mqprio_qopt.qopt.num_tc; in i40e_vsi_setup_queue_map_mqprio()2044 u16 numtc = 1; in i40e_vsi_setup_queue_map() local2082 for (i = 0, numtc = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) { in i40e_vsi_setup_queue_map()2084 numtc++; in i40e_vsi_setup_queue_map()2086 if (!numtc) { in i40e_vsi_setup_queue_map()2088 numtc = 1; in i40e_vsi_setup_queue_map()2090 num_tc_qps = num_tc_qps / numtc; in i40e_vsi_setup_queue_map()2095 vsi->tc_config.numtc = numtc; in i40e_vsi_setup_queue_map()2158 if ((vsi->type == I40E_VSI_MAIN && numtc != 1) || in i40e_vsi_setup_queue_map()5702 if (netdev_set_num_tc(netdev, vsi->tc_config.numtc)) in i40e_vsi_config_netdev_tc()[all …]
286 u8 numtc; /* Total number of enabled TCs */ member
471 vsi->tc_config.numtc, vsi->tc_config.enabled_tc); in i40e_dbg_dump_vsi_seid()
3808 if (vsi->tc_config.numtc == 1 || in i40e_lan_select_queue()