Add suppport for sync of hw addresses to multiple devices.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Commit abstract corrections.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() apiinclude/ net/ | +171 | 0 replies | |
| 2/2 | team: Use new sync_multiple api to sync devices adressess.drivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 0/2] Add suppport for sync of hw addresses to multiple devices.
Current dev_[uc|mc]_addr_sync() API currently correctly syncs the addresses to the first device. Any subsequent calls to sync will not do anything since the synched variable will be set. This variable is used as an optimization to skip over addresses that have been synched.
There are some devices (ex: team) that attempt to do the above. There is other work in progress that needs to above to work corretly.
The short series introduces dev_[uc|mc]_addr_synch_multiple() that allows multiple calls to sync to multiple different devices. Original API is left alone and still has the limitation.
Changes since v1:
- Commit abstract corrections.
Vlad Yasevich (2):
net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api
team: Use new sync_multiple api to sync devices adressess.
drivers/net/team/team.c | 4 +- include/linux/netdevice.h | 3 + net/core/dev_addr_lists.c | 210 ++++++++++++++++++++++++++++++++++++--------- 3 files changed, 173 insertions(+), 44 deletions(-)
Signature · 1 line
1.7.7.6