netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add suppport for sync of hw addresses to multiple devices.
@ 2013-04-15 19:09 Vlad Yasevich
  2013-04-15 19:09 ` [PATCH 1/2] net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api Vlad Yasevich
  2013-04-15 19:09 ` [PATCH 2/2] team: Use new sync_multiple api to sync devices adressess Vlad Yasevich
  0 siblings, 2 replies; 9+ messages in thread
From: Vlad Yasevich @ 2013-04-15 19:09 UTC (permalink / raw)
  To: netdev; +Cc: Vlad Yasevich

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.

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(-)

-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-04-15 19:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 19:09 [PATCH 0/2] Add suppport for sync of hw addresses to multiple devices Vlad Yasevich
2013-04-15 19:09 ` [PATCH 1/2] net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api Vlad Yasevich
2013-04-15 19:36   ` David Miller
2013-04-15 19:37     ` Vlad Yasevich
2013-04-15 19:44   ` David Miller
2013-04-15 19:48     ` Vlad Yasevich
2013-04-15 19:09 ` [PATCH 2/2] team: Use new sync_multiple api to sync devices adressess Vlad Yasevich
2013-04-15 19:45   ` David Miller
2013-04-15 19:49     ` Vlad Yasevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).