]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: combine some stats into a union to allow for Tx/Rx stats overlap
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Nov 2010 03:26:50 +0000 (19:26 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:26:50 +0000 (19:26 -0800)
commit5b7da51547cc3ab5461e45a8ee0ca73051416fda
treebb50d8e80412310a4adec5765f53d94909ac6f30
parentb6ec895ecd32c0070c3b2b17918c030275cd834d
ixgbe: combine some stats into a union to allow for Tx/Rx stats overlap

This change moved some of the RX and TX stats into separate structures and
them placed those structures in a union in order to help reduce the size of
the ring structure.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c