On Thu, 25 May 2017 16:57:53 +0100 Andrew Rybchenko <[email protected]> wrote:
> From: Roman Zhukov <[email protected]> > > 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 <[email protected]> > Signed-off-by: Andrew Rybchenko <[email protected]> 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.

