DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DCB Tx support in v1.2
@ 2014-08-11  7:54 Sunil Bojanapally
  0 siblings, 0 replies; only message in thread
From: Sunil Bojanapally @ 2014-08-11  7:54 UTC (permalink / raw)
  To: dev

Hi team,

Currently I am using DPDK version 1.2, for which can I configure 
VMDQ_DCB both in Rx/Tx Mq modes ?

In v1.2 I see only Rx MQ mode is defined but not Tx as below.
Does it mean application can only receive packets from multiple traffic 
classes but not transmit ?
If yes, do I need to upgrade my DPDK to latest release ?

  205 enum rte_eth_rx_mq_mode {
  206         ETH_RSS     = 0,     /**< Default to RSS mode */
207         ETH_VMDQ_DCB /**< Use VMDQ+DCB to route traffic to queues */
  208 };

However in later release v1.6 has both Rx & Tx MQ mode independently as 
shown below,

  248 enum rte_eth_rx_mq_mode {
  249         ETH_MQ_RX_NONE = 0,  /**< None of DCB,RSS or VMDQ mode */
  250
  251         ETH_MQ_RX_RSS,       /**< For RX side, only RSS is on */
  252         ETH_MQ_RX_DCB,       /**< For RX side,only DCB is on. */
  253         ETH_MQ_RX_DCB_RSS,   /**< Both DCB and RSS enable */
  254
  255         ETH_MQ_RX_VMDQ_ONLY, /**< Only VMDQ, no RSS nor DCB */
  256         ETH_MQ_RX_VMDQ_RSS,  /**< RSS mode with VMDQ */
  257         ETH_MQ_RX_VMDQ_DCB, /**< Use VMDQ+DCB to route traffic to 
queues */
  258         ETH_MQ_RX_VMDQ_DCB_RSS, /**< Enable both VMDQ and DCB in 
VMDq */
  259 };

  268 /**
  269  * A set of values to identify what method is to be used to transmit
  270  * packets using multi-TCs.
  271  */
  272 enum rte_eth_tx_mq_mode {
  273         ETH_MQ_TX_NONE    = 0,  /**< It is in neither DCB nor VT 
mode. */
  274         ETH_MQ_TX_DCB,          /**< For TX side,only DCB is on. */
  275         ETH_MQ_TX_VMDQ_DCB, /**< For TX side,both DCB and VT is on. */
  276         ETH_MQ_TX_VMDQ_ONLY,    /**< Only VT on, no DCB */
  277 };


Thanks,
Sunil

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-11  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-11  7:54 [dpdk-dev] DCB Tx support in v1.2 Sunil Bojanapally

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).