aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-linux.h
AgeCommit message (Collapse)Author
2011-11-23vlandev: New library for working with Linux VLAN devices.Ben Pfaff
2011-09-30Remove a pair of unnecessary dependencies on datapath-protocol.h.Ben Pfaff
These headers don't really need datapath-protocol.h. connmgr.h indirectly used "struct nlattr" from that header, so add a forward declaration. (The next commit will remove use of struct nlattr entirely from that header, since it is not really appropriate.)
2011-09-15datapath: Always use generic stats for devices (vports)Pravin Shelar
Currently ovs is using device stats for Linux devices and count them itself in other situations. This leads to overlap with hardware stats, inconsistencies, etc. It's much better to just always count the packets flowing through the switch and let userspace do any merging that it wants. Following patch removes vport->get_stats() interface. vport-stat is changed to use new `struct ovs_vport_stat` rather than rtnl_link_stats64. Definitions of rtnl_link_stats64 is removed from OVS. dipf_port->stat is also removed as aggregate stats are only available at netdev layer. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
2011-08-28netdev-linux: Introduce netdev_linux_ethtool_set_flag().Justin Pettit
There will be a caller added soon.
2011-05-02netdev-linux: New functions for converting netdev stats formats.Ben Pfaff
An upcoming commit will introduce another function that needs to convert between rtnl_link_stats64 and netdev_stats, so it seemed best to just add functions to do the conversion.