datapath: Describe policy for extending flow key, implement needed changes.
authorBen Pfaff <blp@nicira.com>
Mon, 14 Nov 2011 23:56:43 +0000 (15:56 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 15 Nov 2011 00:52:51 +0000 (16:52 -0800)
commitfea393b1d6b2729a784b898dbdd48d30d42e3ff7
tree71c124a9fdd2a4d7536dc16a3dc357713d7316d8
parent34118caeded9c72aa259ab76b97148efda7bdc22
datapath: Describe policy for extending flow key, implement needed changes.

When the datapath was converted to use Netlink attributes for describing
flow keys, I had a vague idea of how it could be smoothly extensible, but
I didn't actually implement extensibility or carefully think it through.
This commit adds a document that describes how flow keys can be extended
in a compatible fashion and adapts the existing interface to match what
it says.

This commit doesn't actually implement extensibility.  I already have a
separate patch series out for that.  This patch series borrows from that
one heavily, but the extensibility series will need to be reworked
somewhat once this one is in.

This commit is only lightly tested because I don't have a good test setup
for VLANs.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/Modules.mk
datapath/README [new file with mode: 0644]
datapath/actions.c
datapath/datapath.c
datapath/flow.c
include/linux/openvswitch.h
lib/dpif-netdev.c
lib/odp-util.c
ofproto/ofproto-dpif.c
tests/odp.at
tests/ofproto-dpif.at