|
CNDP 22.08.0
|
Data Fields | |
| uint16_t | refcnt |
Reference counter. Its size should at least equal to the size of lport field (16 bits), to support zero-copy broadcast. It should only be accessed using the following functions: pktmbuf_refcnt_update(), pktmbuf_refcnt_read(), and pktmbuf_refcnt_set(). The functionality of these functions (atomic, or non-atomic) is controlled by the CONFIG_CNE_MBUF_REFCNT_ATOMIC config option.
| uint16_t refcnt |
Non-atomically accessed refcnt