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)
commitbfb0ebed53857cfc57f11c63fa3689940d71c1c8
tree564cb554049da7010df1ce288afb9be350e78dc6
parentcdc594e00370e153c323cf8aa9c43b66679e09a0
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