Commit 2bf8185
scsi: lpfc: Ensure PLOGI_ACC is sent prior to PRLI in Point to Point topology
There is a timing race condition when a PRLI may be sent on the wire
before PLOGI_ACC in Point to Point topology. Fix by deferring REG_RPI
mbox completion handling to after PLOGI_ACC's CQE completion. Because
the discovery state machine only sends PRLI after REG_RPI mbox
completion, PRLI is now guaranteed to be sent after PLOGI_ACC.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Message-ID: <20250915180811.137530-8-justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent f408dde commit 2bf8185
2 files changed
Lines changed: 25 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5339 | 5339 | | |
5340 | 5340 | | |
5341 | 5341 | | |
5342 | | - | |
| 5342 | + | |
5343 | 5343 | | |
5344 | | - | |
| 5344 | + | |
5345 | 5345 | | |
5346 | 5346 | | |
5347 | | - | |
| 5347 | + | |
5348 | 5348 | | |
5349 | 5349 | | |
5350 | 5350 | | |
| |||
5403 | 5403 | | |
5404 | 5404 | | |
5405 | 5405 | | |
| 5406 | + | |
| 5407 | + | |
| 5408 | + | |
| 5409 | + | |
5406 | 5410 | | |
5407 | 5411 | | |
5408 | 5412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
331 | 337 | | |
332 | 338 | | |
333 | 339 | | |
334 | 340 | | |
335 | 341 | | |
336 | 342 | | |
337 | 343 | | |
338 | | - | |
339 | | - | |
340 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
341 | 354 | | |
342 | 355 | | |
343 | 356 | | |
| |||
0 commit comments