All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next RFC 0/5] Add NTF_EXT_AGED to control FDB ageing in SW or HW
@ 2015-02-20  7:09 sfeldma
  2015-02-20  7:09 ` [PATCH net-next RFC 1/5] neighbour: add external aged flag sfeldma
                   ` (6 more replies)
  0 siblings, 7 replies; 30+ messages in thread
From: sfeldma @ 2015-02-20  7:09 UTC (permalink / raw)
  To: netdev, jiri, roopa, linux, f.fainelli, andrew, gospo, vbandaru,
	siva.mannem.lnx

From: Scott Feldman <sfeldma@gmail.com>

Add a new NTF_EXT_FLAG to mark an FDB as externally aged, for example by
offload hardware.   Switchdev driver/devices can set this flag when learning a
new FDB entry and SW (the bridge driver) will skip this entry when running its
ageing task.  If flag is set, the driver/device is responsible for calling
call_netdev_switch_notifiers(NETDEV_SWITCH_FDB_DEL, ...) when entry expires.

This give the flexibility for driver/device to decide ageing policy based on
its capabilities.  For devices managing many FDB entries, it is desireable for
the device to aged out its own entries.  Devices not capable of aged entries
can rely of SW to age out the entries.

Scott Feldman (5):
  neighbour: add external aged flag
  switchdev: add ntf_flags to FDB notifier
  bridge: call external learn add if adding FDB entry with
    NTF_EXT_LEARNED set
  bridge: let HW control FDB ageing by setting NTF_EXT_AGED
  rocker: explicitly set SW ageing for rocker

 drivers/net/ethernet/rocker/rocker.c |    9 +++++----
 include/net/switchdev.h              |    1 +
 include/uapi/linux/neighbour.h       |    1 +
 net/bridge/br.c                      |   18 ++++++++++--------
 net/bridge/br_fdb.c                  |   16 +++++++++++++---
 net/bridge/br_private.h              |    8 +++++---
 6 files changed, 35 insertions(+), 18 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2015-02-25 20:03 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-20  7:09 [PATCH net-next RFC 0/5] Add NTF_EXT_AGED to control FDB ageing in SW or HW sfeldma
2015-02-20  7:09 ` [PATCH net-next RFC 1/5] neighbour: add external aged flag sfeldma
2015-02-20  7:09 ` [PATCH net-next RFC 2/5] switchdev: add ntf_flags to FDB notifier sfeldma
2015-02-20  7:09 ` [PATCH net-next RFC 3/5] bridge: call external learn add if adding FDB entry with NTF_EXT_LEARNED set sfeldma
2015-02-20  7:09 ` [PATCH net-next RFC 4/5] bridge: let HW control FDB ageing by setting NTF_EXT_AGED sfeldma
2015-02-20 17:31   ` David Miller
2015-02-20  7:09 ` [PATCH net-next RFC 5/5] rocker: explicitly set SW ageing for rocker sfeldma
2015-02-20  9:46   ` Jiri Pirko
2015-02-20 14:56     ` Scott Feldman
2015-02-20 17:29 ` [PATCH net-next RFC 0/5] Add NTF_EXT_AGED to control FDB ageing in SW or HW roopa
2015-02-20 19:13   ` Florian Fainelli
2015-02-20 19:45     ` Guenter Roeck
2015-02-21  0:20     ` Viswanath Bandaru
2015-02-21  0:39       ` Guenter Roeck
2015-02-21 18:29       ` roopa
     [not found]         ` <CAE4R7bAPS1GZKaC4M6x9cqfTOkVju1+Po4KzanfSniEFX9oi1w@mail.gmail.com>
2015-02-25 14:31           ` Andrew Lunn
2015-02-25 16:43             ` Guenter Roeck
2015-02-25 17:31               ` B Viswanath
2015-02-25 18:39                 ` Guenter Roeck
2015-02-25 18:51                   ` B Viswanath
2015-02-25 19:15                     ` Guenter Roeck
2015-02-25 19:33                       ` B Viswanath
2015-02-25 20:03                         ` Guenter Roeck
2015-02-25 17:29             ` David Miller
2015-02-21 11:03     ` Jiri Pirko
2015-02-21 11:29       ` Viswanath Bandaru
2015-02-21 15:50         ` Jiri Pirko
2015-02-21 17:20           ` Viswanath Bandaru
2015-02-21 18:31           ` roopa
2015-02-21  1:23 ` Siva Mannem

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.