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 15D7DA0C41; Thu, 4 Nov 2021 13:34:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8693426FE; Thu, 4 Nov 2021 13:34:22 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2079.outbound.protection.outlook.com [40.107.220.79]) by mails.dpdk.org (Postfix) with ESMTP id A1C1641144; Thu, 4 Nov 2021 13:34:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O4VZmPEmV2vXwqKQxhgd2v1XOvf+dLxV5g2oSm37qY+BXDmmjTlS0LX12afBSVuu4DoMij07TIDkBUHFLt1z06fRE8Mq8YMDnwqcsG5dMDgJpxqFWW5UdumzQhas65AfelOeibovTUlAqILCfPmvSQtdS+8HNT32oeQDs052Hlh3tN1srQHRpbPSfa8w7W3rgHnSHsd6N4DCeccAQsHshgVyD7Ff6CRLb1UFDtQu29fcTA82He7y7EYlGjUia70qRDRyzJbH8lpohS1370CtY4fD2ry9gpJ6/ZdGD9zVOkaVag7trQ5HvMpDczeOV/HrpqKE3nNuoYCPfLxoypxV7A== 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=qa5R5CGFujP8rE1I6nIBc4tqybvxgI7Jl8RHe4qSjSI=; b=jCl5IbCNJE0EK8+pLNQAJ2CfrCSaSTA7RaalcE2Nx/fCrNBXZpLgpZ2LxcdkgvTOsNwlltLUtxQb3je1wodWXgiHb8GXRX5uMlvONtblj71UBxb5HJn4d93yseUhIQ22bV4STy48aQ8XM1JyR3JVmBBAv9y7StT/Kd1wPesQBH+DTcwXHP/f7ZEetA4royCv55kBU/AdZyneqc8jB0YWJkvcmubYDlIQ3mmUsCHUIIsX6jgChYJTcdUNXfF4klzblKLff6hLphrvelCymIL+xQehWiQryhofUTRKCRy4rasnyng7SZH38PctobBeSi4CKLdqBnGnAf3AAcC97Z+uAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=linux.vnet.ibm.com 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=qa5R5CGFujP8rE1I6nIBc4tqybvxgI7Jl8RHe4qSjSI=; b=q06HqI+5xMtfErUscvCi0kZpoJnb5cG/zsFiWiuEPkoN2fI5IcZK55ZH9hCYKWWZwT9uholJdn0C+R4wwftnkp/+iuMJd9/2TchkqxmqXr3HqHKbJFwdygvZroWITPvYgh8whZZ7xAgC++OQ32oJJ4bd8rQnNfdMDBtlvf37vGYsd9ay+yK7j56pkL1Z+/IsAIXRjGLZhYmSsLRcsJJLA6docY9e2m5D6kY9yXsPA/C3zKG5bBKrgEUw26GMbfnq0NYku44VpDjvSB5LKBu6r4JNGGXBnjNzgtH1krIBuuGzU8IoA95vQ790Hu0GwIvKJWTfAPZLzSuMqzPvs54I6w== Received: from BN6PR17CA0041.namprd17.prod.outlook.com (2603:10b6:405:75::30) by DM6PR12MB4620.namprd12.prod.outlook.com (2603:10b6:5:76::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Thu, 4 Nov 2021 12:34:20 +0000 Received: from BN8NAM11FT058.eop-nam11.prod.protection.outlook.com (2603:10b6:405:75:cafe::c6) by BN6PR17CA0041.outlook.office365.com (2603:10b6:405:75::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Thu, 4 Nov 2021 12:34:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; linux.vnet.ibm.com; dkim=none (message not signed) header.d=none;linux.vnet.ibm.com; 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 BN8NAM11FT058.mail.protection.outlook.com (10.13.177.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Thu, 4 Nov 2021 12:34:19 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 4 Nov 2021 12:33:45 +0000 From: Xueming Li To: CC: , Lior Margalit , , , David Christensen , Matan Azrad , Yongseok Koh Date: Thu, 4 Nov 2021 20:33:08 +0800 Message-ID: <20211104123320.1638915-3-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211104123320.1638915-1-xuemingl@nvidia.com> References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211104123320.1638915-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] 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: f0b7ae9a-16c9-4c6d-2618-08d99f8f6c6f X-MS-TrafficTypeDiagnostic: DM6PR12MB4620: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:361; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OdHYpYRHVgv0eLS+WXzO76brXPNtcqmo0dpVIgxxVl9U55EdtMxhMW2HLdJltiNP5tvwfdQpecuwOp+4ObJ60jWliugdX+SgWUZMicIU9MB0NLGpk7ZI6azOM2jA0095bECEh63PhkVWvjc67A3Z4C8yRK4tURQ/e7hxaOrOfPnf9fwJ+1DVtkf7DQ8Qm5XhdR/mTkB2fs9uWXrThhgwGFhjXtmrZghrvLFbDkU7h9PXCAT8IHs9FRXJJF0iljT+cx85W3MydYQ4STy36aBDBDUd/Eh3xr9Ls7ocUhNDX0EBSYx//dWqkWpl0hB410/tet35EnnFvFpV9p+mV+H87DkRdezyefMqslTj+KNbKg4RzFF/I+uS2uuuT6t/rrAJrL67yrqftf8vbvPhuHhxQ5FbE8ZJ54JUlPjypJVTfslWMRT9JD5O9CuTR1Q226rWPBUlIwwGARNw8Mil50VvoEcl8s05fVbAbZ0JAYWwyY3YPNOIvfpdAk+G4/vvxFZxTtAqspQk214x40oyi45BPHM8a79iDoDjoAQKjimXhi9AxfHTui+xEchyMiBKfrEJswDvBDEUnifW6xEi5xXABl3MTG9hf4Vp+K3I9wGknAF5L1RS46QfGnNvw3DkVTGArsIUs3ILL+X0//+XXPDC5uv4lKl5sY09hteZw6sUJPsX4Z68ENAZ45WtRI7E8DjXee34fmRJcqGIacjRpCdAhw== 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)(336012)(7636003)(2616005)(426003)(54906003)(7696005)(70206006)(6666004)(5660300002)(70586007)(1076003)(16526019)(4326008)(107886003)(186003)(47076005)(8936002)(356005)(2906002)(36860700001)(6286002)(36756003)(82310400003)(26005)(316002)(55016002)(6916009)(508600001)(8676002)(86362001)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2021 12:34:19.6320 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f0b7ae9a-16c9-4c6d-2618-08d99f8f6c6f 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: BN8NAM11FT058.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4620 Subject: [dpdk-dev] [PATCH v4 02/14] net/mlx5: fix field reference for PPC X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Slava 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 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