DPDK usage discussions
 help / color / mirror / Atom feed
From: Pavel Shirshov <pavel.shirshov@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Intel XL710: QinQ RSS configuration
Date: Fri, 18 Nov 2016 14:35:42 -0800	[thread overview]
Message-ID: <CALkUq2h4BoK2Fo2qQtWpEHCOe_iM0UKFacOe1qFstCTJ1=veDw@mail.gmail.com> (raw)

Hello,

Is it possible to enable RSS for QinQ traffic for Intel XL710-QDA2?

I'm trying to set following configuration on my NIC Intel XL710-QDA2
I want to:
1. Receive QinQ traffic
2. Steer traffic using RSS on the NIC
3. Extract both vlan tags.

I can receive both tags from the NIC, but RSS hash is always 0, and
there's no RSS steering between queues.
If I disable VLAN strip offloading I see that hash is calculated, but
its value is always the same.

My NIC is Intel XL710-QDA2. Latest fw and driver.

static const struct rte_eth_conf port_conf = {
    .rxmode = {
        .mq_mode = ETH_MQ_RX_RSS,
        .max_rx_pkt_len = ETHER_MAX_LEN,
        .split_hdr_size = 0,
        .header_split   = 0, /**< Header Split disabled */
        .hw_ip_checksum = 1, /**< IP checksum offload enabled */
        .hw_vlan_filter = 0, /**< VLAN filtering disabled */
        .hw_vlan_strip  = 1,
        .jumbo_frame    = 0, /**< Jumbo Frame Support disabled */
        .hw_strip_crc   = 0, /**< CRC stripped by hardware */
    },
    .rx_adv_conf = {
        .rss_conf = {
            .rss_key = NULL,
            .rss_hf = ETH_RSS_PROTO_MASK,
        },
    },
}

Thanks
--
With best regards,
Pavel

                 reply	other threads:[~2016-11-18 22:35 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='CALkUq2h4BoK2Fo2qQtWpEHCOe_iM0UKFacOe1qFstCTJ1=veDw@mail.gmail.com' \
    --to=pavel.shirshov@gmail.com \
    --cc=users@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).