Commit e0367df
scsi: lpfc: SLI path split: Refactor LS_RJT paths
This patch refactors the LS_RJT paths to use SLI-4 as the primary
interface:
- Conversion away from using SLI-3 iocb structures to set/access fields in
common routines. Use the new generic get/set routines that were added.
This move changes code from indirect structure references to using local
variables with the generic routines.
- Refactor routines when setting non-generic fields, to have both SLI3 and
SLI4 specific sections. This replaces the set-as-SLI3 then translate to
SLI4 behavior of the past.
Link: https://lore.kernel.org/r/20220225022308.16486-9-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 3f607dc commit e0367df
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5725 | 5725 | | |
5726 | 5726 | | |
5727 | 5727 | | |
| 5728 | + | |
5728 | 5729 | | |
5729 | 5730 | | |
5730 | 5731 | | |
| |||
5735 | 5736 | | |
5736 | 5737 | | |
5737 | 5738 | | |
5738 | | - | |
5739 | | - | |
5740 | | - | |
5741 | | - | |
| 5739 | + | |
| 5740 | + | |
| 5741 | + | |
| 5742 | + | |
| 5743 | + | |
| 5744 | + | |
| 5745 | + | |
| 5746 | + | |
| 5747 | + | |
| 5748 | + | |
| 5749 | + | |
| 5750 | + | |
| 5751 | + | |
5742 | 5752 | | |
5743 | 5753 | | |
5744 | 5754 | | |
| |||
5754 | 5764 | | |
5755 | 5765 | | |
5756 | 5766 | | |
5757 | | - | |
| 5767 | + | |
5758 | 5768 | | |
5759 | 5769 | | |
5760 | 5770 | | |
| |||
0 commit comments