netdev-linux: Add capability to get stats from vport layer.
authorJesse Gross <jesse@nicira.com>
Tue, 8 Jun 2010 02:20:28 +0000 (19:20 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 10 Jun 2010 21:30:51 +0000 (14:30 -0700)
commit7fbef77a30dc415e41b9803b5443ce4675149b19
treef0d5677ccefe31955fb0fba583bd767c79d9a0b5
parent4ea115b63fad4c6bd46c304fa00403a32a032d31
netdev-linux: Add capability to get stats from vport layer.

The vport layer has the ability to track stats using 64-bit counters,
even if the kernel is only 32-bit.  This first attempts to collect
stats from these counters if they are available and otherwise falls
back to the normal Linux interfaces.
lib/netdev-linux.c