]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: lpfc: Update class of service bit field to 3 bits for WQE submissions
authorJustin Tee <justin.tee@broadcom.com>
Thu, 12 Feb 2026 21:30:05 +0000 (13:30 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Feb 2026 18:06:52 +0000 (13:06 -0500)
commit9714c5463fd1d963fe30193ed75b9578e84278ab
tree1b517acf56e938a23853c94baa501a7e8aa686e4
parent559a6c2ab097695f7b3cd4fdd5f6aca81ae3da09
scsi: lpfc: Update class of service bit field to 3 bits for WQE submissions

WQE submissions only require a 3 bit field when specifying the class of
service to use.  So, update WQE submission paths to use a 3 bit field
instead of 0x0f as the bit mask.  A NLP_FCP_CLASS_MASK bitmask is
defined to ensure only a 3 bit mask is used.

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