Re: [dpdk-dev] [PATCH v3 2/2] mbuf: better document usage of packet pool initializers

2021-04-27 Thread Aaron Conole
Olivier Matz writes: > Clarify that the mempool private initializer and object initializer used > for packet pools require that the mempool private size is large enough. > > Also add an assert (only enabled when -DRTE_ENABLE_ASSERT is passed) to > check this constraint. > > Signed-off-by: Olivier

[dpdk-dev] [PATCH v3 2/2] mbuf: better document usage of packet pool initializers

2021-04-27 Thread Olivier Matz
Clarify that the mempool private initializer and object initializer used for packet pools require that the mempool private size is large enough. Also add an assert (only enabled when -DRTE_ENABLE_ASSERT is passed) to check this constraint. Signed-off-by: Olivier Matz --- lib/mbuf/rte_mbuf.c | 5