Commit 9d41f08
scsi: lpfc: SLI path split: Refactor FDISC paths
This patch refactors the FDISC 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-10-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 e0367df commit 9d41f08
1 file changed
+29
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11153 | 11153 | | |
11154 | 11154 | | |
11155 | 11155 | | |
| 11156 | + | |
11156 | 11157 | | |
11157 | 11158 | | |
11158 | 11159 | | |
| |||
11172 | 11173 | | |
11173 | 11174 | | |
11174 | 11175 | | |
11175 | | - | |
11176 | | - | |
11177 | | - | |
11178 | | - | |
11179 | | - | |
11180 | | - | |
11181 | | - | |
11182 | | - | |
11183 | | - | |
| 11176 | + | |
| 11177 | + | |
| 11178 | + | |
| 11179 | + | |
| 11180 | + | |
| 11181 | + | |
| 11182 | + | |
| 11183 | + | |
11184 | 11184 | | |
11185 | 11185 | | |
11186 | 11186 | | |
| |||
11218 | 11218 | | |
11219 | 11219 | | |
11220 | 11220 | | |
11221 | | - | |
11222 | | - | |
| 11221 | + | |
11223 | 11222 | | |
11224 | | - | |
11225 | 11223 | | |
11226 | 11224 | | |
11227 | 11225 | | |
11228 | | - | |
11229 | 11226 | | |
11230 | 11227 | | |
11231 | 11228 | | |
| |||
11234 | 11231 | | |
11235 | 11232 | | |
11236 | 11233 | | |
| 11234 | + | |
11237 | 11235 | | |
11238 | 11236 | | |
11239 | 11237 | | |
| |||
11262 | 11260 | | |
11263 | 11261 | | |
11264 | 11262 | | |
| 11263 | + | |
11265 | 11264 | | |
11266 | 11265 | | |
11267 | | - | |
| 11266 | + | |
| 11267 | + | |
| 11268 | + | |
| 11269 | + | |
| 11270 | + | |
| 11271 | + | |
| 11272 | + | |
| 11273 | + | |
| 11274 | + | |
| 11275 | + | |
| 11276 | + | |
| 11277 | + | |
| 11278 | + | |
11268 | 11279 | | |
11269 | 11280 | | |
11270 | | - | |
| 11281 | + | |
11271 | 11282 | | |
11272 | 11283 | | |
11273 | 11284 | | |
11274 | 11285 | | |
11275 | 11286 | | |
11276 | | - | |
11277 | | - | |
| 11287 | + | |
| 11288 | + | |
11278 | 11289 | | |
11279 | 11290 | | |
11280 | 11291 | | |
11281 | | - | |
| 11292 | + | |
11282 | 11293 | | |
11283 | 11294 | | |
11284 | 11295 | | |
| |||
0 commit comments