net/cnxk: support mempool operations query
authorSunil Kumar Kori <skori@marvell.com>
Wed, 23 Jun 2021 04:46:42 +0000 (10:16 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 29 Jun 2021 23:15:27 +0000 (01:15 +0200)
commit79b175d7056aed2cae2b68cb964d13e512b6d17d
treeb623ea42c1617c454d93806a119a2de72aba7dbc
parenta7ce2f546f436ec2cfc55cd89004f492d7604b58
net/cnxk: support mempool operations query

CN9K and CN10K support platform specific mempool ops.
This patch implements API to validate whether given mempool
ops is supported or not.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
drivers/net/cnxk/cnxk_ethdev.c
drivers/net/cnxk/cnxk_ethdev.h
drivers/net/cnxk/cnxk_ethdev_ops.c