ixgbe: Fix MDD events generated when FCoE+SRIOV are enabled
authorNeerav Parikh <neerav.parikh@intel.com>
Wed, 9 Dec 2015 06:13:58 +0000 (22:13 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Jan 2016 12:15:00 +0000 (04:15 -0800)
commit8b75451be1fc05b6ee3f9d0eaea0006d60caff89
treea47690ba12b6f60b6600b7ad7dda8a15e6473787
parentb262a9a772eae649159fd2480992713a2dd2b3d3
ixgbe: Fix MDD events generated when FCoE+SRIOV are enabled

When FCoE is enabled with SR-IOV on the X550 NIC the hardware
generates MDD events.

This patch fixes these by setting the expected values in the
Tx context descriptors for FCoE/FIP frames and adding a flush
after writing the RDLEN register.

Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h