Data Fields
Pktlib_Heap Struct Reference

The structure describes the Packet Library Heaps. More...

Data Fields

char name [PKTLIB_MAX_HEAP_NAME]
 Name of the heap; used to identify it.
uint16_t isSuperHeap
 Flag which identifies if the heap is a SUPER heap or not?
uint16_t useStarvationQueue
 Flag which indicates if starvation queues should be used or not?
Qmss_QueueHnd baseStarvationQueue
 This the base starvation queue which has been allocated to the heap.
Pktlib_HeapHandle memberHeapHandles [PKTLIB_MAX_SUPER_MANAGED_HEAPS]
 This is valid only for super heaps and indicates all the member heaps which it is monitoring. This field is NOT applicable for normal heaps.
uint32_t dataBufferPktThreshold
 The threshold are passed during heap creation and the module uses this to setup the queue thresholds in the QMSS queues. If the value in the heap data buffer free queues falls below the threshold this is recorded by the Navigator infrastructure.
uint32_t zeroBufferPktThreshold
 The threshold are passed during heap creation and the module uses this to setup the queue thresholds in the QMSS queues. If the value in the heap zero buffer free queues falls below the threshold this is recorded by the Navigator infrastructure.
uint32_t dataBufferSize
 Each heap only has packets of a specific data size.
Qmss_Queue garbageQueueInfo
 Garbage Queue Information.
Qmss_QueueHnd garbageQueueHnd
 Garbage Queue Handle.
Qmss_Queue freeQueueInfo
 Free queue information which has the queue manager information where all the available packets with buffers are stored.
Qmss_QueueHnd freeQueueHnd
 Free queue handle which stores all the packets with buffers.
Qmss_Queue freeZeroQueueInfo
 Free queue information which has the queue manager information where all the available packets with no buffers are stored.
Qmss_QueueHnd freeZeroQueueHnd
 Free queue handle which stores all the packets with no buffers.
int32_t descSize
 Descriptor Size of each descriptor.
Pktlib_HeapIfTable heapFxnTable
 Heap Function Table which was passed during configuration.
Qmss_MemRegion memRegion
 Memory region associated with the heap.
uint32_t numDataBufferPackets
 These are the number of packets which are associated with the data buffer size.
uint32_t numZeroBufferPackets
 These are the number of zero buffer packets.

Detailed Description

The structure describes the Packet Library Heaps.

The packet library heap has a list of packets with buffers and without buffers.


The documentation for this struct was generated from the following file:

Copyright 2014, Texas Instruments Incorporated