netdev: Abstract "features" interface away from OpenFlow 1.0.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Feb 2012 22:23:38 +0000 (14:23 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 7 Mar 2012 22:05:09 +0000 (14:05 -0800)
commit6c0386119d614d5e26ca08cc3d8e527806b87ef9
treeff134fefb9dfd21cb99408fbd9089085b86ef34d
parent7887679be26e75b897494580f280870d9a1fa318
netdev: Abstract "features" interface away from OpenFlow 1.0.

netdev_get_features() and other functions have always used OpenFlow 1.0
"enum ofp_port_features" bits as part of their interface.  This commit
switches over to using an internally defined interface that is not tied
directly to any OpenFlow version, making evolution of each side of the
interface easier in the future.

Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto-dpif-sflow.c
ofproto/ofproto.c
vswitchd/bridge.c