Skip to content

ice: Fixes for double vlan promiscuous mode

Grzegorz Siwik intel-wired-lan 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 5 repliesIn review
  2. v44 patches 1 replySuperseded
  3. v34 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches3 repliesSuperseded
v13 patches7 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ice: Fix double VLAN error when entering promisc modedrivers/net/ethernet/intel/ice/ice_switch.c+7 -01 reply
2/4ice: Ignore EEXIST when setting promisc modedrivers/net/ethernet/intel/ice/ice_switch.c+1 -11 reply
3/4ice: Fix clearing of promisc mode with bridge over bonddrivers/net/ethernet/intel/ice/ice_lib.c drivers/net/ethernet/intel/ice/ice_main.c+17 -21 reply
4/4ice: Ignore error message when setting same promiscuous modedrivers/net/ethernet/intel/ice/ice_fltr.c+4 -41 reply

Reviews trailers per patch

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

PatchPetr OrosGurucharan
SeriesT-b
1/4T-b
2/4T-b
3/4T-b
4/4T-b

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

Read the v5 thread

Cover letter [Intel-wired-lan] [PATCH net v5 0/4] ice: Fixes for double vlan promiscuous mode

This series fixes known issues related to double vlan promiscuous mode. When at least two interfaces are bonded and a bridge is enabled on the bond, an error can occur when the bridge is removed and re-added. The reason for the error is because promiscuous mode was not fully cleared from the VLAN VSI in the hardware.
Ignore ERR_ALREADY_EXISTS error when setting promiscuous mode. This fix is needed because the driver could set promiscuous mode when it still has not cleared properly.
If the requested promiscuous mode setting already exists,
an -EEXIST error message would be printed.
This is incorrect because promiscuous mode is
either on/off and shouldn't print an error when the requested configuration is already set.
Avoid enabling or disabling vlan 0 when trying to set promiscuous vlan mode if double vlan mode is enabled. This fix is needed because the driver tries to add the vlan 0 filter twice (once for inner and once for outer) when double VLAN mode is enabled.

---
v2: Fixed error message when setting same promiscuous mode
---
v3: Fixed style issues, changed to return directly.
---
v4: Fixed problem with patch applying
---
v5: Fixed incorrect title patch issue
---
Benjamin Mikailenko (1):
ice: Ignore error message when setting same promiscuous mode

Grzegorz Siwik (3):
ice: Fix double VLAN error when entering promisc mode
ice: Ignore ERR_ALREADY_EXISTS when setting promisc mode
ice: Fix clearing of promisc mode with bridge over bond

 drivers/net/ethernet/intel/ice/ice_fltr.c   |  8 ++++----
 drivers/net/ethernet/intel/ice/ice_lib.c    |  6 +++++-
 drivers/net/ethernet/intel/ice/ice_main.c   | 13 ++++++++++++-
 drivers/net/ethernet/intel/ice/ice_switch.c |  9 ++++++++-
 4 files changed, 29 insertions(+), 7 deletions(-)
Signature · 6 lines
1.8.3.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan