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

Set the priority of a transmit queue .

HPESTATUS hpeSetTransmitQueuePriority(
    HPEHANDLE devhandle, 
    DWORD queue_index, 
    DWORD priority, 
    BOOL dmapriority_high
);

Parameters

devhandle
A handle value for the device.
queue_index
The index of the designated queue.
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.
dmapriority_high
TRUE or FALSE. If TRUE, give this queue DMA priority. The initial value is FALSE.

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_LIMIT Either of the parameters queue_index or priority is too large.

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also