]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Pass staterr instead of re-reading status and error bits from descriptor
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 11 Jun 2011 01:45:13 +0000 (01:45 +0000)
committerJoe Jin <joe.jin@oracle.com>
Fri, 3 Feb 2012 01:20:44 +0000 (09:20 +0800)
commitdae848b0918dc2186ca35d4ec9c02dca2048ee97
tree2657d469de25db7e30c34897b78bb3b7f9beb8c9
parenta3a7799d34d8aeed973020311119f1cf1b3c249f
ixgbe: Pass staterr instead of re-reading status and error bits from descriptor

This change is meant to address possible race conditions from the status
and error bits on the RX descriptors being re-read by multiple functions in
the RX cleanup path.  To resolve this I have added code that will pass the
staterr value to those functions.

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>
(cherry picked from commit ff886dfce2bdacbe71583ec973cec117973d8859)

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