linux_dsm_epyc7002/drivers/net/ixgbe
Milton Miller 3c945e5b37 ixgbe: prevent speculative processing of descriptors before ready
The PowerPC architecture does not require loads to independent bytes to be
ordered without adding an explicit barrier.

In ixgbe_clean_rx_irq we load the status bit then load the packet data.
With packet split disabled if these loads go out of order we get a
stale packet, but we will notice the bad sequence numbers and drop it.

The problem occurs with packet split enabled where the TCP/IP header and data
are in different descriptors. If the reads go out of order we may have data
that doesn't match the TCP/IP header. Since we use hardware checksumming this
bad data is never verified and it makes it all the way to the application.

This bug was found during stress testing and adding this barrier has been shown
to fix it.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-22 15:45:32 -08:00
..
ixgbe_82598.c ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata 2010-02-15 21:51:56 -08:00
ixgbe_82599.c ixgbe: Cleanup incorrect header comments 2010-02-15 21:49:48 -08:00
ixgbe_common.c net: use helpers to access uc list V2 2010-01-25 13:36:10 -08:00
ixgbe_common.h net: use helpers to access uc list V2 2010-01-25 13:36:10 -08:00
ixgbe_dcb_82598.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82598.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82599.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_82599.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb_nl.c ixgbe: if ixgbe_copy_dcb_cfg is going to fail learn about it early 2010-01-28 05:55:54 -08:00
ixgbe_dcb.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_dcb.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_ethtool.c ixgbe: Add support for the new ethtool n-tuple programming interface 2010-02-10 20:03:14 -08:00
ixgbe_fcoe.c ixgbe: Make descriptor ring allocations NUMA-aware 2010-02-03 19:48:35 -08:00
ixgbe_fcoe.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_main.c ixgbe: prevent speculative processing of descriptors before ready 2010-02-22 15:45:32 -08:00
ixgbe_mbx.c ixgbe: Mailbox header and code module 2010-01-10 13:34:24 -08:00
ixgbe_mbx.h ixgbe: Mailbox header and code module 2010-01-10 13:34:24 -08:00
ixgbe_phy.c ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_phy.h ixgbe: update copyright dates 2010-01-13 17:12:45 -08:00
ixgbe_sriov.c ixgbe: Improve reset coordination between the PF and the VF 2010-01-23 01:13:55 -08:00
ixgbe_sriov.h ixgbe: Improve reset coordination between the PF and the VF 2010-01-23 01:13:55 -08:00
ixgbe_type.h ixgbe: Add support for the new ethtool n-tuple programming interface 2010-02-10 20:03:14 -08:00
ixgbe.h ixgbe: Add support for the new ethtool n-tuple programming interface 2010-02-10 20:03:14 -08:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-01-23 00:31:06 -08:00