![]() |
![]() |
Bcp_TxQInfo. More...
#include <bcp_pvt.h>
Data Fields | |
int32_t | qNum |
Cppi_ChHnd | hCppiTxChan |
Qmss_QueueHnd | hQmssTxQ |
uint32_t | refCnt |
Bcp_TxQInfo.
Data structure to hold the current state and configuration of any given BCP Transmit queue.
* Used by BCP driver internally for book-keeping purposes *
Cppi_ChHnd _Bcp_TxQInfo::hCppiTxChan |
CPPI transmit channel handle corresponding to this object.
Qmss_QueueHnd _Bcp_TxQInfo::hQmssTxQ |
Handle to the BCP Tx queue instance.
int32_t _Bcp_TxQInfo::qNum |
The BCP Transmit queue number for this instance.
uint32_t _Bcp_TxQInfo::refCnt |
Reference counter that keeps track of the number of applications that are using this BCP Tx queue.
This counter is incremented whenever 'BCP_txQueueOpen ()' is called and a valid transmit queue handle is returned and is decremented whenever 'BCP_txQueueClose ()' API is called. When this count reaches zero, the transmit queue configuration is completely cleaned up and would have to be re-initialized using 'BCP_txQueueOpen ()' API.