DPDK usage discussions
 help / color / mirror / 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, other threads:[~2020-09-16 10:06 UTC | newest]

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)

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