i40evf: properly handle VLAN features
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 1 Apr 2016 20:34:31 +0000 (13:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 03:27:26 +0000 (20:27 -0700)
commitba6cc7f6f194e3645368f87d951bedd7e3b75f39
tree56cd02272f18f36d9e9c7fda6c2cfac96c1a52c6
parent47c46778e1905721433a413b2522a8e2b3d6c354
i40evf: properly handle VLAN features

Correctly set the VLAN feature flags after setting the rest of the
netdev flags. And don't set them in hw_features, because these can't be
controlled by the VF driver.

Signed-off-by: Mitch Williams <mitch.a.williams@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