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 BFC26A0C53; Wed, 3 Nov 2021 08:59:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A9484114D; Wed, 3 Nov 2021 08:59:15 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2075.outbound.protection.outlook.com [40.107.223.75]) by mails.dpdk.org (Postfix) with ESMTP id 8021D41149; Wed, 3 Nov 2021 08:59:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PnI0icz5GFJjKH8oCE9eWwdbLj1JSdjXFhlxegosUoVIiGA6AW65MrjBouwp6XBGSHhs4u4I0SkN/Y/8gYbPXqcn6UhfX+SFQMulA8prz5M37nIQeWN6BsBqQUORyk/dXtxQjMaJ0qXbyotAh0ut2QATQNNWs/FXTIRdAFQJI8lKG5/XduOvRRYNiDlnQU5Oydis2Zt3SRAglYNa7t4xpskOX5ncbT9DZueWqw3b4TWDRD2dI6reo9KGRGHMsHcf3N/lVoFooTBIvqrHpaw7oeG9bdfvzNRQ0SqlUU4nP2YcDINIsyPSlViTlT3KUcCdFlnKHiVNu4m3kEGkbqoKjg== 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=h+b44NB3rVhYiTb3+8DqJiz7uRrWJgDMAw+nbcJE+rw=; b=fbkE5q5ZQFz3Y9Wk0gTpe0XigRmYhxt8F8D/NVB0s/FO8FsfRcOe5j1AXeejHNWG8yDgu2gz3duMUol+s2nC2A7Y0wiyYBrM6SqY5p0DGmXiyEmMpOiTzfCiIjuh001ORhFowema90Y2yeAMqWrfiAn3UC1mmQ4xa7kPN4LAth/w9dO/jHM2hYYwo47sQ/gqK8ukTCi09n4G2asoYThI6sH85Dd6YyPWOjbWGX9PpBW1ivAjsaEUlvGPPQcEgHbFzt0B2SVjTaa8c5FMuGjyUTyvhKZS/tkbqv+oLsBrHnbCuE2e91Tv/ODT1UfBL25VYoPO75BujXLLG+38Lfc8fQ== 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=h+b44NB3rVhYiTb3+8DqJiz7uRrWJgDMAw+nbcJE+rw=; b=Vb2iLncMegZXc2uKZMzLNN9twb1SJqK+FL91y8pPDowqwFWRHeQ67LvB38TiQBy4X7j5mX7no5+1SWJyKBIsAfWB2vqmD9fmBOG47T2qnEF9mAtWNxB3i+DWKpC4dw5Q5sdvy+gWY8gAWvzSVHqkM2M+ZfpIpwXLsA5VGDKyJWeajPpfWNFacettIEa89lRTgAEp1eOi0isk5mZsnlQMJCZnwLNoAxqzRwmWcg8NNpwmkFaumWXO5tjCvmOvRsiJV5zpVOomoBrS43gTTYzMByhOic7PPB7h8QA01KQM0yYrbSUVnk1WPApvDqH3eCGvgCEKQq30fqomIM+nFnpkAw== Received: from MW4PR03CA0235.namprd03.prod.outlook.com (2603:10b6:303:b9::30) by CY4PR1201MB0264.namprd12.prod.outlook.com (2603:10b6:910:1e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Wed, 3 Nov 2021 07:59:12 +0000 Received: from CO1NAM11FT014.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b9:cafe::6c) by MW4PR03CA0235.outlook.office365.com (2603:10b6:303:b9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Wed, 3 Nov 2021 07:59:11 +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 CO1NAM11FT014.mail.protection.outlook.com (10.13.175.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 3 Nov 2021 07:59:11 +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, 3 Nov 2021 07:59:08 +0000 From: Xueming Li To: CC: , Lior Margalit , , , David Christensen , Matan Azrad , Yongseok Koh Date: Wed, 3 Nov 2021 15:58:26 +0800 Message-ID: <20211103075838.1486056-3-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211103075838.1486056-1-xuemingl@nvidia.com> References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211103075838.1486056-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: 150896e1-52bb-4d6d-9c5c-08d99e9fd286 X-MS-TrafficTypeDiagnostic: CY4PR1201MB0264: 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: yQjJjsYo4yzsi+bUqT/xa1YGBR2OMl6GL1z0TVUkOZtn9wKADZaSP+ZGo+38zMfp4CirdJhYuGGm6H1NtX2Q23cqK6XoyhtGmCsC0Z3AVULEIQqF4fif5wIy/KMf+UGCittdicv1CEP36BVYbQb/W1MWK77f/g6cJD7N/H13Rw6/6TFs7ghVS6OxIPMnI6hfDBDpexKWnCNsNlWmkIXO1g1StVbHstzEn7DClXoDfY/eU9wboEj71zFEd4MEI3Qvjy1n/2xqwYat89jLP5OK5wfW8g6cTBS3eoDaTar97Q44t42Kuv0dNx/WyxpfqHnEubWvgzS5hZNf7SHEUXgTPIKNOGQRooSBxzUKBZw/2cINCPrc8Z7r6JdAFABYt78A5lD6G4W74hdpnqc5WQr1oQQIhNOJBnwnBPFd4yaIlNt1oy6ZwhX9ZoV/z6W9AEz3svUaMkz+BSwKwX1RyTSO47LrwpuCE+qppzR4uDCxIa2uyedJz4NBwKrKNzoDZVkkc5lSsKFOwM5KGjMwfOA8SvouW2cHdl+LxulA6kGRLyKttTJJOf7bnTmtgF756uoBiUe5bIqFa+sd2xf3/i8OXiMwFEgoU3Bx2AotQMIZ4+HZxFSmu6PNSRuJo+0lVXwyTUeLxDbBTa97BWOzPf/uLrgHW4rNFL6M1sR2hHgqo52iMz92VQiXdT4tyZomu9dX/lXGDoHyhavMjeFiYJCe8A== 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)(7636003)(26005)(336012)(6286002)(36860700001)(6916009)(5660300002)(47076005)(186003)(16526019)(356005)(1076003)(70206006)(86362001)(70586007)(36756003)(2906002)(4326008)(55016002)(36906005)(2616005)(82310400003)(8676002)(6666004)(508600001)(54906003)(8936002)(107886003)(7696005)(83380400001)(316002)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2021 07:59:11.7572 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 150896e1-52bb-4d6d-9c5c-08d99e9fd286 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: CO1NAM11FT014.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0264 Subject: [dpdk-dev] [PATCH v3 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 --- 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