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 DD9E5A034F for ; Wed, 10 Nov 2021 07:58:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D890D40142; Wed, 10 Nov 2021 07:58:39 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2046.outbound.protection.outlook.com [40.107.236.46]) by mails.dpdk.org (Postfix) with ESMTP id 929F940142 for ; Wed, 10 Nov 2021 07:58:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ojn/wlA/y4P4vwfQ6fIK6kGcJbVpALqK9VBE3tDt2oOcp3TP+pi95A0J/O8/Zhuc6Ytr4sV1G3bfk5/PS3qxAwuzr07IiPhqFcAqLs+YPcC7glTpXAB3sU1+G+C7QYTz4lxJ1x7Zs9D7D83JDem/9hMxKYmJ9EP8XFHS0yglPfLo/aoZAHkYHpIbSETKDvxM9wtaT/QcFbgPf4zIbFBMOjn1pyOW+avEdFZqBWS812y8EP0dseVYwP0ThBisQUyYuDKOzZ1NQZPZEHVFL970o6TbYw85yDZhPYzPSIkm1qvebelcp+kCQMpf2qyIID1aw0QzyRk5C3QaS/Fm1eznMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rO1IAZTYwuLmiD/G86Qyd3Swz1LHNn5mSrRiRK61E+g=; b=F8U9A4fgRqW2LcfXfhFlDO4RMcwc30SMKg4uebqER/hQIuBZMMVVTOdXY0Tlm3GlrJO8UryGaI2mmb29s22kegNXp+he9LWpxjkZc2SGgF9pcYKfFb+X4SdfdRAMnLvznO013baMvnAWVUDNc4jel1jt/FqywcMs2mYF++Tuau2+bE8ZNV3xnNQjRiDetn38u9d3D7JxKXcZIWhMLlVW+pTNRIE5D2EY11zGBo3xp3H+HMb+cLqAvF6N9DlBcQ8VW8/RBg5ClRka4/IhXBN26jbsSAQb4Qo2t1YegOiwV0iEu+d8ofyKM08EHyUCL/a80ZSMYx0AFTSKhoT49eoXzA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rO1IAZTYwuLmiD/G86Qyd3Swz1LHNn5mSrRiRK61E+g=; b=LrYXfLLm1s+MIPOknn/wN1s7dCA/j0diOwHIsyYxRRgTRMh7cT2EaWJEqYXKfv6+9uOKik1UeJeGBSnbuRGg7ZFzD4mL50Gx82vZsSNXAEkR8yL3yYIXpva2Zhf6AnUmal/wTiLv3aXyYTTXwaQWEhRfYcU34HX6v2kk4xYDh0Y7WSgPtarysrWGMv6hfOCwtZxzXLw6hJtqRUIDsLSPq/xVj0ZSHM7TM/bXY5/cgViJkKWFq5+AsZhd0++GYBMbRpSmBlQDp2kAIRWK4pR8Fh85CEV0BQPZ1cGCgv1GnR37eweeqlsNh2VUwL+iCTjot0wndXz5KX1vXNgIpWm4sw== Received: from DS7PR06CA0029.namprd06.prod.outlook.com (2603:10b6:8:54::29) by BYAPR12MB3239.namprd12.prod.outlook.com (2603:10b6:a03:137::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Wed, 10 Nov 2021 06:58:37 +0000 Received: from DM6NAM11FT056.eop-nam11.prod.protection.outlook.com (2603:10b6:8:54:cafe::7a) by DS7PR06CA0029.outlook.office365.com (2603:10b6:8:54::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:58:36 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT056.mail.protection.outlook.com (10.13.173.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:58:36 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:58:32 +0000 From: Xueming Li To: Xueming Li CC: Luca Boccassi , Viacheslav Ovsiienko , dpdk stable Date: Wed, 10 Nov 2021 14:32:00 +0800 Message-ID: <20211110063216.2744012-237-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1b4c76b-d0d9-44a9-ebbb-08d9a41784a1 X-MS-TrafficTypeDiagnostic: BYAPR12MB3239: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0n1MTADfoyVtYh1pli+/MYuUJ4BtWhCaLf6TEAdkF9dRJAxqViQz2SwgV2cxtmWABcTZ15kEL/KVoKN8QFtfYn6HlotdLszNmgtXdFbdrF6iuXeu5lGlegZWsSe178HVSoqhs05/dHfEDFdkeX1KGO8uZ5644WpOUoIzAczl75QwCQB1oVBaVlWaSQJsycgWx7hvwGIOuw/9uOpHV5FueQS71aEeGDV8XJ+2xIHn4ORu1H61DFL5XLCD+wb7xGHeIsruZoDcUBM+n+pRYx3GYVHaR4zhj0xRT1cHsBIYLEvBZdbyaOZtSidOpHjzBu5pEovbE0IZ5AFMXxJ0mgjrc/sfw4UwFNLttezt16r+4YvaKGB0BuX2GUr0ndF+HxDQEsXIcdjn7YuCfbveS+aB2IZ1lBQV5yOd/FyV1ED0ZqHTYRu74y8ftJK+JqFbOjFhF6J7pml4C5wOWj9lUNLyCkYXtXhPFtqerHiXA5dBKvkdu8x1yn/0vVP4mVYl8LorXZI1qNu602RCy5ZFrkqx9cEIDqSaA+N60bn5TQgoXorEl7K6Ng5Pfvtt6DZ72M17q1gpWUHpdJOf1NPwBxt+sDgP/H27QbzWZNiCyDG+jU9BPGzmqCDi0hfDYzYYklYbgU1tCCaE3ZTVHQjeLB/HLRgqId4CN+72Fad7TEx4D3V8uDPvWVWHKuDfdRyCA1mU+IPUycMfSjSGB6d5wpbE5PEzv6zBMnhOX/RCKIL1vXXbWPXZCWjl423O0N0xPW2aGiFLi2VnsNsVi7KeHSX1MbXMY/Uq+kwiM4CTwr4XqrOVgXLwzzZFajStc/S9NRlMwQ813KjK5Oaov2dsVy7YYg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(966005)(186003)(53546011)(2906002)(336012)(426003)(6666004)(83380400001)(508600001)(5660300002)(16526019)(4326008)(19627235002)(8676002)(70206006)(7696005)(70586007)(8936002)(316002)(37006003)(4001150100001)(6200100001)(1076003)(54906003)(55016002)(86362001)(47076005)(7636003)(6286002)(2616005)(82310400003)(356005)(6862004)(36860700001)(36756003)(7049001)(26005)(36906005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:58:36.4893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e1b4c76b-d0d9-44a9-ebbb-08d9a41784a1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT056.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3239 Subject: [dpdk-stable] patch 'net/mlx5: fix Altivec Rx' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/22f7bcd2d8dff141861b539d4a6597d3b61f8006 Thanks. Xueming Li --- >From 22f7bcd2d8dff141861b539d4a6597d3b61f8006 Mon Sep 17 00:00:00 2001 From: Xueming Li Date: Thu, 4 Nov 2021 20:33:08 +0800 Subject: [PATCH] net/mlx5: fix Altivec Rx Cc: Xueming Li [ upstream commit 68fa62924de4fed4c241db9b7fcb58e66f62a2f9 ] This patch fixes stale field reference. Fixes: a18ac6113331 ("net/mlx5: add metadata support to Rx datapath") 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 171dcb411e..2a338dbf5a 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 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:12.291950954 +0800 +++ 0236-net-mlx5-fix-Altivec-Rx.patch 2021-11-10 14:17:02.067411148 +0800 @@ -1 +1 @@ -From 68fa62924de4fed4c241db9b7fcb58e66f62a2f9 Mon Sep 17 00:00:00 2001 +From 22f7bcd2d8dff141861b539d4a6597d3b61f8006 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 68fa62924de4fed4c241db9b7fcb58e66f62a2f9 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index bcf487c34e..1d00c1c43d 100644 +index 171dcb411e..2a338dbf5a 100644