aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2023-02-22 17:09:15 +0000
committerTony Nguyen <[email protected]>2023-03-13 18:06:06 +0000
commit4f0636fef61ad0b22fed4fb06f369d6ba38f807d (patch)
tree875959eeecc85f1fd5ce030b4f02aa358dd4efba /drivers/net/ethernet/intel/ice/ice_main.c
parentice: declare ice_vc_process_vf_msg in ice_virtchnl.h (diff)
downloadkernel-4f0636fef61ad0b22fed4fb06f369d6ba38f807d.tar.gz
kernel-4f0636fef61ad0b22fed4fb06f369d6ba38f807d.zip
ice: always report VF overflowing mailbox even without PF VSI
In ice_is_malicious_vf we report a message warning the system administrator when a VF is potentially spamming the PF with asynchronous messages that could overflow the PF mailbox. The specific message was requested by our customer support team to include the VF and PF MAC address. In some cases we may not be able to locate the PF VSI to obtain the MAC address for the PF. The current implementation discards the message entirely in this case. Fix this to instead print a zero address in that case so that we always print something here. Note that dev_warn will also include the PCI device information allowing another mechanism for determining on which PF the potentially malicious VF belongs. Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Tested-by: Marek Szlosek <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions