datapath: Replace "struct odp_action" by Netlink attributes.
authorBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 18:40:58 +0000 (10:40 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 19:13:32 +0000 (11:13 -0800)
commitcdee00fd635d1e0f1eeb5d9c009daeb59abd4777
tree49ef94d30bcb995fa1070c3aa770a9a515b26b0a
parent7f8ca6459c37ede8faf13f730bcd4d9f05dfd13b
datapath: Replace "struct odp_action" by Netlink attributes.

In the medium term, we plan to migrate the datapath to use Netlink as its
communication channel.  In the short term, we need to be able to have
actions with 64-bit arguments but "struct odp_action" only has room for
48 bits.  So this patch shifts to variable-length arguments using Netlink
attributes, which starts in on the Netlink transition and makes 64-bit
arguments possible at the same time.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
23 files changed:
datapath/actions.c
datapath/actions.h
datapath/datapath.c
datapath/flow.c
datapath/flow.h
datapath/loop_counter.c
datapath/odp-compat.h
include/openvswitch/datapath-protocol.h
lib/dpif-linux.c
lib/dpif-netdev.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
lib/odp-util.c
lib/odp-util.h
lib/ofp-util.c
ofproto/in-band.c
ofproto/in-band.h
ofproto/ofproto-sflow.c
ofproto/ofproto.c
ofproto/ofproto.h
utilities/ovs-dpctl.c
vswitchd/bridge.c