* address, and so on). This function is given as a callback function to
* rte_mempool_obj_iter() or rte_mempool_create() at pool creation time.
*
+ * This function expects that the mempool private area was previously
+ * initialized with rte_pktmbuf_pool_init().
+ *
* @param mp
* The mempool from which mbufs originate.
* @param opaque_arg
void *m, unsigned i);
/**
- * A packet mbuf pool constructor.
+ * A packet mbuf pool constructor.
*
* This function initializes the mempool private data in the case of a
* pktmbuf pool. This private data is needed by the driver. The
* pool creation. It can be extended by the user, for example, to
* provide another packet size.
*
+ * The mempool private area size must be at least equal to
+ * sizeof(struct rte_pktmbuf_pool_private).
+ *
* @param mp
* The mempool from which mbufs originate.
* @param opaque_arg