netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevic@redhat.com>
To: netdev@vger.kernel.org
Cc: Vlad Yasevich <vyasevic@redhat.com>
Subject: [PATCHv2 0/2] Add suppport for sync of hw addresses to multiple devices.
Date: Mon, 15 Apr 2013 15:54:24 -0400	[thread overview]
Message-ID: <1366055666-12916-1-git-send-email-vyasevic@redhat.com> (raw)

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

-- 
1.7.7.6

             reply	other threads:[~2013-04-15 19:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15 19:54 Vlad Yasevich [this message]
2013-04-15 19:54 ` [PATCHv2 1/2] net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api Vlad Yasevich
2013-04-15 19:54 ` [PATCHv2 2/2] team: Use new sync_multiple api to sync devices adressess Vlad Yasevich
2013-04-15 20:12 ` [PATCHv2 0/2] Add suppport for sync of hw addresses to multiple devices David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1366055666-12916-1-git-send-email-vyasevic@redhat.com \
    --to=vyasevic@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).