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 B44DEA0548 for ; Fri, 3 Dec 2021 09:59:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7EADF40041; Fri, 3 Dec 2021 09:59:18 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2072.outbound.protection.outlook.com [40.107.92.72]) by mails.dpdk.org (Postfix) with ESMTP id 914AB40041 for ; Fri, 3 Dec 2021 09:59:16 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H9qnRSrbV4U+pnkzB8ay5pdiuERlC5qCTHQikO8hSSg2m0cy3Af1HE/hVCI8NxZQHciKsKLTwEYLfi8KmPTyajqn/+hIUlW8R8E52vs1pJgWZRqJKrJo/l/DJxprbcYJC08cKBYMBvNaosUkKLPhSYqQuLSFdx+cBcYGpNeyJjhzr/PuenKLTC+wT5qe5PwW0X80Q/9ngZaRSVQY57/Q2E/ybfkdWlUtITlCLn7pzy0B2kkfYJbOUbUOtvA2SysF9XtFEjKYBK82ddxaimMaNGylPcG+GZlBnZKsBPgO5qJPVxrmefM1yB60C5dzoEownLEubhInT8HB2IgQgK3ljw== 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=F1rgo3aWS5ccKa+bnIsYGx2tDx1lMPqM+HdU4+0R2Bk=; b=gq5L6BwHLZnJewFQx7naP16Uv7iSJl0yTkZ5ZQ3SBH7F95zxDXjPqr/bt6sHLGG/rH5EFlugTWDzcQ5Nm2uoaabtRqW7pzunym0dEozFVgkwNma8hZDONqJY5jvjS2HG88q9L2z6fLPgEhWtl3fl/fyrr6I7aJve+SIZSqWkgQQQe9UlZWe4Dh+5sC98QcgOqqrul7d8QuvX6fa5+MVO7FkwNL0ZgQ7tPJbgvxbHxJPI4/AbTKqId3Z0sSiUsG0F1NCCMK3hwLGcn1gUlagvew9Z+6+7S2mzX6MyzzWcpjSt+GiK6El0oRV0F1iyqvObAqBkCdJrSly9IRysG0coqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) 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=F1rgo3aWS5ccKa+bnIsYGx2tDx1lMPqM+HdU4+0R2Bk=; b=XsrH+xjEU+yXDrOdFKVkbfvDotrRCXIWYapZsfSGgJwoTa7SXP1CevgH4smI0ewYu3W9Tmdmd7/B8cXPS4mH9lN80d/6iUZ6a8p4gf4/F3JmRzLWdVF8NV8yDZ+pUeP3wSWIZFPeH+idTkrTcTjRcZB1ypN5iABHgLVDStRBP5fU8wmW+9BtEGEDbRlk5m2+NVCSWfGfO4+0bKa7sPe2H7VRPzTjEPNNNoP4eV/jxVvycKmHuVyTf7g1a+iberufjJhjGP6l0pGcz7ytdziTJI/BLogvU8+1ohOci6V0Zc90RBB9Yg8H5guBkuPFrLlyKLed+5AusOdkxaFSIoCmYQ== Received: from DM5PR06CA0072.namprd06.prod.outlook.com (2603:10b6:3:37::34) by MN2PR12MB4550.namprd12.prod.outlook.com (2603:10b6:208:24e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.24; Fri, 3 Dec 2021 08:59:14 +0000 Received: from DM6NAM11FT011.eop-nam11.prod.protection.outlook.com (2603:10b6:3:37:cafe::e0) by DM5PR06CA0072.outlook.office365.com (2603:10b6:3:37::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.17 via Frontend Transport; Fri, 3 Dec 2021 08:59:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by DM6NAM11FT011.mail.protection.outlook.com (10.13.172.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4755.13 via Frontend Transport; Fri, 3 Dec 2021 08:59:14 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 3 Dec 2021 08:58:57 +0000 Received: from nvidia.com (172.20.187.6) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.986.9; Fri, 3 Dec 2021 00:58:55 -0800 From: Xueming Li To: , CC: , Viacheslav Ovsiienko Subject: [PATCH 19.11] net/mlx5: fix Altivec Rx Date: Fri, 3 Dec 2021 10:58:33 +0200 Message-ID: <20211203085833.924824-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211130165621.2467243-1-christian.ehrhardt@canonical.com> References: <20211130165621.2467243-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2a3a6d3d-c643-4ebc-1d5b-08d9b63b2e4f X-MS-TrafficTypeDiagnostic: MN2PR12MB4550: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:67; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TI0yFGCUuZ/QgULMqy5aAFGFrJZANUWFQdiQp2uWOI3mMJC1f2kbIK8IkYqc3cN3Kz3NMXhaH+LSG3ZMaodpQJEuYtlbctSgutLH6htSinDuo57GL+lrgutwoYf4B0+MwkjxuE9/1Fjp5A3t5B2+5P4FNYWnCdZipgrMPNwMb4aJbdTrl7C47Zbd1a+zwNpQ6gaXuXeSc94V9d8mVYRGvWTR76KzsNO9N7Ap1TYuwgQHQ40veMNIrDzyxf20Z1wF7jXnXd1ugfOXeFWJM/S2Zc208ppdIIVdZOG6vxfetDZnOawf58cbr1B5+O6ALXO01aoZn1b7HenW1cVK1n4sQKoBojQjmOSZ1ncEC22d3DYlHLOQSHQLP+7IB5qc5fx+dS7MMd7HNQW0FYQVrXMnUDtwHdkGOo1FD9iRELLQ42qB5hG8trVCYiR3lk3BG/cssi6npPhJHvGI1xeKLXQ7/7F/VEBv/jJABhcLKLy5JsVJdaOkanKKqvpSES7IGbUqTx6IVzoiYYzCNPwb34DypuQcI3Q4VOl8DNIRTtar5+JFWm6h13+Ftk40UVtW90AIIf1LnT2V0OEjTbkWIe1JP4OFhq9HGzmD6t6aiOsaS8KUSmCXDwU1/WjKI8JNN3HkDwXnO0U8SogU3MZEkJ8JNBWeHt6jRjFSk9DFj9TOcr70J9dJknD4guRNnfH3CEVq5+fGJ/vF+eqwXMQvKGr+5U1zx58o9rhXL8UYdeVFPUJdV2TsXRvUNxP3XZF5tFzWTf8ThqFzVEVAvr3ksT/KBUJnXraoZ9upC8aHmq5ksns= X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(40470700001)(36860700001)(8936002)(5660300002)(508600001)(86362001)(54906003)(110136005)(316002)(4326008)(426003)(1076003)(2616005)(2906002)(82310400004)(6286002)(336012)(107886003)(8676002)(40460700001)(7696005)(186003)(7636003)(55016003)(16526019)(70206006)(26005)(36756003)(47076005)(70586007)(356005)(6666004)(83380400001)(83323001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2021 08:59:14.4648 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a3a6d3d-c643-4ebc-1d5b-08d9b63b2e4f 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.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT011.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4550 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 [ upstream commit 68fa62924de4fed4c241db9b7fcb58e66f62a2f9 ] This patch fixes stale field reference. 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