> -----Original Message----- > From: Ferruh Yigit <ferruh.yi...@intel.com> > Sent: Tuesday, January 5, 2021 12:43 AM > To: Guo, Jia <jia....@intel.com>; Souvik Dey <so...@rbbn.com>; Xing, > Beilei <beilei.x...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com> > Cc: dev@dpdk.org; Kevin Traynor <ktray...@redhat.com>; Luca Boccassi > <bl...@debian.org> > Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: issue with ADD VLAN from > Guest > > On 12/16/2020 2:09 AM, Guo, Jia wrote: > > Acked-by: Jeff Guo <jia....@intel.com<mailto:jia....@intel.com>> > > > > From: Souvik Dey <so...@rbbn.com> > > Sent: Tuesday, December 15, 2020 9:28 PM > > To: Xing, Beilei <beilei.x...@intel.com>; Guo, Jia > > <jia....@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com> > > Cc: dev@dpdk.org; Souvik Dey <so...@rbbn.com> > > Subject: [PATCH v3] net/i40e: issue with ADD VLAN from Guest > > > > Reset the configuration of vlan strip that would be change by the pf > > kernel driver when adding vlan from vf. > > 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. > > > > Signed-off-by: Souvik Dey <so...@rbbn.com<mailto:so...@rbbn.com>> > > I suggest title: "net/i40e: fix VLAN stripping in VF" > Will update the title and some wording in the commit log while merging. > > And I assume this should be backported, so will add sta...@dpdk.org tag, > but can you please confirm the Linux PF behavior was always same? > > And if the Linux PF behavior was always same, should we add the DPDK > commit as fixes commit, @Qi, @Jeff, what do you think? > > Other question is, does Linux PF and DPDK PF behave differently on enabling > VLAN stripping and should it be unified to be consistent?
Yes, it does have different behave when enabling VLAN stripping in DPDK PF and Linux PF, and not always the same in linux PFs, but this patch set could be an workaround in DPDK PF for the compatibility.