Home
last modified time | relevance | path

Searched refs:num_tcs (Results 1 – 25 of 28) sorted by relevance

12

/dpdk/examples/vmdq_dcb/
H A Dmain.c63 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 Dixgbe_dcb_82599.c360 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 Dixgbe_vf.c696 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 Dixgbe_dcb.h94 struct ixgbe_dcb_num_tcs num_tcs; member
H A Dixgbe_vf.h113 int ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs,
H A Dixgbe_dcb.c237 u8 tc = cfg->num_tcs.pg_tcs; in ixgbe_dcb_get_tc_from_up()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_vf.c602 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 Dtxgbe_vf.h59 int txgbevf_get_queues(struct txgbe_hw *hw, unsigned int *num_tcs,
H A Dtxgbe_dcb.h85 struct txgbe_dcb_num_tcs num_tcs; member
H A Dtxgbe_dcb_hw.c274 tc_count = dcb_config->num_tcs.pg_tcs; in txgbe_dcb_config_tc_stats_raptor()
H A Dtxgbe_dcb.c326 u8 tc = cfg->num_tcs.pg_tcs; in txgbe_dcb_get_tc_from_up()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c586 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 Dtxgbe_rxtx.c3194 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 Dtxgbe_ethdev.c425 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 Dixgbe_pf.c645 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 Dixgbe_rxtx.c3819 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 Dixgbe_ethdev.c964 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 Dtestpmd.c3872 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 Dtestpmd.h1047 enum rte_eth_nb_tcs num_tcs,
H A Dcmdline.c3262 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 Dmrvl_qos.c1012 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 Dmvneta_ethdev.c135 ppio_params->inqs_params.num_tcs = 1; in mvneta_dev_configure()
/dpdk/drivers/net/dpaa2/mc/
H A Dfsl_dpni_cmd.h143 uint8_t num_tcs; member
H A Dfsl_dpni.h210 uint8_t num_tcs; member
H A Ddpni.c122 cmd_params->num_tcs = cfg->num_tcs; in dpni_create()

12