]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: don't allow changes to HW VLAN stripping on active port VLANs
authorNicholas Nunley <nicholas.d.nunley@intel.com>
Wed, 6 Feb 2019 23:08:17 +0000 (15:08 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Apr 2019 22:10:33 +0000 (15:10 -0700)
commit808fbc58a3c303e115de5bf5638c2f16fa54f132
tree564cb554049da7010df1ce288afb9be350e78dc6
parentf611fcae58a0bad8e093cb3baed8c9d6661df6ce
i40e: don't allow changes to HW VLAN stripping on active port VLANs

Modifying the VLAN stripping options when a port VLAN is configured
will break traffic for the VSI, and conceptually doesn't make sense,
so don't allow this.

Signed-off-by: Nicholas Nunley <nicholas.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c