Commit 3518498
scsi: lpfc: SLI path split: Refactor VMID paths
This patch refactors the VMID 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-11-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 9d41f08 commit 3518498
2 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3814 | 3814 | | |
3815 | 3815 | | |
3816 | 3816 | | |
3817 | | - | |
| 3817 | + | |
3818 | 3818 | | |
3819 | 3819 | | |
3820 | 3820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11920 | 11920 | | |
11921 | 11921 | | |
11922 | 11922 | | |
11923 | | - | |
| 11923 | + | |
| 11924 | + | |
11924 | 11925 | | |
11925 | 11926 | | |
11926 | 11927 | | |
| |||
11937 | 11938 | | |
11938 | 11939 | | |
11939 | 11940 | | |
11940 | | - | |
| 11941 | + | |
11941 | 11942 | | |
11942 | 11943 | | |
11943 | | - | |
| 11944 | + | |
11944 | 11945 | | |
11945 | 11946 | | |
11946 | 11947 | | |
| |||
12139 | 12140 | | |
12140 | 12141 | | |
12141 | 12142 | | |
12142 | | - | |
| 12143 | + | |
| 12144 | + | |
12143 | 12145 | | |
12144 | 12146 | | |
12145 | 12147 | | |
| |||
12157 | 12159 | | |
12158 | 12160 | | |
12159 | 12161 | | |
12160 | | - | |
| 12162 | + | |
12161 | 12163 | | |
12162 | 12164 | | |
12163 | | - | |
| 12165 | + | |
12164 | 12166 | | |
12165 | 12167 | | |
12166 | 12168 | | |
| |||
0 commit comments