| /dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 63 static enum rte_eth_nb_tcs num_tcs = RTE_ETH_4_TCS; variable 160 conf.dcb_tc[i] = i % num_tcs; in get_eth_conf() 161 dcb_conf.dcb_tc[i] = i % num_tcs; in get_eth_conf() 162 tx_conf.dcb_tc[i] = i % num_tcs; in get_eth_conf() 164 dcb_conf.nb_tcs = (enum rte_eth_nb_tcs)num_tcs; in get_eth_conf() 237 if (num_tcs != num_vmdq_queues / num_pools) { in port_init() 240 num_tcs, num_pools, num_vmdq_queues); in port_init() 246 if (num_tcs > queues_per_pool) { in port_init() 248 num_tcs, queues_per_pool); in port_init() 406 num_tcs = RTE_ETH_4_TCS; in vmdq_parse_num_tcs() [all …]
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb_82599.c | 360 tc_count = dcb_config->num_tcs.pg_tcs; in ixgbe_dcb_config_tc_stats_82599() 489 if (dcb_config->num_tcs.pg_tcs == 8) { in ixgbe_dcb_config_82599() 514 if (dcb_config->num_tcs.pg_tcs == 4) { in ixgbe_dcb_config_82599() 526 if (dcb_config->num_tcs.pg_tcs == 8) in ixgbe_dcb_config_82599()
|
| H A D | ixgbe_vf.c | 696 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, in ixgbevf_get_queues() argument 739 *num_tcs = msg[IXGBE_VF_TRANS_VLAN]; in ixgbevf_get_queues() 741 if (*num_tcs > hw->mac.max_rx_queues) in ixgbevf_get_queues() 742 *num_tcs = 1; in ixgbevf_get_queues()
|
| H A D | ixgbe_dcb.h | 94 struct ixgbe_dcb_num_tcs num_tcs; member
|
| H A D | ixgbe_vf.h | 113 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
|
| H A D | ixgbe_dcb.c | 237 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up()
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_vf.c | 602 int txgbevf_get_queues(struct txgbe_hw *hw, unsigned int *num_tcs, in txgbevf_get_queues() argument 646 *num_tcs = msg[TXGBE_VF_TRANS_VLAN]; in txgbevf_get_queues() 648 if (*num_tcs > hw->mac.max_rx_queues) in txgbevf_get_queues() 649 *num_tcs = 1; in txgbevf_get_queues()
|
| H A D | txgbe_vf.h | 59 int txgbevf_get_queues(struct txgbe_hw *hw, unsigned int *num_tcs,
|
| H A D | txgbe_dcb.h | 85 struct txgbe_dcb_num_tcs num_tcs; member
|
| H A D | txgbe_dcb_hw.c | 274 tc_count = dcb_config->num_tcs.pg_tcs; in txgbe_dcb_config_tc_stats_raptor()
|
| H A D | txgbe_dcb.c | 326 u8 tc = cfg->num_tcs.pg_tcs; in txgbe_dcb_get_tc_from_up()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 586 u8 num_tcs; in txgbe_get_vf_queues() local 625 num_tcs = RTE_ETH_8_TCS; in txgbe_get_vf_queues() 628 num_tcs = RTE_ETH_4_TCS; in txgbe_get_vf_queues() 645 num_tcs = 1; in txgbe_get_vf_queues() 647 num_tcs = 0; in txgbe_get_vf_queues() 655 msgbuf[TXGBE_VF_TRANS_VLAN] = num_tcs; in txgbe_get_vf_queues()
|
| H A D | txgbe_rxtx.c | 3194 if (dcb_config->num_tcs.pg_tcs == 8) in txgbe_dcb_tx_hw_config() 3241 dcb_config->num_tcs.pg_tcs = RTE_ETH_8_TCS; in txgbe_vmdq_dcb_rx_config() 3242 dcb_config->num_tcs.pfc_tcs = RTE_ETH_8_TCS; in txgbe_vmdq_dcb_rx_config() 3244 dcb_config->num_tcs.pg_tcs = RTE_ETH_4_TCS; in txgbe_vmdq_dcb_rx_config() 3245 dcb_config->num_tcs.pfc_tcs = RTE_ETH_4_TCS; in txgbe_vmdq_dcb_rx_config() 3274 dcb_config->num_tcs.pg_tcs = RTE_ETH_8_TCS; in txgbe_dcb_vt_tx_config() 3275 dcb_config->num_tcs.pfc_tcs = RTE_ETH_8_TCS; in txgbe_dcb_vt_tx_config() 3277 dcb_config->num_tcs.pg_tcs = RTE_ETH_4_TCS; in txgbe_dcb_vt_tx_config() 3375 if (dcb_config->num_tcs.pg_tcs == 4) { in txgbe_dcb_rx_hw_config() 3383 if (dcb_config->num_tcs.pg_tcs == 8) { in txgbe_dcb_rx_hw_config() [all …]
|
| H A D | txgbe_ethdev.c | 425 dcb_config->num_tcs.pg_tcs = TXGBE_DCB_TC_MAX; in txgbe_dcb_init() 426 dcb_config->num_tcs.pfc_tcs = TXGBE_DCB_TC_MAX; in txgbe_dcb_init() 4628 dcb_info->nb_tcs = dcb_config->num_tcs.pg_tcs; in txgbe_dev_get_dcb_info()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 645 u8 num_tcs; in ixgbe_get_vf_queues() local 688 num_tcs = RTE_ETH_8_TCS; in ixgbe_get_vf_queues() 691 num_tcs = RTE_ETH_4_TCS; in ixgbe_get_vf_queues() 708 num_tcs = 1; in ixgbe_get_vf_queues() 710 num_tcs = 0; in ixgbe_get_vf_queues() 718 msgbuf[IXGBE_VF_TRANS_VLAN] = num_tcs; in ixgbe_get_vf_queues()
|
| H A D | ixgbe_rxtx.c | 3819 if (dcb_config->num_tcs.pg_tcs == 8) { in ixgbe_dcb_tx_hw_config() 3875 dcb_config->num_tcs.pg_tcs = RTE_ETH_8_TCS; in ixgbe_vmdq_dcb_rx_config() 3876 dcb_config->num_tcs.pfc_tcs = RTE_ETH_8_TCS; in ixgbe_vmdq_dcb_rx_config() 3878 dcb_config->num_tcs.pg_tcs = RTE_ETH_4_TCS; in ixgbe_vmdq_dcb_rx_config() 3879 dcb_config->num_tcs.pfc_tcs = RTE_ETH_4_TCS; in ixgbe_vmdq_dcb_rx_config() 3908 dcb_config->num_tcs.pg_tcs = RTE_ETH_8_TCS; in ixgbe_dcb_vt_tx_config() 3909 dcb_config->num_tcs.pfc_tcs = RTE_ETH_8_TCS; in ixgbe_dcb_vt_tx_config() 3911 dcb_config->num_tcs.pg_tcs = RTE_ETH_4_TCS; in ixgbe_dcb_vt_tx_config() 4009 if (dcb_config->num_tcs.pg_tcs == 4) { in ixgbe_dcb_rx_hw_config() 4023 if (dcb_config->num_tcs.pg_tcs == 8) { in ixgbe_dcb_rx_hw_config() [all …]
|
| H A D | ixgbe_ethdev.c | 964 dcb_config->num_tcs.pg_tcs = dcb_max_tc; in ixgbe_dcb_init() 965 dcb_config->num_tcs.pfc_tcs = dcb_max_tc; in ixgbe_dcb_init() 997 dcb_config->num_tcs.pg_tcs = 4; in ixgbe_dcb_init() 998 dcb_config->num_tcs.pfc_tcs = 4; in ixgbe_dcb_init() 7243 dcb_info->nb_tcs = dcb_config->num_tcs.pg_tcs; in ixgbe_dev_get_dcb_info()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 3872 enum rte_eth_nb_tcs num_tcs, in get_eth_dcb_conf() argument 3893 (num_tcs == RTE_ETH_4_TCS ? RTE_ETH_32_POOLS : RTE_ETH_16_POOLS); in get_eth_dcb_conf() 3904 vmdq_rx_conf->dcb_tc[i] = i % num_tcs; in get_eth_dcb_conf() 3905 vmdq_tx_conf->dcb_tc[i] = i % num_tcs; in get_eth_dcb_conf() 3925 rx_conf->nb_tcs = num_tcs; in get_eth_dcb_conf() 3926 tx_conf->nb_tcs = num_tcs; in get_eth_dcb_conf() 3929 rx_conf->dcb_tc[i] = i % num_tcs; in get_eth_dcb_conf() 3930 tx_conf->dcb_tc[i] = i % num_tcs; in get_eth_dcb_conf() 3952 enum rte_eth_nb_tcs num_tcs, in init_port_dcb_config() argument 4019 nb_rxq = (queueid_t)num_tcs; in init_port_dcb_config() [all …]
|
| H A D | testpmd.h | 1047 enum rte_eth_nb_tcs num_tcs,
|
| H A D | cmdline.c | 3262 uint8_t num_tcs; member 3286 if ((res->num_tcs != RTE_ETH_4_TCS) && (res->num_tcs != RTE_ETH_8_TCS)) { in cmd_config_dcb_parsed() 3292 if (nb_fwd_lcores < res->num_tcs) { in cmd_config_dcb_parsed() 3313 (enum rte_eth_nb_tcs)res->num_tcs, in cmd_config_dcb_parsed() 3317 (enum rte_eth_nb_tcs)res->num_tcs, in cmd_config_dcb_parsed() 3342 TOKEN_NUM_INITIALIZER(struct cmd_config_dcb, num_tcs, RTE_UINT8);
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_qos.c | 1012 priv->ppio_params.inqs_params.num_tcs = 1; in mrvl_configure_rxqs() 1115 priv->ppio_params.inqs_params.num_tcs = i; in mrvl_configure_rxqs()
|
| /dpdk/drivers/net/mvneta/ |
| H A D | mvneta_ethdev.c | 135 ppio_params->inqs_params.num_tcs = 1; in mvneta_dev_configure()
|
| /dpdk/drivers/net/dpaa2/mc/ |
| H A D | fsl_dpni_cmd.h | 143 uint8_t num_tcs; member
|
| H A D | fsl_dpni.h | 210 uint8_t num_tcs; member
|
| H A D | dpni.c | 122 cmd_params->num_tcs = cfg->num_tcs; in dpni_create()
|