DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] I40evf VLAN stripping disable
@ 2018-06-08 15:21 Dey, Souvik
  2018-06-11  7:57 ` Xing, Beilei
  0 siblings, 1 reply; 4+ messages in thread
From: Dey, Souvik @ 2018-06-08 15:21 UTC (permalink / raw)
  To: beilei.xing, jingjing.wu, dev; +Cc: users

Hi i40e/i40evf maintainers,

I was testing VLANs with i40evf pmd and is hitting the below issue.

I have the following configuration:
- host runs with Linux pf i40e driver(version 2.4.6)
- guest runs with DPDK 17.11.2 vf i40e driver
When I am sending a vlan packet from the outside to the guest, on the guest, I receive the packet which has the PKT_RX_VLAN_STRIPPED flag set although I'm not asking for it.
Even though my DPDK app has the rte_eth_conf.rxmode.hw_vlan_strip set to 0 and also verified that the i40evf_disable_vlan_strip(VIRTCHNL_OP_DISABLE_VLAN_STRIPPING) function is getting called and not returning any error from the linux pf driver.
Is this the default behavior that the VLAN will be always stripped by the PF irrespective of the setting ? Should the DPDK version take care of the re-adding the tag back to the packet in case hw_vlan_strip is disabled ? What should be best way of handling it ? Is it a bug in DPDK or I am missing something here.

I do see in the linux i40evf driver we are insert vlan header in the received packets in some cases.

--
Regards,
Souvik

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

end of thread, other threads:[~2018-06-12  6:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-08 15:21 [dpdk-dev] I40evf VLAN stripping disable Dey, Souvik
2018-06-11  7:57 ` Xing, Beilei
2018-06-11 16:26   ` Dey, Souvik
2018-06-12  6:25     ` Xing, Beilei

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