DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Ramachandran <rahulnitk2004@gmail.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] IPV6 RSS not working in i40e
Date: Tue, 16 Feb 2016 19:20:40 +0530	[thread overview]
Message-ID: <CAOwLgiq73gVcaa-v4cV+rZ5qooWxhyt1r2LkgG1A5sKpuuY=fw@mail.gmail.com> (raw)
In-Reply-To: <CAOwLgip7yTCyD1uH3qRNVy5Qy55Oeu6uzHpRzu0rFRC2B+VBew@mail.gmail.com>

This is the RSS hash related queries in 40G NIC:

Hash Flags: 8888

Key Length: 52

Keys:
6D 5A 56 DA 25 5B E C2 41 67
25 3D 43 A3 8F B0 D0 CA 2B CB
AE 7B 30 B4 77 CB 2D A3 80 30
F2 C 6A 42 B7 3B BE AC 1 FA
0 0 0 0 0 0 0 0 0 0
0 0
Hash Algorithm: Toeplitz
Symmetric hash status: 1

RETA table size: 512

Entries 0-63:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 64-127:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 128-191:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 192-255:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 256-319:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 320-383:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 384-447:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
Entries 448-511:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,


On 16 February 2016 at 17:14, Rahul Ramachandran <rahulnitk2004@gmail.com>
wrote:

> Hi,
>
>     I am using dpdk 2.1. I see the hash flags are unified compared to my
> previous version 1.8.
>     But with DPDK 2.1 in Fortville NIC's, I see ipv6 RSS is not working,
> all the frames are queued to
>     first queue even though I have 16 queues (RETA table looks correct).
>
>     For IPV4 RSS works as expected in Fortville. Also in 10G, both ipv4
> and ipv6 RSS works.
>
>     My RSS configuration is : rss_hf = ETH_RSS_IP | ETH_*RSS*
> _NONFRAG_IPV4_TCP | ETH_*RSS*_NONFRAG_IPV4_UDP
>
>     I see ETH_RSS_IP contains Layer3 hash flags for ipv6.
>
>     #define ETH_*RSS*_IP ( \
>               ETH_*RSS*_IPV4 | \
>               ETH_*RSS*_FRAG_IPV4 | \
>               ETH_*RSS*_NONFRAG_IPV4_OTHER | \
>               ETH_*RSS*_*IPV6* | \
>               ETH_*RSS*_FRAG_*IPV6* | \
>               ETH_*RSS*_NONFRAG_*IPV6*_OTHER | \
>               ETH_*RSS*_*IPV6*_EX)
>
>     But when I query the hash flags, I get the value of 8888. I understand
> while configuring RSS
>     HF in the 40G NIC, we mask the configured RSS HF with NIC specific
> mask flags before writing to NIC. But I am not
>     sure after masking it is taking the flags for IPV6.
>
>     The mask or I40E:            I40E_*RSS*_OFFLOAD_ALL    . I see this
> conatins the flags ETH_*RSS*_FRAG_*IPV6 & *ETH_*RSS*_NONFRAG_*IPV6*
> _OTHER.
>
>     Are you aware of any such problems?
>
>     Please let me know if you need more information.
>
> Thanks
>

      reply	other threads:[~2016-02-16 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 11:44 Rahul Ramachandran
2016-02-16 13:50 ` Rahul Ramachandran [this message]

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='CAOwLgiq73gVcaa-v4cV+rZ5qooWxhyt1r2LkgG1A5sKpuuY=fw@mail.gmail.com' \
    --to=rahulnitk2004@gmail.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).