exynos-linux-stable/drivers/net/ethernet/intel
Jacob Keller 52d0a601ae fm10k: ensure we process SM mbx when processing VF mbx
[ Upstream commit 17a91809942ca32c70026d2d5ba3348a2c4fdf8f ]

When we process VF mailboxes, the driver is likely going to also queue
up messages to the switch manager. This process merely queues up the
FIFO, but doesn't actually begin the transmission process. Because we
hold the mailbox lock during this VF processing, the PF<->SM mailbox is
not getting processed at this time. Ensure that we actually process the
PF<->SM mailbox in between each PF<->VF mailbox.

This should ensure prompt transmission of the messages queued up after
each VF message is received and handled.

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-25 14:23:45 +01:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-09 17:41:41 -04:00
e1000e e1000e: Avoid receiver overrun interrupt bursts 2017-11-30 08:39:10 +00:00
fm10k fm10k: ensure we process SM mbx when processing VF mbx 2017-12-25 14:23:45 +01:00
i40e i40e: Do not enable NAPI on q_vectors that have no rings 2017-12-25 14:23:41 +01:00
i40evf i40evf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
igb igb: check memory allocation failure 2017-12-25 14:23:44 +01:00
igbvf igbvf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe ixgbe: fix use of uninitialized padding 2017-12-25 14:23:44 +01:00
ixgbevf ixgbevf: Use smp_rmb rather than read_barrier_depends 2017-11-30 08:39:08 +00:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig ixgbe: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00