net/dpaa: prevent multiple mempool config
authorNipun Gupta <nipun.gupta@nxp.com>
Wed, 24 Feb 2021 12:43:06 +0000 (18:13 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Feb 2021 17:03:30 +0000 (18:03 +0100)
commit376fb49ecfca1f686f28b5326bd934bb5fc4f1e7
tree8c70b33fbb379040b8946b586f68c56b54d993a7
parentd994b6ca6e3df974737b2965bc8c7fb1a699aafa
net/dpaa: prevent multiple mempool config

The current driver only support single buffer pool on a given
PMD instance. Return error, if trying to configure more.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/mempool/dpaa/dpaa_mempool.c
drivers/net/dpaa/dpaa_ethdev.c