2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/net/ethernet/intel
Alexander Duyck b2db497eb2 ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE
This patch makes it so that we identify FCoE rings earlier than
ixgbe_set_rx_buffer_len.  Instead we identify the Rx FCoE rings at
allocation time in ixgbe_alloc_q_vector.

The motivation behind this change is to avoid memory corruption when FCoE
is enabled.  Without this change we were initializing the rings at 0, and
2K on systems with 4K pages, then when we bumped the buffer size to 4K with
order 1 pages we were accessing offsets 2K and 6K instead of 0 and 4K.
This was resulting in memory corruptions.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Yi Zou <yi.zou@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-04-17 15:43:02 -07:00
..
e1000 intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
e1000e e1000e: issues in Sx on 82577/8/9 2012-04-14 01:45:54 -07:00
igb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
igbvf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgbe ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE 2012-04-17 15:43:02 -07:00
ixgbevf intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
e100.c e100: Show short v/s long rx length errors in ethtool stats. 2012-03-02 18:09:27 -08:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00