CNDP 22.08.0
Loading...
Searching...
No Matches
pktmbuf_s::[union].__unnamed1__ Union Reference

Data Fields

uint16_t refcnt

Detailed Description

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.

Definition at line 155 of file pktmbuf.h.

Field Documentation

◆ refcnt

uint16_t refcnt

Non-atomically accessed refcnt


The documentation for this union was generated from the following files: