linux: Report supported user features to the kernel
authorThomas Graf <tgraf@redhat.com>
Thu, 19 Dec 2013 15:20:42 +0000 (16:20 +0100)
committerJesse Gross <jesse@nicira.com>
Fri, 20 Dec 2013 18:03:02 +0000 (10:03 -0800)
commitb7fd5e3841eba93f5209763de73124e7b0de8fa9
tree83a6b1295688e54bee0ae5ffd17a1915cd62889b
parent09daa5dfe6979894fe7e4962357b4260827f3cca
linux: Report supported user features to the kernel

Following commit (''netlink: Do not enforce alignment of last Netlink
attribute''), signal the ability to receive unaligned Netlink messages
to the datapath to enable utilization of zerocopy optimizations.

Opening a datapath is now done by issueing a OVS_DP_CMD_SET in order
to overwrite previously set user features.

Signed-off-by: Thomas Graf <tgraf@redhat.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
lib/dpif-linux.c