]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: update all DESC_ADV macros to accept a ring pointer
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:40:31 +0000 (13:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:44:27 +0000 (16:44 -0700)
commit31f05a2d875327ef133ac4b62261c4b875d1d10c
tree9a43b360c95d8648466c2f38a496175bae384b55
parent9e10e045f8223e09f2c70cd6849ff86803d50c88
ixgbe: update all DESC_ADV macros to accept a ring pointer

All of the DESC_ADV macros are currently needing the pointers to be
de-referenced before accessing the ring.  Instead of having to add all of
the asterisks it is easier to just update the macro to expect a pointer to
the ring.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c