mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-10-31 03:12:32 +00:00 
			
		
		
		
	[fc] Use a one-shot process for Fibre Channel ELS requests
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
		| @@ -253,9 +253,6 @@ static void fc_els_step ( struct fc_els *els ) { | ||||
| 	/* Sanity check */ | ||||
| 	assert ( fc_els_is_request ( els ) ); | ||||
|  | ||||
| 	/* Stop process */ | ||||
| 	process_del ( &els->process ); | ||||
|  | ||||
| 	/* Create exchange */ | ||||
| 	if ( ( xchg_id = fc_xchg_originate ( &els->xchg, els->port, | ||||
| 					     &els->peer_port_id, | ||||
| @@ -278,7 +275,7 @@ static void fc_els_step ( struct fc_els *els ) { | ||||
|  | ||||
| /** Fibre Channel ELS process descriptor */ | ||||
| static struct process_descriptor fc_els_process_desc = | ||||
| 	PROC_DESC ( struct fc_els, process, fc_els_step ); | ||||
| 	PROC_DESC_ONCE ( struct fc_els, process, fc_els_step ); | ||||
|  | ||||
| /** | ||||
|  * Create ELS transaction | ||||
|   | ||||
		Reference in New Issue
	
	Block a user