diff options
author | James Smart <[email protected]> | 2020-03-22 11:12:58 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-03-26 23:15:10 -0400 |
commit | 1543af381e7b784fbc896047a037b6d9ee6e9b6f (patch) | |
tree | 0a373c0b5f039382407cd2d644d9ac451ad94f1f /lib/mpi/mpiutil.c | |
parent | 4cd70891308dfb875ef31060c4a4aa8872630a2e (diff) |
scsi: lpfc: Fix update of wq consumer index in lpfc_sli4_wq_release
The lpfc_sli4_wq_release() routine iterates for each interim value when
updating the wq consuemr index. This wastes cycles and possibly confuses
things as thevalue itterates (and the modulo logic is being applied).
There's no reason for this. Just set it to the value from the hw.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions