[dpdk-dev] [PATCH 2/3] net/mlx5: fix wrong htons

2016-11-17 Thread Adrien Mazarguil
On Thu, Nov 17, 2016 at 10:49:55AM +0100, Nelio Laranjeiro wrote: > Completion queue entry data uses network endian, to access them we should use > ntoh*(). > > Fixes: c305090bbaf8 ("net/mlx5: replace countdown with threshold for Tx > completions") > > CC: stable at dpdk.org > Reported-by: Limin

[dpdk-dev] [PATCH 2/3] net/mlx5: fix wrong htons

2016-11-17 Thread Nelio Laranjeiro
Completion queue entry data uses network endian, to access them we should use ntoh*(). Fixes: c305090bbaf8 ("net/mlx5: replace countdown with threshold for Tx completions") CC: stable at dpdk.org Reported-by: Liming Sun Signed-off-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.c | 2 +-