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

Mcnamara, John john.mcnamara at intel.com
Thu Nov 10 17:47:38 CET 2016


> -----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 <reshma.pattan at gmail.com>
> Subject: [dpdk-dev] [PATCH] pdump: fix log message to display correct
> error number
> 
> 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: Reshma Pattan <reshma.pattan at gmail.com>

Acked-by: John McNamara <john.mcnamara at intel.com>



More information about the dev mailing list