From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76320A034F for ; Mon, 6 Dec 2021 09:27:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 368CD40040; Mon, 6 Dec 2021 09:27:10 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id A9CAE40040 for ; Mon, 6 Dec 2021 09:27:09 +0100 (CET) Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 6622B3F1BF for ; Mon, 6 Dec 2021 08:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638779229; bh=mp4KbPx6NzZ6f21VEYRvePU7CCoFvi/gAzItt39vK4A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ksnCSHpBr+/rmGEO/dBJPpesJzB2WI5ZiDxxLFIA5c5XB62WaFOj5QWVmHa8ePj9x ZAMWC2py43qtl0wScyPjOZmohO6Yt61c+/B6UOtvk/IWDVwDhbC+h87QxA4P+uOP/E wFIxx0cw/nSLxlrVh6J7lCa+6ENwxES9YmRKJdaeJz3KbEYO54Q0A0TIE2WpwHfMvW edmuLQjBdIqVLnwI5f2xe0puacfzdMGFayRW6uWrztd9Ixeg3iMB3tFcJwG78LqYUA MmxiAGnJIbVMSuScFD9MurppD3FKNIRdbJRsbfehJPQQ8Xha7qYoMkL0NyHRcjvLot F6kTOPytBJezQ== Received: by mail-qv1-f70.google.com with SMTP id jz2-20020a0562140e6200b003bd6c62be47so10948067qvb.11 for ; Mon, 06 Dec 2021 00:27:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mp4KbPx6NzZ6f21VEYRvePU7CCoFvi/gAzItt39vK4A=; b=XikSW8YivhpTB1qelAGqyZjvVFxl5ZoUXYzm9GjRZUDpWILNxuY78uvZMFNiAwHWeH GFCBqFBmwJobQoFzB2XtEEQAoPmS/o8aQBzxGE0cwKvrdVY1CQInB7wM5MO73ejH7lSk KffRkm2KZ+eERszVd5TI0eqYXaIWMBRtXe1M61D4p3BnrlqsEbkAHQcl+7f3kKa3qXsI AKifPkK27tFxSWcspruHbkhGgoUpgoxGQKIXqGAqYjtpyqi17WN0W7o4sFbHP+9Jx4CR PascIxOkpRgj4QHYs7WacUdclVitpeh/ehZKdP4HElqnpn98M12bwBkDovg8Bm7YkCLG fEZQ== X-Gm-Message-State: AOAM531oRF//0XrKc4pvzm/yJqYkSImsYpPzf47XX0yCGRmX/Ds+Drh7 GNwZoLpH3B9BR4+FQe8jesDanhPrSCq9gJX4zFG38esktS0X4JI1HF2elz9Lvj/dKjs8XTB5phl K3cmFFEpMvzYubajICrURZ8JQjqOnxn7M1ki4y70V X-Received: by 2002:a0c:ef4c:: with SMTP id t12mr35763873qvs.110.1638779228428; Mon, 06 Dec 2021 00:27:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbRinfHzqn+fsQFp89GdtXkY3ieEIXxelfUQbdy/71O2crs0KUxTjZyaA15VRRU30d06fiSdnV0yMFhjD1RGs= X-Received: by 2002:a0c:ef4c:: with SMTP id t12mr35763856qvs.110.1638779228242; Mon, 06 Dec 2021 00:27:08 -0800 (PST) MIME-Version: 1.0 References: <20211130165621.2467243-1-christian.ehrhardt@canonical.com> <20211203085833.924824-1-xuemingl@nvidia.com> In-Reply-To: <20211203085833.924824-1-xuemingl@nvidia.com> From: Christian Ehrhardt Date: Mon, 6 Dec 2021 09:26:42 +0100 Message-ID: Subject: Re: [PATCH 19.11] net/mlx5: fix Altivec Rx To: Xueming Li Cc: stable@dpdk.org, Viacheslav Ovsiienko Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Fri, Dec 3, 2021 at 9:59 AM Xueming Li 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 > Acked-by: Viacheslav Ovsiienko > --- > 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