[dpdk-stable] [PATCH v3 02/14] net/mlx5: fix field reference for PPC
Xueming Li
xuemingl at nvidia.com
Wed Nov 3 08:58:26 CET 2021
This patch fixes stale field reference.
Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath")
Cc: viacheslavo at nvidia.com
Cc: stable at dpdk.org
Signed-off-by: Xueming Li <xuemingl at nvidia.com>
---
drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h b/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
index bcf487c34e9..1d00c1c43d1 100644
--- a/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
+++ b/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
@@ -974,10 +974,10 @@ rxq_cq_process_v(struct mlx5_rxq_data *rxq, volatile struct mlx5_cqe *cq,
(vector unsigned short)cqe_tmp1, cqe_sel_mask1);
cqe_tmp2 = (vector unsigned char)(vector unsigned long){
*(__rte_aligned(8) unsigned long *)
- &cq[pos + p3].rsvd3[9], 0LL};
+ &cq[pos + p3].rsvd4[2], 0LL};
cqe_tmp1 = (vector unsigned char)(vector unsigned long){
*(__rte_aligned(8) unsigned long *)
- &cq[pos + p2].rsvd3[9], 0LL};
+ &cq[pos + p2].rsvd4[2], 0LL};
cqes[3] = (vector unsigned char)
vec_sel((vector unsigned short)cqes[3],
(vector unsigned short)cqe_tmp2,
@@ -1037,10 +1037,10 @@ rxq_cq_process_v(struct mlx5_rxq_data *rxq, volatile struct mlx5_cqe *cq,
(vector unsigned short)cqe_tmp1, cqe_sel_mask1);
cqe_tmp2 = (vector unsigned char)(vector unsigned long){
*(__rte_aligned(8) unsigned long *)
- &cq[pos + p1].rsvd3[9], 0LL};
+ &cq[pos + p1].rsvd4[2], 0LL};
cqe_tmp1 = (vector unsigned char)(vector unsigned long){
*(__rte_aligned(8) unsigned long *)
- &cq[pos].rsvd3[9], 0LL};
+ &cq[pos].rsvd4[2], 0LL};
cqes[1] = (vector unsigned char)
vec_sel((vector unsigned short)cqes[1],
(vector unsigned short)cqe_tmp2, cqe_sel_mask2);
--
2.33.0
More information about the stable
mailing list