]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: lpfc: Select mailbox rq_create cmd version based on SLI4 if_type
authorJustin Tee <justin.tee@broadcom.com>
Tue, 31 Mar 2026 20:59:20 +0000 (13:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 3 Apr 2026 01:34:01 +0000 (21:34 -0400)
commit35f22f84bed13e122e549ffae490487122f3c3a8
treeba4ae12b4b4389a05d69ef77ea1d6a9cf614ccc3
parente32b5e8f09503be680bed75da51bb584134a1390
scsi: lpfc: Select mailbox rq_create cmd version based on SLI4 if_type

When specifying rq version, it is preferred to refer to SLI4 interface type
instead of the get_sli4_parameters mailbox command response.  If SLI4
if_type is 2 or above, then the newer version 1 is used for rq_create
mailbox commands.  Otherwise, version 0 is used and is meant for older
adapters.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260331205928.119833-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c