iavf: clean up procedure for changing interface's MAC address
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesIn review
- v32 patches 0 repliesSuperseded
- v22 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 1 reply | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iavf: add check for current MAC address in set_mac callbackdrivers/ | +6 | 1 reply | |
| 2/2 | iavf: fix err handling for MAC replacedrivers/ | +19 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Michal Swiatkowski | Rafal Romanowski |
|---|---|---|
| 1/2 | R-b | T-b |
| 2/2 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [PATCH iwl-next v4 0/2] iavf: clean up procedure for changing interface's MAC address
This patchset cleans .ndo_set_mac_address callback up in iavf.
The second patch addresses potential issue with iavf_add_filter function failing to add a new MAC filter to the list. However, it does make an assumption that the new MAC address is different than the current one. The first patch protects from this issue by skipping the entire procedure if the MAC address doesn't actually change.
Without these two patches iavf is sending two AdminQ commands to PF driver:VIRTCHNL_OP_ADD_ETH_ADDR to add new MAC filter and VIRTCHNL_OP_DEL_ETH_ADDR to remove the old one. Even though it does not seem to cause issues, it is very error prone. Skipping these callbacks is more reliable.
v2: added missing Signed-off-by and comma in second patch
v3: fixed malformed second patch
v4: fixes misspelling "cleanup" -> "clean up"
Piotr Gardocki (1):
iavf: add check for current MAC address in set_mac callback
Przemek Kitszel (1):
iavf: fix err handling for MAC replace
drivers/net/ethernet/intel/iavf/iavf_main.c | 48 +++++++++++---------- 1 file changed, 25 insertions(+), 23 deletions(-)
Signature · 6 lines
2.34.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan