]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Add function for testing status bits in Rx descriptor
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 31 Jan 2012 02:59:39 +0000 (02:59 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:56:46 +0000 (22:56 +0800)
commitba06cb9c5f10507c9135011a52e6a895c39d46ac
treeb76af6bdf5e051558d6f76248cf16e4b862d2790
parent244b2ef2058979e86e2a86def7d0c3484f404a56
ixgbe: Add function for testing status bits in Rx descriptor

This change adds a small function for testing Rx status bits in the
descriptor.  The advantage to this is that we can avoid unnecessary
byte swaps on big endian systems.

(cherry picked from commit f56e0cb1fea6aa3caace1c1ddde3f847793dcf38)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c