net/mlx5: fix mark id retrieval
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 30 Mar 2017 12:45:37 +0000 (14:45 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:03:01 +0000 (19:03 +0200)
commitc604f61978889b2d205b312d778f5c50b323a349
tree51c071815e25a72d744efc014d8ad80b0690a9fd
parent005870b4d3a1f6ac2e0f492b57d502e09f1565f3
net/mlx5: fix mark id retrieval

Mark ID in the completion queue entry is 24 bits, the remaining 8 bits are
reserved and may be nonzero. Do not take them into account when looking for
marked packets.

Fixes: ea3bc3b1df94 ("net/mlx5: support mark flow action")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_rxtx.c