| 
    CNDP
    22.08.0
    
   | 
 
#include <pktmbuf.h>
Data Fields | |
| uint16_t | nb_pending | 
| uint16_t | pending_sz | 
| void * | pooldata | 
| pktmbuf_t * | pending [PKTMBUF_PENDING_SZ] | 
Structure to help with bulk free of mbufs.
As the pktmbuf_free_bulk is called this structure holds all of the mbufs allocated from the same pool. When a different pool is found in the array of mbufs pointers they are freed and the set of mbufs to a given pool is created.
| uint16_t nb_pending | 
| uint16_t pending_sz | 
| void* pooldata | 
| pktmbuf_t* pending[PKTMBUF_PENDING_SZ] |