[dpdk-dev] [PATCH v5] mempool: return 0 if area is too small on populate
Thomas Monjalon
thomas at monjalon.net
Tue May 5 00:30:07 CEST 2020
04/05/2020 17:47, Lukasz Wojciechowski:
> W dniu 04.05.2020 o 14:54, Andrew Rybchenko pisze:
> > On 5/4/20 3:49 PM, Olivier Matz wrote:
> >> Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to
> >> return 0 instead of -EINVAL when there is not enough room to store one
> >> object, as it can be helpful for applications to distinguish this
> >> specific case.
> >>
> >> As this is an ABI change, use symbol versioning to preserve old
> >> behavior for binary applications.
> >>
> >> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> >> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
> Acked-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
Applied, thanks
More information about the dev
mailing list