Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 95ba3f7 ] When VF adds VLAN, Linux PF driver enables VLAN stripping by default, this might have issues if the app configured DEV_RX_OFFLOAD_VLAN_STRIP. This behavior of the Linux driver causes confusion with the DPDK app using i40e_pmd. So it is better to reconfigure the vlan_offload, which checks for DEV_RX_OFFLOAD_VLAN_STRIP flag in the dev_conf and enables or disables the vlan strip in the PF. Application cannot use rte_eth_dev_set_vlan_offload() to set the VLAN_STRIP, as this will only work for the first time when original and current config mismatch, but for all subsequent call it will be ignored. Fixes: 4861cde ("i40e: new poll mode driver") Signed-off-by: Souvik Dey <sodey@rbbn.com> Acked-by: Jeff Guo <jia.guo@intel.com>
- Loading branch information