[dpdk-dev] [PATCH] pdump: fix log message to display correct error number

2016-11-12 Thread Thomas Monjalon
> > The ethdev Rx/Tx remove callback apis doesn't set rte_errno during > > failures, instead they just return negative error number, so using > > that number in logs instead of rte_errno upon Rx and Tx callback > > removal failures. > > > > Fixes: 278f9454 ("pdump: add new library for packet captu

[dpdk-dev] [PATCH] pdump: fix log message to display correct error number

2016-11-10 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Thursday, November 10, 2016 4:30 PM > To: dev at dpdk.org > Cc: Reshma Pattan > Subject: [dpdk-dev] [PATCH] pdump: fix log message to display correct error > number

[dpdk-dev] [PATCH] pdump: fix log message to display correct error number

2016-11-10 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Thursday, November 10, 2016 4:30 PM > To: dev at dpdk.org > Cc: Reshma Pattan > Subject: [dpdk-dev] [PATCH] pdump: fix log message to display correct > error number

[dpdk-dev] [PATCH] pdump: fix log message to display correct error number

2016-11-10 Thread Reshma Pattan
The ethdev Rx/Tx remove callback apis doesn't set rte_errno during failures, instead they just return negative error number, so using that number in logs instead of rte_errno upon Rx and Tx callback removal failures. Fixes: 278f9454 ("pdump: add new library for packet capture") Signed-off-by: Res