Re: [dpdk-dev] [RFC PATCH 1/2] ethdev: add function to adjust number of descriptors

2017-04-25 Thread Andrew Rybchenko
Hi, On 04/24/2017 06:13 PM, Thomas Monjalon wrote: Hi, 02/03/2017 14:05, Andrew Rybchenko: From: Roman Zhukov 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 Signed

Re: [dpdk-dev] [RFC PATCH 1/2] ethdev: add function to adjust number of descriptors

2017-04-24 Thread Thomas Monjalon
Hi, 02/03/2017 14:05, Andrew Rybchenko: > From: Roman Zhukov > > 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 > Signed-off-by: Andrew Rybchenko I think this

[dpdk-dev] [RFC PATCH 1/2] ethdev: add function to adjust number of descriptors

2017-03-02 Thread Andrew Rybchenko
From: Roman Zhukov 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 Signed-off-by: Andrew Rybchenko --- lib/librte_ether/rte_ethdev.c | 37