Generated from osm_port_info_rcv.h with ROBODoc vunknown on Wed Aug 07 15:31:48 2002
TABLE OF CONTENTS
- OpenSM/Port Info Receiver
- OpenSM: Port Info Receiver/osm_pi_rcv_t
- OpenSM: Port Info Receiver/osm_pi_rcv_construct
- OpenSM: Port Info Receiver/osm_pi_rcv_destroy
- OpenSM: Port Info Receiver/osm_pi_rcv_init
- OpenSM: Port Info Receiver/osm_pi_rcv_process
NAME
Port Info Receiver
DESCRIPTION
The Port Info Receiver object encapsulates the information
needed to receive the PortInfo attribute from a node.
The Port Info Receiver object is thread safe.
This object should be treated as opaque and should be
manipulated only through the provided functions.
AUTHOR
Steve King, Intel
NAME
osm_pi_rcv_t
DESCRIPTION
Port Info Receiver structure.
This object should be treated as opaque and should
be manipulated only through the provided functions.
SYNOPSIS
typedef struct _osm_pi_rcv
{
osm_subn_t *p_subn;
osm_req_t *p_gen_req;
osm_log_t *p_log;
cl_plock_t *p_lock;
} osm_pi_rcv_t;
FIELDS
base
OpenSM base object.
p_subn
Pointer to the Subnet object for this subnet.
p_gen_req_ctrl
Pointer to the generic request controller.
p_log
Pointer to the log object.
p_lock
Pointer to the serializing lock.
SEE ALSO
Port Info Receiver object
NAME
osm_pi_rcv_construct
DESCRIPTION
This function constructs a Port Info Receiver object.
SYNOPSIS
void osm_pi_rcv_construct(
IN osm_pi_rcv_t* const p_ctrl );
PARAMETERS
p_ctrl
[in] Pointer to a Port Info Receiver object to construct.
RETURN VALUE
This function does not return a value.
NOTES
Allows calling osm_pi_rcv_destroy
Calling osm_pi_rcv_construct is a prerequisite to calling any other
method except osm_pi_rcv_init.
SEE ALSO
Port Info Receiver object, osm_pi_rcv_init,
osm_pi_rcv_destroy
NAME
osm_pi_rcv_destroy
DESCRIPTION
The osm_pi_rcv_destroy function destroys the object, releasing
all resources.
SYNOPSIS
void osm_pi_rcv_destroy(
IN osm_pi_rcv_t* const p_ctrl );
PARAMETERS
p_ctrl
[in] Pointer to the object to destroy.
RETURN VALUE
This function does not return a value.
NOTES
Performs any necessary cleanup of the specified
Port Info Receiver object.
Further operations should not be attempted on the destroyed object.
This function should only be called after a call to
osm_pi_rcv_construct or osm_pi_rcv_init.
SEE ALSO
Port Info Receiver object, osm_pi_rcv_construct,
osm_pi_rcv_init
NAME
osm_pi_rcv_init
DESCRIPTION
The osm_pi_rcv_init function initializes a
Port Info Receiver object for use.
SYNOPSIS
ib_api_status_t osm_pi_rcv_init(
IN osm_pi_rcv_t* const p_ctrl,
IN osm_req_t* const p_req,
IN osm_subn_t* const p_subn,
IN osm_log_t* const p_log,
IN cl_plock_t* const p_lock );
PARAMETERS
p_ctrl
[in] Pointer to an osm_pi_rcv_t object to initialize.
p_req
[in] Pointer to an osm_req_t object.
p_subn
[in] Pointer to the Subnet object for this subnet.
p_log
[in] Pointer to the log object.
p_lock
[in] Pointer to the OpenSM serializing lock.
RETURN VALUES
CL_SUCCESS if the Port Info Receiver object was initialized
successfully.
NOTES
Allows calling other Port Info Receiver methods.
SEE ALSO
Port Info Receiver object, osm_pi_rcv_construct,
osm_pi_rcv_destroy
NAME
osm_pi_rcv_process
DESCRIPTION
Process the PortInfo attribute.
SYNOPSIS
void osm_pi_rcv_process(
IN const osm_pi_rcv_t* const p_ctrl,
IN osm_madw_t* const p_madw );
PARAMETERS
p_ctrl
[in] Pointer to an osm_pi_rcv_t object.
p_madw
[in] Pointer to the MAD Wrapper containing the MAD
that contains the node's PortInfo attribute.
RETURN VALUES
CL_SUCCESS if the PortInfo processing was successful.
NOTES
This function processes a PortInfo attribute.
SEE ALSO
Port Info Receiver, Port Info Response Controller