]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Fix race condition where RX buffer could become corrupted.
authorAtita Shirwaikar <atita.shirwaikar@intel.com>
Sat, 18 Feb 2012 02:58:58 +0000 (02:58 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:05:30 +0000 (23:05 +0800)
commitc3e4b23f0ec53bb2182f7c4a11bc3ff579dde329
treeabbc3fde76194aab1d4d82b753c92c52deb3ad8e
parente4b70730fe2edfc3e74b0f8c1967f724a7abc97a
ixgbe: Fix race condition where RX buffer could become corrupted.

There was a race condition in the reset path where the RX buffer
could become corrupted during Fdir configuration.This is due to
a HW bug.The fix right now is to lock the buffer while we do the
fdir configuration.Since we were using similar workaround for another bug,
I moved the existing code to a function and reused it.HW team also recommended
that IXGBE_MAX_SECRX_POLL value be changed from 30 to 40.The erratum for this
bug will be published in the next release 82599 Spec Update

(cherry picked from commit d2f5e7f3af777d52ce110ae60e8cb788bc93141c)
Signed-off-by: Atita Shirwaikar <atita.shirwaikar@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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_82599.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_common.h
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h
drivers/net/ixgbe/ixgbe_x540.c