datapath: Use "struct rtnl_link_stats64" instead of "struct odp_vport_stats".
authorBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 21:48:57 +0000 (13:48 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 21:48:57 +0000 (13:48 -0800)
commitec61a01cd8ed73b13ffe042ddff4baf41f6b63e7
tree2d61330480404956d3a6110bb79ba1d506d9d7a5
parent55b663b616c8e364bf49b945687c1c4fe4dd3cae
datapath: Use "struct rtnl_link_stats64" instead of "struct odp_vport_stats".

Linux 2.6.35 added struct rtnl_link_stats64, which as a set of 64-bit
network device counters is what the OVS datapath needs.  We might as well
use it instead of our own.

This commit moves the if_link.h compat header from datapath/ into the
top-level include/ directory so that it is visible both to kernel and
userspace code.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/if_link.h [deleted file]
datapath/vport-internal_dev.c
datapath/vport-netdev.c
datapath/vport-netdev.h
datapath/vport.c
datapath/vport.h
include/linux/if_link.h [new file with mode: 0644]
include/openvswitch/datapath-protocol.h
lib/netdev-vport.c