DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Outer VLAN stripping X710 NIC
@ 2019-02-22  7:59 Tomáš Jánský
  0 siblings, 0 replies; 2+ messages in thread
From: Tomáš Jánský @ 2019-02-22  7:59 UTC (permalink / raw)
  To: users

Hello DPDK Team,

I am having an issue with the behavior of Intel X710 NIC and would like
some clarification.
When the card receives packets with QinQ (double 802.1Q) the RX_RSS based
on L3 and L4 information is not working without specifying
DEV_RX_OFFLOAD_VLAN_EXTEND.
However, by specifying the mentioned flag, the card automatically strips
outer VLAN from the packet (even without using other offload flags like
DEV_RX_OFFLOAD_VLAN_STRIP) while leaving only the inner VLAN in the packet.
I know that the TCI from the stripped VLAN can be found in rte_mbuf
structure, but is it possible to force the card to keep the outer VLAN in
the packet (and still maintain working RSS)?
I do not know, whether this is an issue with DPDK design or the X710 NIC
itself. I was unable to find any useful information in the card datasheet.

Any clarification on this topic would be greatly appreciated.
Thanks in advance.

All the best
Tom

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

* Re: [dpdk-users] Outer VLAN stripping X710 NIC
       [not found] <CAPP7y6whcx3NCS3CBeLimYrx6s8bJ5O8ZOPsmATWqSi5k6UAVw@mail.gmail.com>
@ 2019-03-12 12:50 ` Iain Barker
  0 siblings, 0 replies; 2+ messages in thread
From: Iain Barker @ 2019-03-12 12:50 UTC (permalink / raw)
  To: Tomáš Jánský, users

I posted my observations on the same issue a year or so ago...
See my follow-ups on this thread for a patch to work around the problem:

http://mails.dpdk.org/archives/users/2017-October/002530.html

Note that the patch has real-time overhead so was rejected.
But we are using it to good effect in our production systems.

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

end of thread, other threads:[~2019-03-12 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22  7:59 [dpdk-users] Outer VLAN stripping X710 NIC Tomáš Jánský
     [not found] <CAPP7y6whcx3NCS3CBeLimYrx6s8bJ5O8ZOPsmATWqSi5k6UAVw@mail.gmail.com>
2019-03-12 12:50 ` Iain Barker

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