]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/ofproto-dpif.c
odp-util: Convert flow serialization parameters to a struct.
authorJesse Gross <jesse@nicira.com>
Tue, 16 Jun 2015 18:15:28 +0000 (11:15 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 18 Jun 2015 23:42:48 +0000 (16:42 -0700)
commit5262eea1b88b99b71decfe944aea85ce01166a09
tree6ee0ccc5399f942b996310e7dacd5a841d9989be
parentc4c7e593f5800e189f323de1bd92f9e29a097bee
odp-util: Convert flow serialization parameters to a struct.

Serializing between userspace flows and netlink attributes currently
requires several additional parameters besides the flows themselves.
This will continue to grow in the future as well. This converts
the function arguments to a parameters struct, which makes the code
easier to read and allowing irrelevant arguments to be omitted.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
lib/dpif-netdev.c
lib/odp-util.c
lib/odp-util.h
lib/tnl-ports.c
ofproto/ofproto-dpif-upcall.c
ofproto/ofproto-dpif.c
tests/test-odp.c