All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] [PATCH net-next v2 0/2] net: bridge: add per-port unknown multicast flood control
@ 2016-08-30 15:23 ` Nikolay Aleksandrov via Bridge
  0 siblings, 0 replies; 12+ messages in thread
From: Nikolay Aleksandrov @ 2016-08-30 15:23 UTC (permalink / raw)
  To: netdev; +Cc: Nikolay Aleksandrov, roopa, bridge, davem

Hi,
The first patch prepares the forwarding path by having the exact packet
type passed down so we can later filter based on it and the per-port
unknown mcast flood flag introduced in the second patch. It is similar to
how the per-port unknown unicast flood flag works.
Nice side-effects of patch 01 are the slight reduction of tests in the
fast-path and a few minor checkpatch fixes.

v2: make pkt_type an enum as per Stephen's comment

Thanks,
 Nik

Nikolay Aleksandrov (2):
  net: bridge: change unicast boolean to exact pkt_type
  net: bridge: add per-port multicast flood flag

 include/linux/if_bridge.h    |  3 ++-
 include/uapi/linux/if_link.h |  1 +
 net/bridge/br_device.c       |  8 ++++----
 net/bridge/br_forward.c      |  7 +++++--
 net/bridge/br_if.c           |  2 +-
 net/bridge/br_input.c        | 40 +++++++++++++++++++++++++---------------
 net/bridge/br_netlink.c      | 12 +++++++++---
 net/bridge/br_private.h      |  7 ++++++-
 net/bridge/br_sysfs_if.c     |  1 +
 9 files changed, 54 insertions(+), 27 deletions(-)

-- 
2.1.4


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

end of thread, other threads:[~2016-08-31 17:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 15:23 [Bridge] [PATCH net-next v2 0/2] net: bridge: add per-port unknown multicast flood control Nikolay Aleksandrov
2016-08-30 15:23 ` Nikolay Aleksandrov via Bridge
2016-08-30 15:23 ` [Bridge] [PATCH net-next v2 1/2] net: bridge: change unicast boolean to exact Nikolay Aleksandrov
2016-08-30 15:23   ` Nikolay Aleksandrov
2016-08-30 15:23 ` [Bridge] [PATCH net-next v2 2/2] net: bridge: add per-port multicast flood flag Nikolay Aleksandrov
2016-08-30 15:23   ` Nikolay Aleksandrov via Bridge
2016-08-31  1:37   ` [Bridge] " Linus Lüssing
2016-08-31  6:02     ` Nikolay Aleksandrov
2016-08-31  6:02       ` Nikolay Aleksandrov via Bridge
2016-08-31  6:14       ` [Bridge] " Nikolay Aleksandrov
2016-08-31  6:14         ` Nikolay Aleksandrov via Bridge
2016-08-31 17:28       ` [Bridge] " Linus Lüssing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.