mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
[SCSI] libfc: add hook to notify providers of local port changes
When an SCST provider is registered, it needs to know what local ports are available for configuration as targets. Add a notifier chain that is invoked when any local port that is added or deleted. Maintain a global list of local ports and add an interator function that calls a given function for every existing local port. This is used when first loading a provider. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
baf9fdf076
commit
70d53b046a
@@ -123,6 +123,8 @@ void fc_destroy_fcp(void);
|
||||
* Internal libfc functions
|
||||
*/
|
||||
const char *fc_els_resp_type(struct fc_frame *);
|
||||
extern void fc_fc4_add_lport(struct fc_lport *);
|
||||
extern void fc_fc4_del_lport(struct fc_lport *);
|
||||
|
||||
/*
|
||||
* Copies a buffer into an sg list
|
||||
|
||||
Reference in New Issue
Block a user