IB_SA_PATH_REC_GET

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ib_sa_path_rec_get - Start a Path get query  

SYNOPSIS

"SYNOPSIS"

int ib_sa_path_rec_get (struct ib_device * device, u8 port_num, struct ib_sa_path_rec * rec, ib_sa_comp_mask comp_mask, int timeout_ms, unsigned int __nocast gfp_mask, void (*callback) int status, struct ib_sa_path_rec *resp, void *context, void * context, struct ib_sa_query ** sa_query);  

ARGUMENTS

device
device to send query on
port_num
port number to send query on
rec
Path Record to send in query
comp_mask
component mask to send in query
timeout_ms
time to wait for response
gfp_mask
GFP mask to use for internal allocations
callback
function called when query completes, times out or is canceled
context
opaque user context passed to callback
sa_query
query context, used to cancel query
 

DESCRIPTION

Send a Path Record Get query to the SA to look up a path. The callback function will be called when the query completes (or fails); status is 0 for a successful response, -EINTR if the query is canceled, -ETIMEDOUT is the query timed out, or -EIO if an error occurred sending the query. The resp parameter of the callback is only valid if status is 0.

If the return value of ib_sa_path_rec_get is negative, it is an error code. Otherwise it is a query ID that can be used to cancel the query.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:15 GMT, October 09, 2005