net/ice: fix ptype parsing
authorTing Xu <ting.xu@intel.com>
Wed, 16 Sep 2020 03:02:28 +0000 (11:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:11 +0000 (18:55 +0200)
commit0ff55924712e2a35476c0929235b21d2b77d9f97
treebf9e4703e7954bc1ce6de35d3d9c3f4e911a05a8
parent0acf70d473072fd77b667a0419f8b9ab70b35b39
net/ice: fix ptype parsing

The ptype mask for flexible descriptor in Rx function ice_recv_pkts_vec
has a reversed order, which leads to an incorrect value of the final
ptype. This patch fix the mask to parse the correct ptype of RX packets.

Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx")
Cc: stable@dpdk.org
Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_rxtx_vec_sse.c