On Thu, 25 May 2017 16:57:53 +0100 Andrew Rybchenko <arybche...@solarflare.com> wrote:
> From: Roman Zhukov <roman.zhu...@oktetlabs.ru> > > Check that numbers of Rx and Tx descriptors satisfy descriptors limits > from the Ethernet device information, otherwise adjust them to boundaries. > > Signed-off-by: Roman Zhukov <roman.zhu...@oktetlabs.ru> > Signed-off-by: Andrew Rybchenko <arybche...@solarflare.com> Seems like new added complexity. Why not just allow devices to take the request as a hint and truncate or pad as needed. IMHO to be successful DPDK must have as simple as possible API for application. Good enough and as little more as possible. But other people seem to think that having the richest and most complex possible API is a good thing.