patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
To: Xueming Li <xuemingl@nvidia.com>
Cc: stable@dpdk.org, Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Subject: Re: [PATCH 19.11] net/mlx5: fix Altivec Rx
Date: Mon, 6 Dec 2021 09:26:42 +0100	[thread overview]
Message-ID: <CAATJJ0KiJyK8RBi1AVEMUh=OUCk3Tx1-NkamMMKD1-_1TbY0OQ@mail.gmail.com> (raw)
In-Reply-To: <20211203085833.924824-1-xuemingl@nvidia.com>

On Fri, Dec 3, 2021 at 9:59 AM Xueming Li <xuemingl@nvidia.com> wrote:
>
> [ upstream commit 68fa62924de4fed4c241db9b7fcb58e66f62a2f9 ]
>
> This patch fixes stale field reference.

Applied, thanks

> Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath")
> Cc: stable@dpdk.org
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> Acked-by: Viacheslav 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 acbc329674a..576bc627b7b 100644
> --- a/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
> +++ b/drivers/net/mlx5/mlx5_rxtx_vec_altivec.h
> @@ -808,10 +808,10 @@ rxq_burst_v(struct mlx5_rxq_data *rxq, struct rte_mbuf **pkts, uint16_t pkts_n,
>                         (vector unsigned short)cqe_tmp1, cqe_sel_mask1);
>                 cqe_tmp2 = (vector unsigned char)(vector unsigned long){
>                         *(__attribute__((__aligned__(8))) unsigned long *)
> -                       &cq[pos + p3].rsvd3[9], 0LL};
> +                       &cq[pos + p3].rsvd4[2], 0LL};
>                 cqe_tmp1 = (vector unsigned char)(vector unsigned long){
>                         *(__attribute__((__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,
> @@ -871,10 +871,10 @@ rxq_burst_v(struct mlx5_rxq_data *rxq, struct rte_mbuf **pkts, uint16_t pkts_n,
>                         (vector unsigned short)cqe_tmp1, cqe_sel_mask1);
>                 cqe_tmp2 = (vector unsigned char)(vector unsigned long){
>                         *(__attribute__((__aligned__(8))) unsigned long *)
> -                       &cq[pos + p1].rsvd3[9], 0LL};
> +                       &cq[pos + p1].rsvd4[2], 0LL};
>                 cqe_tmp1 = (vector unsigned char)(vector unsigned long){
>                         *(__attribute__((__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.34.0
>


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

      reply	other threads:[~2021-12-06  8:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211130165621.2467243-1-christian.ehrhardt@canonical.com>
     [not found] ` <CAATJJ0+ndH8WxJUisy4aJhxX3=o+K_KjGqCdJzp7tKOwtFs0yw@mail.gmail.com>
2021-12-02 20:18   ` please help backporting some patches to stable release 19.11.11 Maxime Coquelin
2021-12-03  6:22     ` Christian Ehrhardt
2021-12-03  2:07   ` Ding, Xuan
2021-12-03  6:27     ` Christian Ehrhardt
2021-12-06  8:12       ` Ding, Xuan
2021-12-06 14:27         ` Christian Ehrhardt
2021-12-07  8:47           ` Ding, Xuan
2021-12-03  8:58 ` [PATCH 19.11] net/mlx5: fix Altivec Rx Xueming Li
2021-12-06  8:26   ` Christian Ehrhardt [this message]

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='CAATJJ0KiJyK8RBi1AVEMUh=OUCk3Tx1-NkamMMKD1-_1TbY0OQ@mail.gmail.com' \
    --to=christian.ehrhardt@canonical.com \
    --cc=stable@dpdk.org \
    --cc=viacheslavo@nvidia.com \
    --cc=xuemingl@nvidia.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).