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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2011 05:56:37 +0000 (22:56 -0700)
commitff886dfce2bdacbe71583ec973cec117973d8859
treeea48f94008d8ef554f709962b7f0b7fcee860c3b
parentbd19805803a954415ec36a559fd3b8a0a3647d7c
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>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c