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

2017-08-03 Thread Thomas Monjalon
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[]

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

2017-08-02 Thread 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