DPDK patches and discussions
 help / color / mirror / Atom feed
From: Sunil Bojanapally <sunil.bojanapally@ericsson.com>
To: <dev@dpdk.org>
Subject: [dpdk-dev] DCB Tx support in v1.2
Date: Mon, 11 Aug 2014 13:24:11 +0530	[thread overview]
Message-ID: <53E876A3.3070401@ericsson.com> (raw)

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

                 reply	other threads:[~2014-08-11  7:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53E876A3.3070401@ericsson.com \
    --to=sunil.bojanapally@ericsson.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).