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

2017-07-08 Thread Thomas Monjalon
06/07/2017 01:00, Thomas Monjalon: > 14/06/2017 12:37, Andrew Rybchenko: > > On 05/25/2017 08:40 PM, Stephen Hemminger wrote: > > > On Thu, 25 May 2017 16:57:53 +0100 > > > Andrew Rybchenko wrote: > > > > > >> From: Roman Zhukov > > >> > > >> Check that numbers of Rx and Tx descriptors satisfy de

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

2017-07-05 Thread Thomas Monjalon
14/06/2017 12:37, Andrew Rybchenko: > On 05/25/2017 08:40 PM, Stephen Hemminger wrote: > > On Thu, 25 May 2017 16:57:53 +0100 > > Andrew Rybchenko wrote: > > > >> From: Roman Zhukov > >> > >> Check that numbers of Rx and Tx descriptors satisfy descriptors limits > >> from the Ethernet device info

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

2017-06-14 Thread Andrew Rybchenko
On 05/25/2017 08:40 PM, Stephen Hemminger wrote: On Thu, 25 May 2017 16:57:53 +0100 Andrew Rybchenko wrote: 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: Rom

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

2017-05-25 Thread Stephen Hemminger
On Thu, 25 May 2017 16:57:53 +0100 Andrew Rybchenko wrote: > 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 Rybch

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

2017-05-25 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