DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] IPV6 RSS not working in i40e
@ 2016-02-16 11:44 Rahul Ramachandran
  2016-02-16 13:50 ` Rahul Ramachandran
  0 siblings, 1 reply; 2+ messages in thread
From: Rahul Ramachandran @ 2016-02-16 11:44 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] IPV6 RSS not working in i40e
  2016-02-16 11:44 [dpdk-dev] IPV6 RSS not working in i40e Rahul Ramachandran
@ 2016-02-16 13:50 ` Rahul Ramachandran
  0 siblings, 0 replies; 2+ messages in thread
From: Rahul Ramachandran @ 2016-02-16 13:50 UTC (permalink / raw)
  To: dev

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-16 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16 11:44 [dpdk-dev] IPV6 RSS not working in i40e Rahul Ramachandran
2016-02-16 13:50 ` Rahul Ramachandran

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).