]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commita72552994da0aaaf781930a289b6749109ae7d29
tree848d8927b3cc2c3880b872549c35e957701b1d3f
parent541cad32aae26b76df137b127022b6b0388980ce
i40e: don't allow changes to HW VLAN stripping on active port VLANs

BugLink: https://bugs.launchpad.net/bugs/1838700
[ Upstream commit bfb0ebed53857cfc57f11c63fa3689940d71c1c8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/intel/i40e/i40e_main.c