[dpdk-users] I40evf VLAN stripping disable

Dey, Souvik sodey at rbbn.com
Fri Jun 8 17:21:32 CEST 2018


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


More information about the users mailing list