dpif: Support working around actions that a datapath does not support.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Oct 2013 00:28:05 +0000 (17:28 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 10 Oct 2013 00:28:05 +0000 (17:28 -0700)
commit7fd91025664b6ecbdca51427a2905a4f35ee3a16
tree2c0387c2591036c59fece7fd91347d643753fb18
parent04594cd5a80cff071f029d72e98385c9e69faeb0
dpif: Support working around actions that a datapath does not support.

Until now, OVS has expected that the datapath supports all the actions
required by any flow to be installed.  There are at least two reasons why
a datapath might not support a given action:

    - The datapath version is older than the userspace version, and the
      action was introduced after the version of the datapath in use.

    - The action is not considered important enough to implement as part of
      an ABI that must be maintained forever.

This commit adds infrastructure to handle these cases.  It doesn't actually
add any uses; that will come in an upcoming commit.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif.c
lib/dpif.h
lib/odp-util.c
lib/odp-util.h
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c