Skip to content

Managing the forwarding database(FDB)

John Fastabend netdev 4 versions – In review

Get series with b4
b4 am 20120415163905.14091.30491.stgit@jf-dev1-dcblab

Versions newest first · linked by author and title

  1. v4 Latest8 patches 10 repliesIn review
  2. v38 patches 3 repliesSuperseded
  3. v28 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches28 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net: add generic PF_BRIDGE:RTM_ FDB hooksinclude/linux/neighbour.h include/linux/netdevice.h include/linux/rtnetlink.h +5 more+228 -1120 replies
2/8net: addr_list: add exclusive dev_uc_add and dev_mc_addinclude/linux/netdevice.h net/core/dev_addr_lists.c+83 -160 replies
3/8net: add fdb generic dump routinenet/core/rtnetlink.c+84 -00 replies
4/8net: rtnetlink notify events for FDB NTF_SELF adds and deletesnet/core/rtnetlink.c+33 -20 replies
5/8ixgbe: enable FDB netdevice opsdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+71 -00 replies
6/8ixgbe: allow RAR table to be updated in promisc modedrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+11 -100 replies
7/8ixgbe: UTA table incorrectly programmeddrivers/net/ethernet/intel/ixgbe/ixgbe_main.c+0 -290 replies
8/8macvlan: add FDB bridge ops and macvlan flagsdrivers/net/macvlan.c include/linux/if_link.h include/linux/if_macvlan.h+71 -60 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [net-next PATCH v4 0/8] Managing the forwarding database(FDB)

The following series is a submission for net-next to allow embedded switches and other stacked devices other then the Linux bridge to manage a forwarding database.

Previously discussed here,

http://lists.openwall.net/netdev/2012/03/19/26

v4: propagate return codes correctly for ndo_dflt_Fdb_dump()

v3: resolve the macvlan patch 8/8 to fix a dev_set_promiscuity()
error and add the flags field to change and get link routines.

v2: addressed feedback from Ben Hutchings resolving a typo in the
multicast add/del routines and improving the error handling when both NTF_SELF and NTF_MASTER are set.

I've tested this with 'br' tool published by Stephen Hemminger soon to be renamed 'bridge' I believe and various traffic generators mostly pktgen, ping, and netperf.

Thanks for the feedback any comments welcome.
John

---

Greg Rose (1):
ixgbe: UTA table incorrectly programmed

John Fastabend (7):
macvlan: add FDB bridge ops and macvlan flags
ixgbe: allow RAR table to be updated in promisc mode
ixgbe: enable FDB netdevice ops
net: rtnetlink notify events for FDB NTF_SELF adds and deletes
net: add fdb generic dump routine
net: addr_list: add exclusive dev_uc_add and dev_mc_add
net: add generic PF_BRIDGE:RTM_ FDB hooks

 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  121 ++++++++---
 drivers/net/macvlan.c                         |   73 ++++++-
 include/linux/if_link.h                       |    3 
 include/linux/if_macvlan.h                    |    1 
 include/linux/neighbour.h                     |    3 
 include/linux/netdevice.h                     |   25 ++
 include/linux/rtnetlink.h                     |    4 
 net/bridge/br_device.c                        |    3 
 net/bridge/br_fdb.c                           |  128 +++---------
 net/bridge/br_netlink.c                       |   12 -
 net/bridge/br_private.h                       |   15 +
 net/core/dev_addr_lists.c                     |   97 ++++++++-
 net/core/rtnetlink.c                          |  267 +++++++++++++++++++++++++
 13 files changed, 579 insertions(+), 173 deletions(-)
Signature · 1 line
Signature