Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-17 Thread Thomas Monjalon
17/10/2020 01:43, Ferruh Yigit: > On 10/16/2020 10:58 PM, Ferruh Yigit wrote: > > On 10/16/2020 1:05 PM, Ferruh Yigit wrote: > >> On 10/13/2020 4:32 PM, Ferruh Yigit wrote: > >>> On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: > Use ENODEV as the error code if specified port ID is invalid. > >>

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-16 Thread Ferruh Yigit
On 10/16/2020 10:58 PM, Ferruh Yigit wrote: On 10/16/2020 1:05 PM, Ferruh Yigit wrote: On 10/13/2020 4:32 PM, Ferruh Yigit wrote: On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko ---   lib/librte_ethd

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-16 Thread Ferruh Yigit
On 10/16/2020 1:05 PM, Ferruh Yigit wrote: On 10/13/2020 4:32 PM, Ferruh Yigit wrote: On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko ---   lib/librte_ethdev/rte_ethdev.c | 44

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-16 Thread Ferruh Yigit
On 10/13/2020 4:32 PM, Ferruh Yigit wrote: On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko ---   lib/librte_ethdev/rte_ethdev.c | 44   lib/librte_ethdev/rte_ethdev.h |

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-14 Thread Ferruh Yigit
On 10/14/2020 7:16 AM, Andrew Rybchenko wrote: On 10/13/20 7:12 PM, Ferruh Yigit wrote: On 10/13/2020 4:39 PM, Andrew Rybchenko wrote: On 10/13/20 6:32 PM, Ferruh Yigit wrote: On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Andrew Rybchenko
On 10/13/20 7:12 PM, Ferruh Yigit wrote: > On 10/13/2020 4:39 PM, Andrew Rybchenko wrote: >> On 10/13/20 6:32 PM, Ferruh Yigit wrote: >>> On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Ferruh Yigit
On 10/13/2020 4:39 PM, Andrew Rybchenko wrote: On 10/13/20 6:32 PM, Ferruh Yigit wrote: On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko ---   lib/librte_ethdev/rte_ethdev.c | 44 -

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Thomas Monjalon
13/10/2020 17:32, Ferruh Yigit: > On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: > > Use ENODEV as the error code if specified port ID is invalid. > > > > Signed-off-by: Andrew Rybchenko > > --- > > lib/librte_ethdev/rte_ethdev.c | 44 > > lib/librte_ethdev/rte

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Andrew Rybchenko
On 10/13/20 6:32 PM, Ferruh Yigit wrote: > On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: >> Use ENODEV as the error code if specified port ID is invalid. >> >> Signed-off-by: Andrew Rybchenko >> --- >>   lib/librte_ethdev/rte_ethdev.c | 44 >>   lib/librte_ethdev/r

Re: [dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Ferruh Yigit
On 10/13/2020 3:53 PM, Andrew Rybchenko wrote: Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko --- lib/librte_ethdev/rte_ethdev.c | 44 lib/librte_ethdev/rte_ethdev.h | 46 +++--- 2 fi

[dpdk-dev] [PATCH] ethdev: unify error code if port ID is invalid

2020-10-13 Thread Andrew Rybchenko
Use ENODEV as the error code if specified port ID is invalid. Signed-off-by: Andrew Rybchenko --- lib/librte_ethdev/rte_ethdev.c | 44 lib/librte_ethdev/rte_ethdev.h | 46 +++--- 2 files changed, 54 insertions(+), 36 deletions(-) diff