[Intel-wired-lan] [next PATCH S96 2/9] i40evf: Don't enable vlan stripping when rx offload is turned on

Bowers, AndrewX andrewx.bowers at intel.com
Wed Aug 29 18:13:23 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Tuesday, August 28, 2018 10:16 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S96 2/9] i40evf: Don't enable vlan
> stripping when rx offload is turned on
> 
> From: Patryk Małek <patryk.malek at intel.com>
> 
> With current implementation of i40evf_set_features when user sets any
> offload via ethtool we set I40EVF_FLAG_AQ_ENABLE_VLAN_STRIPPING
> as a required aq which triggers driver to call i40evf_enable_vlan_stripping.
> This shouldn't take place.
> This patches fixes it by setting the flag only when vlan offload is turned on.
> 
> Signed-off-by: Patryk Małek <patryk.malek at intel.com>
> ---
>  drivers/net/ethernet/intel/i40evf/i40evf_main.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list