netdev: Swap transmit and receive stats on internal ports.
authorJesse Gross <jesse@nicira.com>
Mon, 14 Sep 2009 21:12:23 +0000 (14:12 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 14 Sep 2009 21:12:23 +0000 (14:12 -0700)
commitfe6b0e03f63cb2f89afbee631479622439863721
tree775de3cb1393f3af55d51a00cd710dd35e7dab02
parentcb5087caddd187e71d5f32118d8d807c9c131725
netdev: Swap transmit and receive stats on internal ports.

Internal ports appear to have their transmit and receive stats swapped
because from the kernel's point of view these ports are acting like
the machine connected to the switch, not the switch itself.  This swaps
the stats for consistency with other ports.
lib/netdev-linux.c