linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qed
Yuval Mintz 7eff82b0fc qed: Handle malicious VFs events
Malicious VFs might be caught in several different methods:
  - Misusing their bar permission and being blocked by hardware.
  - Misusing their fastpath logic and being blocked by firmware.
  - Misusing their interaction with their PF via hw-channel,
    and being blocked by PF driver.

On the first two items, firmware would indicate to driver that
the VF is to be considered malicious, but would sometime still
allow the VF to communicate with the PF [depending on the exact
nature of the malicious activity done by the VF].
The current existing logic on the PF side lacks handling of such events,
and might allow the PF to perform some incorrect configuration on behalf
of a VF that was previously indicated as malicious.

The new scheme is simple -
Once the PF determines a VF is malicious it would:
 a. Ignore any further requests on behalf of the VF-driver.
 b. Prevent any configurations initiated by the hyperuser for
    the malicious VF, as firmware isn't willing to serve such.

The malicious indication would be cleared upon the VF flr,
after which it would become usable once again.

Signed-off-by: Yuval Mintz <Yuval.Mintz@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-14 11:59:59 -04:00
..
Makefile qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_cxt.c qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_cxt.h qed: Add support for QP verbs 2016-10-03 23:22:47 -04:00
qed_dcbx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-09-12 15:52:44 -07:00
qed_dcbx.h qed: Add support for query/config dcbx. 2016-06-08 11:10:59 -07:00
qed_debug.c qed: Add support for debug data collection 2016-09-07 17:46:59 -07:00
qed_debug.h qed: Add support for debug data collection 2016-09-07 17:46:59 -07:00
qed_dev_api.h qed: Add Light L2 support 2016-10-03 23:22:46 -04:00
qed_dev.c qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_hsi.h qed: Add RoCE ll2 & GSI support 2016-10-03 23:22:47 -04:00
qed_hw.c qed: Remove OOM messages 2016-09-06 13:54:32 -07:00
qed_hw.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_init_fw_funcs.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_init_ops.c qed: Remove OOM messages 2016-09-06 13:54:32 -07:00
qed_init_ops.h
qed_int.c qed: Remove OOM messages 2016-09-06 13:54:32 -07:00
qed_int.h qed: Add support for coalescing config read/update. 2016-06-23 15:56:46 -04:00
qed_l2.c qed*: Allow unicast filtering 2016-10-14 11:59:58 -04:00
qed_l2.h qed: Prevent VFs from pause flooding 2016-08-22 18:24:52 -07:00
qed_ll2.c qed: Fix to use list_for_each_entry_safe() when delete items 2016-10-13 09:57:10 -04:00
qed_ll2.h qed: Add RoCE ll2 & GSI support 2016-10-03 23:22:47 -04:00
qed_main.c qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_mcp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-09-23 06:46:57 -04:00
qed_mcp.h qed: Add infrastructure for debug data collection 2016-09-06 14:24:02 -07:00
qed_reg_addr.h qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_roce.c qed: fix old-style function definition 2016-10-13 10:52:55 -04:00
qed_roce.h qed: Add RoCE ll2 & GSI support 2016-10-03 23:22:47 -04:00
qed_selftest.c qed: add missing header dependencies 2016-09-07 17:40:19 -07:00
qed_selftest.h qed: add infrastructure for device self tests. 2016-05-02 00:16:39 -04:00
qed_sp_commands.c qed*: Semantic changes 2016-08-15 13:34:52 -07:00
qed_sp.h qed: Add support for RoCE hw init 2016-10-03 23:22:46 -04:00
qed_spq.c qed: Allow chance for fast ramrod completions 2016-10-14 11:59:58 -04:00
qed_sriov.c qed: Handle malicious VFs events 2016-10-14 11:59:59 -04:00
qed_sriov.h qed: Handle malicious VFs events 2016-10-14 11:59:59 -04:00
qed_vf.c qed: Pass MAC hints to VFs 2016-10-14 11:59:57 -04:00
qed_vf.h qed: Handle malicious VFs events 2016-10-14 11:59:59 -04:00
qed.h qed: Add RoCE ll2 & GSI support 2016-10-03 23:22:47 -04:00