OSDN Git Service

i40e/i40evf: support for VF VLAN tag stripping control
authorMariusz Stachura <mariusz.stachura@intel.com>
Tue, 18 Jul 2017 05:09:45 +0000 (22:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 27 Aug 2017 22:47:43 +0000 (15:47 -0700)
commit8774370d268f2f43d8487d230e0d4fa1647759b3
tree150b854a4db4680a17fd09124593386a4ea5b45e
parent8c9eb350aa7b66ab06f3e378dab3c7875a0bf83a
i40e/i40evf: support for VF VLAN tag stripping control

This patch gives VF capability to control VLAN tag stripping via
ethtool. As rx-vlan-offload was fixed before, now the VF is able to
change it using "ethtool --offload <IF> rxvlan on/off" settings.

Signed-off-by: Mariusz Stachura <mariusz.stachura@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40evf/i40evf.h
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
include/linux/avf/virtchnl.h