From: David Christensen <drc@linux.vnet.ibm.com>
To: Xueming Li <xuemingl@nvidia.com>, dev@dpdk.org
Cc: Lior Margalit <lmargalit@nvidia.com>,
viacheslavo@nvidia.com, stable@dpdk.org,
Matan Azrad <matan@nvidia.com>, Yongseok Koh <yskoh@mellanox.com>
Subject: Re: [dpdk-stable] [PATCH v4 02/14] net/mlx5: fix field reference for PPC
Date: Thu, 4 Nov 2021 10:49:23 -0700 [thread overview]
Message-ID: <e19a1690-bf27-9abb-0813-2aa6388f3eb1@linux.vnet.ibm.com> (raw)
In-Reply-To: <20211104123320.1638915-3-xuemingl@nvidia.com>
On 11/4/21 5:33 AM, Xueming Li wrote:
> This patch fixes stale field reference.
>
> Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath")
> Cc: viacheslavo@nvidia.com
> Cc: stable@dpdk.org
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> Acked-by: Slava Ovsiienko <viacheslavo@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);
>
Reviewed-by: David Christensen <drc@linux.vnet.ibm.com>
next prev parent reply other threads:[~2021-11-04 17:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210727034204.20649-1-xuemingl@nvidia.com>
[not found] ` <20211103075838.1486056-1-xuemingl@nvidia.com>
2021-11-03 7:58 ` [dpdk-stable] [PATCH v3 " Xueming Li
2021-11-03 7:58 ` [dpdk-stable] [PATCH v3 05/14] net/mlx5: fix Rx queue memory allocation return value Xueming Li
[not found] ` <20211104123320.1638915-1-xuemingl@nvidia.com>
2021-11-04 12:33 ` [dpdk-stable] [PATCH v4 02/14] net/mlx5: fix field reference for PPC Xueming Li
2021-11-04 17:07 ` [dpdk-stable] [dpdk-dev] " Raslan Darawsheh
2021-11-04 17:49 ` David Christensen [this message]
2021-11-04 12:33 ` [dpdk-stable] [PATCH v4 05/14] net/mlx5: fix Rx queue memory allocation return value Xueming Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e19a1690-bf27-9abb-0813-2aa6388f3eb1@linux.vnet.ibm.com \
--to=drc@linux.vnet.ibm.com \
--cc=dev@dpdk.org \
--cc=lmargalit@nvidia.com \
--cc=matan@nvidia.com \
--cc=stable@dpdk.org \
--cc=viacheslavo@nvidia.com \
--cc=xuemingl@nvidia.com \
--cc=yskoh@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).