On Tue, Mar 8, 2016 at 3:32 PM, Meganathan Raja
<meganathanr...@gmail.com> wrote:
> Hi All,
>
> We trying to disable VLAN filter on Intel Corporation 82599ES 10-Gigabit
> Ethernet controller using ethtool without modifying the driver code.
>
> We can able to disable successfully in the following OS and the ixgbe
> driver version.
>
> Red Hat Enterprise Linux Server release 7.1 (Maipo)
>
> Kernel : 3.10.0-229.20.1.el7.x86_64
>
> Ixgbe driver version : *4.0.1-k-rh7.1*
>
>
> [root@compute05 src]#ethtool -k enp9s0f0
>
> rx-vlan-offload: on
>
> tx-vlan-offload: on
>
> ntuple-filters: off
>
> receive-hashing: on
>
> highdma: on [fixed]
>
> *rx-vlan-filter: off*
>
> vlan-challenged: off [fixed]
>
>
>
> [root@compute05 src]#ethtool -K enp9s0f0 rx-vlan-filter off
>
>
>
>
>
> But we cant able to do the same on the new ixgbe driver version. We
> observed rx-vlan-filter as fixed.
>
> Red Hat Enterprise Linux Server release 7.1 (Maipo)
>
> Kernel : 3.10.0-229.20.1.el7.x86_64
>
> Ixgbe driver  version:    *    4.3.13*
>
>
>
> [root@compute05 src]#ethtool -k  enp9s0f0
>
> Features for enp9s0f0:
>
> rx-vlan-offload: on
>
> tx-vlan-offload: on
>
> ntuple-filters: off
>
> receive-hashing: on
>
> highdma: on [fixed]
>
> *rx-vlan-filter: on [fixed]*
>
> vlan-challenged: off [fixed]

Do you know if changing the flag previously had any effect?  I would
suspect the bug was the fact that it was listing itself as being able
to be toggled when the value of the flag was ignored.

I would be interested in seeing an ethregs dump for the old version
with the flag on and off in order to verify if the flag actually had
any effect.

> [root@compute05 src]# ethtool -K  enp9s0f0 rx-vlan-filter off
>
> *Could not change any device features*
>
>
>
> Any idea how to overcome this issue?

The in-kernel driver that is currently in net-next allows you to
enable VLAN promiscuous mode on the PF by just setting the promiscuous
flag.  With that you could make it so the PF could receive all VLANs
while the VFs were still being VLAN filtered.  This feature should
eventually be back-ported and will likely be available in some future
version of the out-of-tree ixgbe driver.  I can submit a patch that
will allow the functionality to also be enabled via the ethtool flag
and can have that submitted later today.

- Alex

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to