All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v14 0/5] openvswitch: Introduce 128-bit unique flow identifiers.
@ 2015-01-22  0:42 ` Joe Stringer
  0 siblings, 0 replies; 17+ messages in thread
From: Joe Stringer @ 2015-01-22  0:42 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel, dev, pshelar

This series extends the openvswitch datapath interface for flow commands to use
128-bit unique identifiers as an alternative to the netlink-formatted flow key.
This significantly reduces the cost of assembling messages between the kernel
and userspace, in particular improving Open vSwitch revalidation performance by
40% or more.

v14:
- Perform lookup using unmasked key in legacy case.
- Fix minor checkpatch.pl style violations.

v13:
- Embed sw_flow_id in sw_flow to save memory allocation in UFID case.
- Malloc unmasked key for id in non-UFID case.
- Fix bug where non-UFID case could double-serialize keys.

v12:
- Userspace patches fully merged into Open vSwitch master
- New minor refactor patches (2,3,4)
- Merge unmasked_key, ufid representation of flow identifier in sw_flow
- Improve memory allocation sizes when serializing ufid
- Handle corner case where a flow_new is requested with a flow that has an
  identical ufid as an existing flow, but a different flow key
- Limit UFID to between 1-16 octets inclusive.
- Add various helper functions to improve readibility

v11:
- Pushed most of the prerequisite patches for this series to OVS master.
- Split out openvswitch.h interface changes from datapath implementation
- Datapath implementation to be reviewed on net-next, separately

v10:
- New patch allowing datapath to serialize masked keys
- Simplify datapath interface by accepting UFID or flow_key, but not both
- Flows set up with UFID must be queried/deleted using UFID
- Reduce sw_flow memory usage for UFID
- Don't periodically rehash UFID table in linux datapath
- Remove kernel_only UFID in linux datapath

v9:
- No kernel changes

v8:
- Rename UID -> UFID
- Fix null dereference in datapath when paired with older userspace
- All patches are reviewed/acked except datapath changes.

v7:
- Remove OVS_DP_F_INDEX_BY_UID
- Rework datapath UID serialization for variable length UIDs

v6:
- Reduce netlink conversions for all datapaths
- Various bugfixes

v5:
- Various bugfixes
- Improve logging

v4:
- Datapath memory leak fixes
- Enable UID-based terse dumping and deleting by default
- Various fixes

RFCv3:
- Add datapath implementation

Joe Stringer (5):
  openvswitch: Refactor ovs_nla_fill_match().
  openvswitch: Refactor ovs_flow_tbl_insert().
  openvswitch: Use sw_flow_key_range for key ranges.
  genetlink: Add genlmsg_parse() helper function.
  openvswitch: Add support for unique flow IDs.

 Documentation/networking/openvswitch.txt |   13 ++
 include/net/genetlink.h                  |   17 +++
 include/uapi/linux/openvswitch.h         |   20 +++
 net/openvswitch/datapath.c               |  226 ++++++++++++++++++++----------
 net/openvswitch/flow.h                   |   28 +++-
 net/openvswitch/flow_netlink.c           |  102 +++++++++++++-
 net/openvswitch/flow_netlink.h           |   13 +-
 net/openvswitch/flow_table.c             |  226 +++++++++++++++++++++++-------
 net/openvswitch/flow_table.h             |    8 +-
 9 files changed, 519 insertions(+), 134 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2015-01-27  0:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-22  0:42 [PATCH net-next v14 0/5] openvswitch: Introduce 128-bit unique flow identifiers Joe Stringer
2015-01-22  0:42 ` Joe Stringer
2015-01-22  0:42 ` [PATCH net-next v14 1/5] openvswitch: Refactor ovs_nla_fill_match() Joe Stringer
2015-01-22  0:42   ` Joe Stringer
2015-01-22  1:16   ` Pravin Shelar
2015-01-22  0:42 ` [PATCH net-next v14 2/5] openvswitch: Refactor ovs_flow_tbl_insert() Joe Stringer
2015-01-22  0:42   ` Joe Stringer
2015-01-22  1:16   ` Pravin Shelar
2015-01-22  1:16     ` Pravin Shelar
2015-01-22  0:42 ` [PATCH net-next v14 3/5] openvswitch: Use sw_flow_key_range for key ranges Joe Stringer
2015-01-22  1:16   ` Pravin Shelar
2015-01-22  0:42 ` [PATCH net-next v14 4/5] genetlink: Add genlmsg_parse() helper function Joe Stringer
2015-01-22  1:16   ` Pravin Shelar
2015-01-22  0:42 ` [PATCH net-next v14 5/5] openvswitch: Add support for unique flow IDs Joe Stringer
2015-01-22  1:16   ` Pravin Shelar
2015-01-26 23:46 ` [PATCH net-next v14 0/5] openvswitch: Introduce 128-bit unique flow identifiers David Miller
2015-01-26 23:46   ` David Miller

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.