I think you posted this in e1000-bugs as well and the issue is being addressed 
there.

Todd Fujinaka
Software Application Engineer
Data Center Group
Intel Corporation
todd.fujin...@intel.com

-----Original Message-----
From: Pratik M. <pvmpub...@gmail.com> 
Sent: Thursday, October 22, 2020 10:27 PM
To: e1000-devel@lists.sourceforge.net
Subject: [E1000-devel] i40evf: Doing a ethtool gro off seems to be setting VLAN 
stripping offload

Hi,
I am not sure if this is the correct mailer but I see an issue that seems to 
indicate a bug in i40evf behaviour or the VF-PF interaction. Kindly point me to 
the correct mechanism to report this.

Stock CentOS 7.5 VM on a VMWARE ESX 6.7U3 host w/ X710 w/ SR-IOV

I get these error messages in the VM
i40evf 0000:0b:00.0: PF returned error -4 (I40E_ERR_CONFIG) to our request
27

27 is VIRTCHNL_OP_ENABLE_VLAN_STRIPPING.

Turns out, this was happening when I was doing ethtool -K gro off. Should that 
be the case?

The ESX host PF driver (i40en) does not seem to allow VLAN HW stripping offload 
if the vswitch is in VST (VLAN configured in vswitch). And thus the error is 
justified, but I was not trying to change the VLAN offload setting, in the 
first place.

[root@c3 ~]# ethtool -i ens192
driver: i40evf
version: 3.0.1-k
firmware-version: N/A
expansion-rom-version:
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

[root@c3 ~]# modinfo i40evf
filename:
/lib/modules/3.10.0-862.el7.x86_64/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko.xz
version:        3.0.1-k
license:        GPL
description:    Intel(R) XL710 X710 Virtual Function Network Driver
author:         Intel Corporation, <linux.n...@intel.com>
retpoline:      Y
rhelversion:    7.5
srcversion:     6B2F33AFE8D8A61C2FCDCCC
alias:          pci:v00008086d00001889sv*sd*bc*sc*i*
alias:          pci:v00008086d000037CDsv*sd*bc*sc*i*
alias:          pci:v00008086d00001571sv*sd*bc*sc*i*
alias:          pci:v00008086d0000154Csv*sd*bc*sc*i*
depends:
intree:         Y
vermagic:       3.10.0-862.el7.x86_64 SMP mod_unload modversions
signer:         CentOS Linux kernel signing key
sig_key:        3A:F3:CE:8A:74:69:6E:F1:BD:0F:37:E5:52:62:7B:71:09:E3:2B:96
sig_hashalgo:   sha256

I opened bug#670 on sourceforge.

Thanks in advance
Pratik

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://forums.intel.com/s/topic/0TO0P00000018NbWAI/intel-ethernet


_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit 
https://forums.intel.com/s/topic/0TO0P00000018NbWAI/intel-ethernet

Reply via email to