Hello All, We are using DDPDK 19.11 and when we call *rte_pktmbuf_pool_create() *API allocate memory, we could see the EINVAL ( EINVAL - cache size provided is too large, or priv_size is not aligned ) return from that above API. We are seeing the issue only when we pass the Priv_size value of 64 bytes which is aligned to RTE_MBUF_PRIV_ALIGN(8 bytes).
Here is our snippet of our code base: #define MBUF_CACHE_SIZE *512 * #define MBUF_PRIV_SIZE *64* #define FRAME_LEN *9216* #define NO_OF_MBUF *52736 * /*define in rte_config.h */ #define RTE_PKTMBUF_HEADROOM 128 pool = rte_pktmbuf_pool_create(name, num_mbufs, MBUF_CACHE_SIZE, MBUF_PRIV_SIZE, frame_len + RTE_PKTMBUF_HEADROOM, rte_socket_id()); The above check was failed with EINVAL Could you please suggest if there is any known issue or limitation w.r.t 19.11 Thanks, Kamaraj