]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: Allow turning off offloads when the VF has VLAN set
authorPaweł Jabłoński <pawel.jablonski@intel.com>
Wed, 27 Dec 2017 12:32:32 +0000 (07:32 -0500)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 21:23:04 +0000 (13:23 -0800)
commit7e5a40482aad8a7f0892bab520a80c4d43b8a9b0
treeff8f08f68942b4fc58491612555d3c734c6727cb
parent3436b7159f9e137bbc5d96b5cb4888a4c9ec37f9
i40evf: Allow turning off offloads when the VF has VLAN set

This patch adds back the capability to turn off offloads when VF has
VLAN set. The commit 5af9c5792feb ("i40evf: enable support for VF VLAN
tag stripping control") adds the i40evf_set_features function and
changes the 'turn off' flow for offloads. This patch adds that
capability back by moving checking the VLAN option for VF to the
next statement.

Signed-off-by: Paweł Jabłoński <pawel.jablonski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c