net/mlx5: fix metadata for compressed Rx CQEs
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Tue, 24 Mar 2020 12:15:18 +0000 (12:15 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit70fa0b4ed083ea2444848716f5d396aba499b560
tree52de3e80282f28bc0322bd738a79babcb738a264
parent53ac93f71ad152156d84241c5ee0e1a0d0321378
net/mlx5: fix metadata for compressed Rx CQEs

If packets with the same metadata are received with compressed CQE
the metadata value is not copied from the title packet in vectorized
rx_burst routines, it causes wrong metadata values seeing by
applications.

Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
drivers/net/mlx5/mlx5_rxtx_vec_neon.h
drivers/net/mlx5/mlx5_rxtx_vec_sse.h