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>, bridge@lists.linux-foundation.org
Subject: [RFC PATCH net-next 0/3] Allow bridge to function in non-promisc mode
Date: Wed,  6 Mar 2013 21:31:22 -0500	[thread overview]
Message-ID: <1362623485-18209-1-git-send-email-vyasevic@redhat.com> (raw)

This is a first stab at the series that allows bridge to function
in non-promiscuouse mode.

The series adds a sysfs control to turn off promiscusouse mode all on ports of
the bridge.  To handle multicast, we turn on IFF_ALLMULTI for now.  Eventually
we would deal with multicast addresses.

The second patch adds an ability to designate an uplink port on the bridge.

Finally, we add an ability to add hw address to the bridge and sync those
addresses to the uplink ports.

In this way a bridge could be programmed with appropriate mac addresses and
could function in non-promiscuouse mode.

All comments are welcome.

Vlad Yasevich (3):
  bridge: Add mac_management sysfs interface
  bridge: Allow an ability to designate an uplink port
  bridge: Implement IFF_UNICAST_FLT

 include/uapi/linux/if_link.h |    1 +
 net/bridge/br_device.c       |   51 +++++++++++++++++++++++++++++++++++++++++-
 net/bridge/br_fdb.c          |    6 +++++
 net/bridge/br_if.c           |   38 +++++++++++++++++++++++++++----
 net/bridge/br_netlink.c      |    6 +++++
 net/bridge/br_private.h      |    6 +++++
 net/bridge/br_sysfs_br.c     |   17 ++++++++++++++
 net/bridge/br_sysfs_if.c     |   13 ++++++++++
 8 files changed, 132 insertions(+), 6 deletions(-)

-- 
1.7.7.6

             reply	other threads:[~2013-03-07  2:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07  2:31 Vlad Yasevich [this message]
2013-03-07  2:31 ` [RFC PATCH net-next 1/3] bridge: Add mac_management sysfs interface Vlad Yasevich
2013-03-07  2:35   ` Vlad Yasevich
2013-03-07  2:31 ` [RFC PATCH net-next 2/3] bridge: Allow an ability to designate an uplink port Vlad Yasevich
2013-03-07  2:31 ` [RFC PATCH net-next 3/3] bridge: Implement IFF_UNICAST_FLT Vlad Yasevich
2013-03-07  3:10   ` John Fastabend
2013-03-07 15:08     ` Vlad Yasevich
2013-03-07  7:19 ` [RFC PATCH net-next 0/3] Allow bridge to function in non-promisc mode Stephen Hemminger
2013-03-07 15:35   ` Vlad Yasevich
2013-03-07 17:13     ` Stephen Hemminger
2013-03-07 17:21       ` Vlad Yasevich
2013-03-07 17:38       ` Vlad Yasevich

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=1362623485-18209-1-git-send-email-vyasevic@redhat.com \
    --to=vyasevic@redhat.com \
    --cc=bridge@lists.linux-foundation.org \
    --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).