DPDK usage discussions
 help / color / Atom feed
From: "changchun.zhang@oracle.com" <changchun.zhang@oracle.com>
To: users@dpdk.org, cingular.alex@gmail.com
Subject: [dpdk-users] How does Intel I350 support RSS for double VLAN (QinQ)?
Date: Fri, 1 May 2020 21:20:30 +0000 (UTC)
Message-ID: <174fe8bd-4b66-7e6b-c45e-32326f9b2b4a@oracle.com> (raw)


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:

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


             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 21:20 changchun.zhang [this message]
2020-05-01 21:22 ` Alex Zhang

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174fe8bd-4b66-7e6b-c45e-32326f9b2b4a@oracle.com \
    --to=changchun.zhang@oracle.com \
    --cc=cingular.alex@gmail.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
	public-inbox-index users

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox