diff options
author | James Smart <james.smart@broadcom.com> | 2020-10-20 13:27:18 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-26 21:42:39 -0400 |
commit | b67b5944328219f8ac1e0496ae0f4e45f6d43855 (patch) | |
tree | 5238a2e92f54a847d27acffe967eae7d1c7847b9 /drivers/scsi/lpfc/lpfc_hw.h | |
parent | 8aaa7bcf07a2eea5ffb6d4ee776379c0e0154f6d (diff) | |
download | linux-stable-b67b5944328219f8ac1e0496ae0f4e45f6d43855.tar.gz linux-stable-b67b5944328219f8ac1e0496ae0f4e45f6d43855.tar.bz2 linux-stable-b67b5944328219f8ac1e0496ae0f4e45f6d43855.zip |
scsi: lpfc: Reject CT request for MIB commands
Now that MIB support was registered with FDMI, the driver may receive CT
requests for MIB-related commands. At this time, no command is
supported. However, the driver needs to be graceful and reject the CT
request.
This patch adds identification of the requests as well as sending the
reject response.
Link: https://lore.kernel.org/r/20201020202719.54726-9-james.smart@broadcom.com
Co-developed-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw.h b/drivers/scsi/lpfc/lpfc_hw.h index 28b8a394f796..42682d95af52 100644 --- a/drivers/scsi/lpfc/lpfc_hw.h +++ b/drivers/scsi/lpfc/lpfc_hw.h @@ -1380,6 +1380,9 @@ struct lpfc_fdmi_reg_hba { struct lpfc_fdmi_reg_port_list rpl; }; +/******** MI MIB ********/ +#define SLI_CT_MIB_Subtypes 0x11 + /* * Register HBA Attributes (RHAT) */ |