DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] [dpdk-18.05] DPDK didn't add VLAN tags when use mbuf->ol_flags |= PKT_TX_VLAN_PKT; 
@ 2020-09-16 10:05 Wu, Jianyue (NSB - CN/Hangzhou)
  0 siblings, 0 replies; only message in thread
From: Wu, Jianyue (NSB - CN/Hangzhou) @ 2020-09-16 10:05 UTC (permalink / raw)
  To: users

Hi,

Is there anyone know this issue, that DPDK didn't add VLAN tags, I confirmed PKT_TX_VLAN_PKT is set before rte_eth_tx_burst. Could you help give a hand about this issue? Thanks indeed:)

Background:
Simplified traffic flow is like this: Sender XEON X552 eth1 vf 0 -> Receiver XEON X552 eth1 vf 0.
Our requirement is to configure DPDK to support one VLAN ID, and with multiple priorities 0~7.

Current configuration is:
VLAN offload:
                  vlan_offload = rte_eth_dev_get_vlan_offload(port_id);
  vlan_offload &= ~ETH_VLAN_STRIP_OFFLOAD;
  vlan_offload &= ~ETH_VLAN_FILTER_OFFLOAD;
  vlan_offload &= ~ETH_VLAN_EXTEND_OFFLOAD;
  if (0 != rte_eth_dev_set_vlan_offload(port_id, vlan_offload))
Spoof off, trust on:
          vf 0 MAC 02:40:43:80:01:39, spoof checking off, link-state auto, trust on, query_rss off

Test scenarios:
Send packet from XEON A X552 to XEON B X552, capture packet in XEON A X552, seems no VLAN tag seem.
Did I miss something in my configuration?

Thanks indeed in advance!

Best Regards,
Dave(Jianyue)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 10:05 [dpdk-users] [dpdk-18.05] DPDK didn't add VLAN tags when use mbuf->ol_flags |= PKT_TX_VLAN_PKT; Wu, Jianyue (NSB - CN/Hangzhou)

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 \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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