linux_dsm_epyc7002/drivers/net/ethernet/intel
Ross Lagerwall 96d1a73161 ixgbe: Fix race when the VF driver does a reset
When the VF driver does a reset, it (at least the Linux one) writes to
the VFCTRL register to issue a reset and then immediately sends a reset
message using the mailbox API. This is racy because when the PF driver
detects that the VFCTRL register reset pin has been asserted, it clears
the mailbox memory. Depending on ordering, the reset message sent by
the VF could be cleared by the PF driver. It then responds to the
cleared message with a NACK which causes the VF driver to malfunction.
Fix this by deferring clearing the mailbox memory until the reset
message is received.

Fixes: 939b701ad6 ("ixgbe: fix driver behaviour after issuing VFLR")
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-12-12 15:51:50 -08:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e pci-v4.20-changes 2018-10-25 06:50:48 -07:00
fm10k fm10k: bump driver version to match out-of-tree release 2018-10-31 10:49:15 -07:00
i40e i40e: DRY rx_ptype handling code 2018-12-12 15:46:02 -08:00
iavf drivers: net: remove <net/busy_poll.h> inclusion when not needed 2018-10-25 16:20:02 -07:00
ice ice: Change req_speeds to be u16 2018-11-07 09:37:28 -08:00
igb igb: fix uninitialized variables 2018-11-28 08:27:47 -08:00
igbvf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igc igc: Add watchdog 2018-10-17 13:58:47 -07:00
ixgb Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-25 10:35:29 -07:00
ixgbe ixgbe: Fix race when the VF driver does a reset 2018-12-12 15:51:50 -08:00
ixgbevf ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00