]> git.proxmox.com Git - ovs.git/commit
dpif: Refactor datapath feature detection.
authorJoe Stringer <joestringer@nicira.com>
Wed, 29 Oct 2014 21:00:14 +0000 (14:00 -0700)
committerJoe Stringer <joestringer@nicira.com>
Thu, 11 Dec 2014 23:35:16 +0000 (12:35 +1300)
commit2c85851f8ec2ac1c0ce60ab30981990f250d77da
tree2907c29234f65f1703f3de7fed1ee0f504edba0b
parentbff6067904172b6f5034437e97f89598dbf41529
dpif: Refactor datapath feature detection.

Various functions in ofproto-dpif and dpif-netlink detect support for
features in very similar ways. Refactor their common code to a single
function.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netlink.c
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif.c