Skip to content

Add suppport for sync of hw addresses to multiple devices.

Vlad Yasevich netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Commit abstract corrections.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() apiinclude/linux/netdevice.h net/core/dev_addr_lists.c+171 -420 replies
2/2team: Use new sync_multiple api to sync devices adressess.drivers/net/team/team.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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