INtime SDK Help
hpeAttachReceiveBufferSet
INtime SDK v7 > About INtime > Networking and I/O > High-Performance Ethernet > hpeAttachReceiveBufferSet

This call is an alias for hpeAttachReceiveBufferSetToQueue specifying queue index 0.

HPESTATUS hpeAttachReceiveBufferSet(
    HPEHANDLE devhandle, 
    HPERXBUFFERSET *rx_buffer_set
);

Parameters

devhandle
A handle value for the device.
rx_buffer_set
A pointer to an initialized HPERXBUFFERSET structure, which describes a set of buffers to be used for receiving frames.

Remarks

See hpeAttachReceiveBufferSetToQueue for full details.

Return Values

A status value indicating the success or failure of the operation:

E_OK The operation completed successfully.
E_EXIST The handle given is not a handle for an open HPE interface.
E_INVALID_ADDR The rx_buffer_set parameter is not a valid pointer.
E_PARAM The rx_buffer_set.buffer_count field is zero, or too big for the size of the buffer allocated, or the field is not compatible with the requirements of the hardware.
E_STATE The Ethernet receiver was active when the call was made and it was not possible to attach the buffer set.
E_LIMIT The number of buffers to be attached exceeds the maximum number of receive descriptors at the device. The number of receive descriptors can be set when the driver is loaded.
E_ALIGNMENT The interface was not able to accept the receive buffer because of hardware alignment constraints.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also