datapath: Convert ODP_VPORT_* to use AF_NETLINK socket layer.
authorBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 21:59:03 +0000 (13:59 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 23:34:27 +0000 (15:34 -0800)
commitf0fef76062d67bff94a3243a469f182dd6f503a1
treeea91c316a4e4583ae4b6c5b53822f5a0c4d310a6
parentaaff4b55a7992ac47a143abb6bffac5c931f073a
datapath: Convert ODP_VPORT_* to use AF_NETLINK socket layer.

This commit calls genl_lock() and thus doesn't support Linux before
2.6.35, which wasn't exported before that version.  That problem will
be fixed once the whole userspace interface transitions to Generic
Netlink a few commits from now.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/vport.c
include/openvswitch/datapath-protocol.h
lib/dpif-linux.c
lib/dpif-linux.h
lib/netdev-vport.c