[dpdk-dev] [PATCH 2/2] examples/ethtool: allocate only one mempool

Bruce Richardson bruce.richardson at intel.com
Wed Mar 13 11:34:52 CET 2019


On Wed, Mar 13, 2019 at 11:09:10AM +0100, Thomas Monjalon wrote:
> No need to allocate one mempool per port.
> The number of mbufs is fixed for simplicity.
>
While it's simpler to use a fixed number of mbufs, having a fixed number
of mbufs multiplied by the number of ports is safer IMHO, and not really that
much more complicated.

Otherwise, fully agree with the principle of the change.

/Bruce


More information about the dev mailing list