[dpdk-dev] DCB Tx support in v1.2

Sunil Bojanapally sunil.bojanapally at ericsson.com
Mon Aug 11 09:54:11 CEST 2014


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


More information about the dev mailing list