netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC flow-net-next 00/10] Flow Table API Cache Enhancements
@ 2014-12-29  2:15 Simon Horman
  2014-12-29  2:15 ` [PATCH/RFC flow-net-next 01/10] net: flow: Correct spelling of action Simon Horman
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Simon Horman @ 2014-12-29  2:15 UTC (permalink / raw)
  To: John Fastabend, netdev; +Cc: Simon Horman

Hi John, Hi All,

the purpose of this patch-set is to propose enhancements to the flow table
API which you have been working on.  The enhancements focus on optional
support for tables which act as caches, where a cache is defined to be a
table that may remove entries other than via an explicit remove-flow API
call.

I will be up-front and say that many of the ideas implemented here have
been inspired by OpenFlow: something that I am familiar with.

A possible user of flow timeouts and counters, is Open vSwitch: it does not
currently make use of the Flow Table API but it treats its datapath as a
typically manages the cached by removing flows based on statistics
indicating the idleness of flows.

That said, I am not attempting to make the Flow Table API OpenFlow or Open
vSwitch specific. I have attempted to make all the enhancements optional,
so that they may only be used in software and hardware scenarios where they
make sense.

Thus far I have only prototyped the netlink API side of these enhancements
and compile tested them.

This series is based on John Fastabend's flow-net-next tree
https://github.com/jrfastab/flow-net-next


Simon Horman (10):
  net: flow: Correct spelling of action
  net: flow: Add features to tables
  net: flow: Add timeouts to flows
  net: flow: Add counters to flows
  net: flow: Add get, set and del notifier commands
  net: flow: Add flow removed notification
  net: flow: Add importance to flows
  net: flow: Add get and set table config commands
  net: flow: Add eviction flags to table configuration
  net: flow: Add flow removed notification for eviction

 include/linux/if_flow.h      |   3 +
 include/linux/netdevice.h    |  10 +
 include/uapi/linux/if_flow.h | 232 +++++++++++++++++-
 net/core/flow_table.c        | 561 ++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 798 insertions(+), 8 deletions(-)

-- 
2.1.3

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

end of thread, other threads:[~2015-01-05  2:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-29  2:15 [PATCH/RFC flow-net-next 00/10] Flow Table API Cache Enhancements Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 01/10] net: flow: Correct spelling of action Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 02/10] net: flow: Add features to tables Simon Horman
2014-12-29 23:03   ` Cong Wang
2015-01-05  2:18     ` Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 03/10] net: flow: Add timeouts to flows Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 04/10] net: flow: Add counters " Simon Horman
2014-12-29  7:31   ` Arad, Ronen
2015-01-05  2:10     ` Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 05/10] net: flow: Add get, set and del notifier commands Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 06/10] net: flow: Add flow removed notification Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 07/10] net: flow: Add importance to flows Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 08/10] net: flow: Add get and set table config commands Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 09/10] net: flow: Add eviction flags to table configuration Simon Horman
2014-12-29  2:15 ` [PATCH/RFC flow-net-next 10/10] net: flow: Add flow removed notification for eviction Simon Horman

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