Skip to content

ice: preventing VLAN configuration in switchdev

Michal Swiatkowski intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ice: don't set VF VLAN caps in switchdevdrivers/net/ethernet/intel/ice/ice_virtchnl.c+50 -271 reply
2/2ice: remove VLAN representor specific opsdrivers/net/ethernet/intel/ice/ice_virtchnl.c+4 -401 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchSandeep Penigalapati
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH net-next 0/2] ice: preventing VLAN configuration in switchdev

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(-)
Signature · 1 line
2.31.1