Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH net-next 0/2] ice: preventing VLAN configuration in switchdev
@ 2022-04-25  6:27 Michal Swiatkowski
  2022-04-25  6:27 ` [Intel-wired-lan] [PATCH net-next 1/2] ice: don't set VF VLAN caps " Michal Swiatkowski
  2022-04-25  6:27 ` [Intel-wired-lan] [PATCH net-next 2/2] ice: remove VLAN representor specific ops Michal Swiatkowski
  0 siblings, 2 replies; 5+ messages in thread
From: Michal Swiatkowski @ 2022-04-25  6:27 UTC (permalink / raw)
  To: intel-wired-lan

In switchdev for any VLAN configuration requested from VF PF should
answer with not supported error. Instead of adding custom ops for all
VLAN ops prevent setting VLAN VF caps.

Thanks for that ugly error from dmesg will be removed as VF should not
send VLAN configuration commands. If it sends any PF driver will
return not supported error because all VLAN opcodes are remove from
allowlist (only in switchdev mode).

Michal Swiatkowski (2):
  ice: don't set VF VLAN caps in switchdev
  ice: remove VLAN representor specific ops

 drivers/net/ethernet/intel/ice/ice_virtchnl.c | 121 ++++++++----------
 1 file changed, 54 insertions(+), 67 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-01  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-25  6:27 [Intel-wired-lan] [PATCH net-next 0/2] ice: preventing VLAN configuration in switchdev Michal Swiatkowski
2022-04-25  6:27 ` [Intel-wired-lan] [PATCH net-next 1/2] ice: don't set VF VLAN caps " Michal Swiatkowski
2022-06-01  6:36   ` Penigalapati, Sandeep
2022-04-25  6:27 ` [Intel-wired-lan] [PATCH net-next 2/2] ice: remove VLAN representor specific ops Michal Swiatkowski
2022-06-01  6:36   ` Penigalapati, Sandeep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox