[v3,04/18] mempool/cnxk: initialize mempool ops for cn20k
Checks
Commit Message
From: Ashwin Sekhar T K <asekhar@marvell.com>
Initialize mempool ops for cn20k.
Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
---
drivers/mempool/cnxk/cnxk_mempool_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -192,7 +192,7 @@ cnxk_mempool_plt_init(void)
if (roc_model_is_cn9k()) {
rte_mbuf_set_platform_mempool_ops("cn9k_mempool_ops");
- } else if (roc_model_is_cn10k()) {
+ } else if (roc_model_is_cn10k() || roc_model_is_cn20k()) {
rte_mbuf_set_platform_mempool_ops("cn10k_mempool_ops");
rc = cn10k_mempool_plt_init();
}