diff options
author | 2023-10-09 09:18:09 -0700 | |
---|---|---|
committer | 2023-10-13 16:58:27 -0400 | |
commit | 12e896c74280d9d8da87327f08cf0e878d24ae5c (patch) | |
tree | ffc02fd8bf5dad22948e36949e605f3100a3f897 /tools/perf/scripts/python | |
parent | scsi: lpfc: Treat IOERR_SLI_DOWN I/O completion status the same as pci offline (diff) | |
download | wireguard-linux-12e896c74280d9d8da87327f08cf0e878d24ae5c.tar.xz wireguard-linux-12e896c74280d9d8da87327f08cf0e878d24ae5c.zip |
scsi: lpfc: Reject received PRLIs with only initiator fcn role for NPIV ports
Currently, NPIV ports send PRLI_ACC to all received unsolicited PRLI
requests. For an NPIV port, there is no point to PRLI_ACC if the received
PRLI request has the initiator function bit set and the target function bit
unset. Modify the lpfc_rcv_prli_support_check() routine to send a PRLI_RJT
in such cases. NPIV ports are expected to send PRLI_ACC only if the Target
function bit is set.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20231009161812.97232-4-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions