FreeBSD/sys/dev/ntb/if_ntb/if_ntb.c
/**
 * ntb_transport_link_up - Notify NTB transport of client readiness to use queue
 * @qp: NTB transport layer queue to be enabled
 *
 * Notify NTB transport layer of client readiness to use queue
 */
Notify NTB transport of client readiness to use queue
@qp: NTB transport layer queue to be enabled

Notify NTB transport layer of client readiness to use queue
Notify NTB transport of client readiness to use queue @qp : NTB transport layer queue to be enabled Notify NTB transport layer of client readiness to use queue
static void
ntb_transport_link_up(struct ntb_transport_qp *qp)
{
	struct ntb_transport_ctx *nt;
	if (qp == NULL)
		return;
	qp->client_ready = true;
	nt = qp->transport;
	ntb_printf(2, "qp client ready\n");
	if (qp->transport->link_is_up)
		callout_reset(&qp->link_work, 0, ntb_qp_link_work, qp);
}
static void ntb_transport_link_up ( struct ntb_transport_qp * qp ) { struct ntb_transport_ctx * nt ; if ( qp == NULL ) return ; qp -> client_ready = true ; nt = qp -> transport ; ntb_printf ( 2 , " \n " ) ; if ( qp -> transport -> link_is_up ) callout_reset ( & qp -> link_work , 0 , ntb_qp_link_work , qp ) ; }
ntb_transport_link_up - Notify NTB transport of client readiness to use queue
 @qp: NTB transport layer queue to be enabled
ntb_transport_link_up - Notify NTB transport of client readiness to use queue @qp : NTB transport layer queue to be enabled