INtime SDK Help
mhpeSetTransmitPriority
INtime SDK v7.1 > About INtime > Networking and I/O > Multiprocess HPE > mhpeSetTransmitPriority

Set the priority of a transmit queue.

   
HPESTATUS mhpeSetTransmitPriority(
    MPEHANDLE   ephandle,
uint32_t priority,
BOOLEAN dmaprio_hi
);

Parameters

ephandle
A Tx endpoint handle.
priority
A value from 0 (lowest) to 3 (highest). The default is queue 0 (3/highest) queue 3 (0/lowest). Queues assigned the same priority are scheduled round-robin relative to each other. Stream queues should not be set to a priority lower than normal priority queues.
dmaprio_hi
TRUE or FALSE. If TRUE, give this queue DMA priority. The initial value is FALSE.

Return Values

A HPESTATUS value indicating the success or failure of the operation.

Status

E_OK
The operation completed successfully.
E_EXIST
The handle given is not a valid transmit endpoint handle.
E_LIMIT
Either of the parameters queue_index or priority is too large.

Requirements

Versions Defined in Include Link to
INtime 7.1 intime/rt/include/mhpeif.h mhpeif.h mhpeif.lib