Sets the type of a given transmit endpoint.
HPESTATUS mhpeSetTransmitAttributes( MPEHANDLE ephandle,
uint32_t tx_attribs );
ephandle
tx_attribs
HPE_TX_TIMESTAMP_1STEP
HPE_TX_TIMESTAMP_2STEP
HPE_TX_STREAM
HPE_TX_STICKY
HPE_TX_NONOTIFY
HPE_TX_TIMESTAMP_1STEP and HPE_TX_TIMESTAMP_2STEP are mutually exclusive. Enabling 2STEP time stamping on more than one queue may yield erroneous results.
HPE_TX_STICKY queue may be used only in conjunction with HPE_TX_STREAM queues. Once attached, the buffers are not detached. Launch time may be adjusted by setting the launch_time field in the HPETXSTREAMBUFFERSET structure (possibly to 0) and calling hpeSetTransmitOffset.
A HPESTATUS value indicating the success or failure of the operation.
E_OK
E_EXIST
E_PARAM
E_LIMIT
E_SUPPORT
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 7.1 | intime/rt/include/mhpeif.h | mhpeif.h | mhpeif.lib |