[dpdk-dev] [PATCH] net/mlx5: fix statistics for error packets on vectorized Rx

Thomas Monjalon thomas at monjalon.net
Thu Aug 3 23:28:42 CEST 2017


02/08/2017 19:25, Yongseok Koh:
> If there's a Rx completion with error (e.g, MTU mismatch), it is handled
> later out of main burst loop as a slow path for performance reason.
> Statistics should be corrected by subtracting counters of errored packets.
> Also, the last entry of mlx5_ptype_table[] must be RTE_PTYPE_ALL_MASK to
> mark error in completion.
> 
> Fixes: ea16068c0064 ("net/mlx5: fix L4 packet type support")
> Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86")
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Applied, thanks



More information about the dev mailing list