linux/drivers/net/ethernet/qlogic/qed
Mintz, Yuval d91940818d qed: Set HW-channel to ready before ACKing VF
When PF responds to the VF requests it also cleans the HW-channel
indication in firmware to allow further VF messages to arrive,
but the order currently applied is wrong -
The PF is copying by DMAE the response the VF is polling on for
completion, and only afterwards sets the HW-channel to ready state.

This creates a race condition where the VF would be able to send
an additional message to the PF before the channel would get ready
again, causing the firmware to consider the VF as malicious.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-21 19:02:36 -07:00
..
Makefile qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed.h qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_cxt.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
qed_cxt.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_dcbx.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_dcbx.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_debug.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_debug.h qed: Add support for debug data collection 2016-09-07 17:46:59 -07:00
qed_dev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
qed_dev_api.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_fcoe.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_fcoe.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hsi.h qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_hw.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_hw.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_init_fw_funcs.c qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_init_ops.c qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_init_ops.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_int.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_iscsi.c qed: Enable iSCSI Out-of-Order 2017-03-14 11:37:05 -07:00
qed_iscsi.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_l2.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_l2.h qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_ll2.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-03-15 11:59:10 -07:00
qed_ll2.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_main.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_mcp.c qed: Don't use attention PTT for configuring BW 2017-02-27 09:22:09 -05:00
qed_mcp.h qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_ooo.c qed: Correct out-of-bound access in OOO history 2017-03-14 11:37:05 -07:00
qed_ooo.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_ptp.c qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_ptp.h qed: Add infrastructure for PTP support 2017-02-15 12:42:52 -05:00
qed_reg_addr.h qed*: Add support for QL41xxx adapters 2017-03-14 11:43:30 -07:00
qed_roce.c qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_roce.h qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_selftest.c qed*: Update to dual-license 2017-01-01 21:02:14 -05:00
qed_selftest.h qed: Add nvram selftest 2016-10-31 15:52:35 -04:00
qed_sp.h qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_sp_commands.c qed: Add support for hardware offloaded FCoE. 2017-02-19 18:10:42 -05:00
qed_spq.c qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qed_sriov.c qed: Set HW-channel to ready before ACKing VF 2017-03-21 19:02:36 -07:00
qed_sriov.h qed: Fix race with multiple VFs 2017-02-27 09:22:09 -05:00
qed_vf.c qed: Increase verbosity of VF -> PF errors 2017-03-21 19:02:36 -07:00
qed_vf.h qed*: Update to dual-license 2017-01-01 21:02:14 -05:00