linux/drivers/net/ethernet/intel/fm10k
Ngai-Mint Kwan 2f3fc1e620 fm10k: request reset when mbx->state changes
Multiple IES API resets can cause a race condition where the mailbox
interrupt request bits can be cleared before being handled. This can
leave certain mailbox messages from the PF to be untreated and the PF
will enter in some inactive state. If this situation occurs, the IES API
will initiate a mailbox version reset which, then, trigger a mailbox
state change. Once this mailbox transition occurs (from OPEN to CONNECT
state), a request for reset will be returned.

This ensures that PF will undergo a reset whenever IES API encounters an
unknown global mailbox interrupt event or whenever the IES API
terminates.

Signed-off-by: Ngai-Mint Kwan <ngai-mint.kwan@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-01-08 01:33:43 -08:00
..
fm10k_common.c fm10k-shared: use mac-> instead of hw->mac. 2017-01-08 01:22:57 -08:00
fm10k_common.h fm10k: prefer READ_ONCE instead of ACCESS_ONCE 2016-08-29 01:31:03 -07:00
fm10k_dcbnl.c
fm10k_debugfs.c
fm10k_ethtool.c fm10k: remove extraneous variable definition in fm10k_ethtool.c 2017-01-08 01:31:46 -08:00
fm10k_iov.c net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
fm10k_main.c fm10k: wrap long line for alloc_workqueue 2016-10-02 23:17:38 -07:00
fm10k_mbx.c fm10k: request reset when mbx->state changes 2017-01-08 01:33:43 -08:00
fm10k_mbx.h fm10k: Reset mailbox global interrupts 2016-07-20 15:22:10 -07:00
fm10k_netdev.c ethernet/intel: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
fm10k_pci.c fm10k: request reset when mbx->state changes 2017-01-08 01:33:43 -08:00
fm10k_pf.c fm10k: don't re-map queues when a mailbox message suffices 2016-08-29 01:31:03 -07:00
fm10k_pf.h
fm10k_tlv.c
fm10k_tlv.h
fm10k_type.h fm10k: add support for Rx offloads on one Geneve tunnel 2016-08-29 01:31:03 -07:00
fm10k_vf.c fm10k: don't stop reset due to FM10K_ERR_REQUESTS_PENDING 2016-07-20 15:22:11 -07:00
fm10k_vf.h
fm10k.h net: Update API for VF vlan protocol 802.1ad support 2016-09-24 08:01:26 -04:00
Makefile