diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-04-29 15:15:44 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-05-06 21:53:58 -0400 |
commit | e780c9423b1095ae9d96ce8fdbe2a92592d88073 (patch) | |
tree | 4b6e31d1f249bc5eaf1216aff229768be038f617 /drivers/scsi/lpfc/lpfc_scsi.h | |
parent | 5f800d72762ad8cf54104edafc6e882e4be96d24 (diff) |
scsi: lpfc: Change lpfc_hba hba_flag member into a bitmask
In attempt to reduce the amount of unnecessary phba->hbalock acquisitions
in the lpfc driver, change hba_flag into an unsigned long bitmask and use
clear_bit/test_bit bitwise atomic APIs instead of reliance on phba->hbalock
for synchronization.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240429221547.6842-6-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.h')
0 files changed, 0 insertions, 0 deletions