DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How does Intel I350 support RSS for double VLAN (QinQ)?
@ 2020-05-01 21:20 changchun.zhang
  2020-05-01 21:22 ` Alex Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: changchun.zhang @ 2020-05-01 21:20 UTC (permalink / raw)
  To: users, cingular.alex

Hi,

Does anyone know how to support the RSS for receiving packets with 
double VLAN or QinQ vlan (0x88A8), for I350 NIC card?
In the I350 datasheet, it is mentioned:

7.4.5
A packet is defined as a VLAN/802.1q packet if its type field matches 
the VET.
Double VLAN Support
The I350 supports a mode where most of the received and sent packet have 
at least one VLAN tag in
addition to the regular tagging which might optionally be added. This 
mode is used for systems where
the switches add an additional tag containing switching information.
Note:
The only packets that may not have the additional VLAN are local packets 
that will not have
any VLAN tag.
This mode is activated by setting CTRL_EXT.EXT_VLAN bit. The default 
value of this bit is set according
to the EXT_VLAN (bit 1) in the Initialization Control 3 EEPROM word for 
ports 0 to 3. See Section 6.2.26
for more information.
The type of the VLAN tag used for the additional VLAN is defined in the 
VET.VET_EXT field.

Based on above, I can use the
rte_eth_dev_set_vlan_offload(port_id, ETH_VLAN_EXTEND_OFFLOAD)
and
rte_eth_dev_set_vlan_ether_type(port_id, ETH_VLAN_TYPE_OUTER, 0x88A8)
to set the vlan extend offload and the corresponding eth type successfully.

But the RSS still does not work for QinQ traffic.

Can anyone have some input?

Thanks,

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

end of thread, other threads:[~2020-05-04 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 21:20 [dpdk-users] How does Intel I350 support RSS for double VLAN (QinQ)? changchun.zhang
2020-05-01 21:22 ` Alex Zhang

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