diff options
Diffstat (limited to 'include/scsi')
| -rw-r--r-- | include/scsi/libfc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 310d8a22b726..67ce9fa1fee4 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
| @@ -581,6 +581,26 @@ struct libfc_function_template { | |||
| 581 | int (*lport_reset)(struct fc_lport *); | 581 | int (*lport_reset)(struct fc_lport *); |
| 582 | 582 | ||
| 583 | /* | 583 | /* |
| 584 | * Set the local port FC_ID. | ||
| 585 | * | ||
| 586 | * This may be provided by the LLD to allow it to be | ||
| 587 | * notified when the local port is assigned a FC-ID. | ||
| 588 | * | ||
| 589 | * The frame, if non-NULL, is the incoming frame with the | ||
| 590 | * FLOGI LS_ACC or FLOGI, and may contain the granted MAC | ||
| 591 | * address for the LLD. The frame pointer may be NULL if | ||
| 592 | * no MAC is associated with this assignment (LOGO or PLOGI). | ||
| 593 | * | ||
| 594 | * If FC_ID is non-zero, r_a_tov and e_d_tov must be valid. | ||
| 595 | * | ||
| 596 | * Note: this is called with the local port mutex held. | ||
| 597 | * | ||
| 598 | * STATUS: OPTIONAL | ||
| 599 | */ | ||
| 600 | void (*lport_set_port_id)(struct fc_lport *, u32 port_id, | ||
| 601 | struct fc_frame *); | ||
| 602 | |||
| 603 | /* | ||
| 584 | * Create a remote port with a given port ID | 604 | * Create a remote port with a given port ID |
| 585 | * | 605 | * |
| 586 | * STATUS: OPTIONAL | 606 | * STATUS: OPTIONAL |
