On Fri, Feb 02, 2018 at 01:33:01PM +0530, Hemant Agrawal wrote:
> From: Nipun Gupta <nipun.gu...@nxp.com>
> The existing rte_eal_mbuf_default mempool ops can return the compile time
> default ops name if the user has not provided command line inputs for
> mempool ops name. It will break the logic of best mempool ops as it will
> never return platform hw mempool ops.
> This patch introduces a new API to just return the user mempool ops only.
> Fixes: 8b0f7f434132 ("mbuf: maintain user and compile time mempool ops name")
> Signed-off-by: Nipun Gupta <nipun.gu...@nxp.com>

This option is fine for me. I think we may also consider deprecating
rte_eal_mbuf_default_mempool_ops(), as it is done in option 2.

Acked-by: Olivier Matz <olivier.m...@6wind.com>

Reply via email to