Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp102112rwr; Wed, 19 Apr 2023 04:08:40 -0700 (PDT) X-Google-Smtp-Source: AKy350awQhn3wVjDny+dsDYL5mUE9CnFI3IJLffp4Pf1LbAWsCHPqwRv12QiDaNoztMmz4oZEujc X-Received: by 2002:a17:90b:314e:b0:247:2dc4:91dc with SMTP id ip14-20020a17090b314e00b002472dc491dcmr2259149pjb.38.1681902520196; Wed, 19 Apr 2023 04:08:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681902520; cv=pass; d=google.com; s=arc-20160816; b=rocU6km6+3LOzO4wJBC8b7U2a3vdo5y+nbXp7t3vqnLA5hphrqi7rOm81RgtwLY5uU zdlL8KhxrJfSEWgabajqcEt+OeLQYHrqis6uZLOIHsBO2nArqKYJ/0kAim+EV5Uss36L lkzWAcp6IXucACJltX7L62EeCGhCERKtdPZhA3UmxkHOPmudUXrc8MMeFdumM+RPj9F0 4PtoADovRDB9xXIPQIbAzFkNtGerZ6K5gyZknbTcc5ceb1OahBRFBPqU4nw7J8X6EAV2 bHV39td/vDxAsAA/VNjnN5XSIIeneN/2aUmfMZZXWO/RkD9N9aIdsqBkMOeD1kcF2VWG s1jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nSXoVMugNnI5xHdIxi3peCE1SNA7ZzMUQeMI29T5ybM=; b=HL7QVtbsFGV45TFCsOz402QeUa/23HMgXUVxrmE+3rLC+l35oCchII2Nih3YKJxHz3 xYqmO6TjpSyTZBfdMYXOyRceeR0adCZYDbMONWO/uEFrxRDt8aU/MAkCNPBpRKu96cwo J0chRI9n8EevWYxVx6bnijoyc8Y9D+eLPSCddGTqlJA66vhiGiv24FOzM21zh2XPKQyu 8zVc5vcpU3bNN3MzRSFW1zThVD2FimHohpGFniElk883Ql2b49FzM3X/24pvYinBeTU2 48AySnrp3/hl2FPL/iFfusjRzKOpCb3d3K+OFzbVPIYuWrHtw3tE/tneBrbVqR0HKy4H N/5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=uDrEf26O; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a17090a9a8500b0023a147a7892si1640663pjp.64.2023.04.19.04.08.27; Wed, 19 Apr 2023 04:08:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=uDrEf26O; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232741AbjDSLGY (ORCPT + 99 others); Wed, 19 Apr 2023 07:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232849AbjDSLGO (ORCPT ); Wed, 19 Apr 2023 07:06:14 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2128.outbound.protection.outlook.com [40.107.237.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F1925242; Wed, 19 Apr 2023 04:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iSIK+np28RjMbu6LHcLHjCaYOa8C+7hinfEAtxvay/pFwu1NEipXAFZuv52nT4owTcRQP8F833+Q0K6ncNUlZzWyDK+/KhwcDNsFiPQTMXeIoVRpof43+9LnSjRe/YPGoylVVgB1Zt56NNGjsah5ZzMK5Gy1nMAIfu0UPSxM5cwlQz8BdfCHQ/qGqI0ZxBZkqo+lIeQpeml0FRHzJnsuZ/OwANBQyQyzcS4TqJ9Q+6jRp1DJVYbD/cek/7hL8JmM2mdZ3HJi5cGU/PQxcK+L4Dce6Xpwo01Y8i5hiLYX1SF7JpiRltDjTd+CW3sN2FT/fi1Bg+tW5i0Tmx/ZIILfdQ== 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=nSXoVMugNnI5xHdIxi3peCE1SNA7ZzMUQeMI29T5ybM=; b=DXxyb6a5AAeKvOH9ZK3saLvrl+1ZeefYSbmv6qQK8HtJICUV1KBUvsTeazxznjLhgwjw64un1rWaH5tYDJ64Gg4RYH0BpY+sSyWoM7ei162wflL64z9U+tNwIY+c/1Ei6L3QmpBw7ze1I5Hj6XxuBsOWCi6ddyFpg7wzYTcyrmiBx1HW8+ObKQ3zLiQYLAEhMTLTPk/odEgYJu7chj5iEmGu6Wv+QiwnUCYk0xGjwX4UeN4nV2GxIYurfIZ+e1F+xwXv4Wdc8h9vpCwdzzZC096WXZfN0oXR3E1cp9PqUiBg5dSmCnxsxCdRlkhb+LSvYuC+FMp2SVU6ViBfMtCrww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nSXoVMugNnI5xHdIxi3peCE1SNA7ZzMUQeMI29T5ybM=; b=uDrEf26OlAK3L13Vnq4JDNPQSYspA3usjzGBGtP2jF/m7KpUDbvWu5XSx0p8dglKEuSvA3NTMX3NASNf3LA2QWPsko+Lj/HAA/o0pGqnVm5JM90A4Ydh8tx5uWfgWs0qwQhW4xuMMRFa+A/azV+ERw36Mg1fNJoDKfTLO1ik+sQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by SA1PR13MB5491.namprd13.prod.outlook.com (2603:10b6:806:232::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Wed, 19 Apr 2023 11:06:09 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34%4]) with mapi id 15.20.6319.022; Wed, 19 Apr 2023 11:06:09 +0000 Date: Wed, 19 Apr 2023 13:06:02 +0200 From: Simon Horman To: Sai Krishna Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, leon@kernel.org, sgoutham@marvell.com, gakula@marvell.com, lcherian@marvell.com, jerinj@marvell.com, hkelam@marvell.com, sbhatta@marvell.com, Ratheesh Kannoth Subject: Re: [net PATCH v3 08/10] octeontx2-af: Fix issues with NPC field hash extract Message-ID: References: <20230419062018.286136-1-saikrishnag@marvell.com> <20230419062018.286136-9-saikrishnag@marvell.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230419062018.286136-9-saikrishnag@marvell.com> X-ClientProxiedBy: AM0PR03CA0102.eurprd03.prod.outlook.com (2603:10a6:208:69::43) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SA1PR13MB5491:EE_ X-MS-Office365-Filtering-Correlation-Id: 25cbebfc-d67f-4161-495d-08db40c6148c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: svmldkgbGg6ovjdlaNaZN9Dvo7oNZMTnXZWT3lJhPIrqtQI0g3ucFAOmK0iPV6HuTKG2wko4rImGIFgn+y3OvAd4+eNVnr/lZbAZ0/xliwg92cYvijeLtWkOUhtJ8R3VvtOs0+T39C5MOTxpYUng5aHXCPOJsI1WT60S/KjOz5xKMsZ63XTuM6t/0YiPvgkI7sd/yBXmb43ZcO8VoOGFl1Se5+rSfTQBmh6H0m9II3HSroAPsCxgy6ZocATM2veewtCsNXdFAgYPoWQe6veloXuZCM2m4iVCeggKZOAIPQ+zKF5Bnu+eNww+LUAuUkDZ+eXFidm/gckMMoX9QBMvOD2ZdTo9li9DQr9eAFPi/Fv50rQId43uRHTnrEeO8sDeK6XucCOGIZqJopiTyTn1Wi+SjxLiYMzeYUIcK9LusfRFGKo4QjVHhCPWQH0EZzE5WFlpuKckGHtLObjMiVmfmATWu4o8dgQhmjgAc7nm/iobz+njaWpktFaCwqhNxjds8eQw6novpEBnvSrq9AtohulvMxL04Ff/s+T1algDgKbf3TebPUTsYrD4C9xQ3ZrG X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(376002)(39840400004)(136003)(346002)(366004)(451199021)(36756003)(4326008)(316002)(6916009)(66946007)(66556008)(66476007)(6486002)(41300700001)(478600001)(6666004)(5660300002)(8936002)(8676002)(2906002)(7416002)(44832011)(4744005)(86362001)(38100700002)(2616005)(6506007)(186003)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GdzHSf7jk8Miw7tggzRwlPC3QmHwWJaKmFsPAECA2YhTnXYxV0j1pr767wI4?= =?us-ascii?Q?9oU6achf0CuA+oyKXJgi8gr42upHwaOAyx7gZagFbLSrfrsFRDDGckKeyS3E?= =?us-ascii?Q?gU7iI+1rY29oxZH9C8iUd+tuR7Ih92PJ33sbmNXwmEk+0+iJ+YdQPkqwofDE?= =?us-ascii?Q?IhkKPC2atd/6XfWN4dKOT8QtCemPQiEXCi5zpNmIKBxzaqXq7jDrCn03wczF?= =?us-ascii?Q?+86vP8fG4qkWz49CSFLN9iySpQVpBELlHPeq/i1Er1A+zJDlenNGI6kB+aN8?= =?us-ascii?Q?ZXXXHhzlU/IoTKneTz7q0ooEa3beKThQF1VB5jJ9/Yu8bRosFjVXPtIvgqDc?= =?us-ascii?Q?wbT/K9Rzw2cCOSzxDKt/E8COT9xU5M4BAUw5lNk5DXqFDFcsLuEIvwJU+CO3?= =?us-ascii?Q?+xK1xbG10LXpWqQ9uSPAb3u/+JRVINXAzHNns5gjtwtX+9iHkiFhO/lxzLn8?= =?us-ascii?Q?24By0BtvUeVZikstOJJw07T/wL5rRGaBDHk8VFp1Pz5PVSs7oShcATlrSwo6?= =?us-ascii?Q?ZCLZqutwk6tpg1ix/fgZzKxtqrRObUuRX4w4d0kWhMsMOZnDUhdZdvptehcI?= =?us-ascii?Q?dCkPweId+a1R+vDEguCwkq8O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us-ascii?Q?NQ/P/J9tGxlR9DSo5T1hbKr2MEd6HW8ObPR48+HvEcddoHsPICVHcQtA5Nu3?= =?us-ascii?Q?IdJNbv0/VcOa8v4mJxkUVLknChB1f9r5NibRq7/7IKs49AQX7FJlfpjcF9c5?= =?us-ascii?Q?qjHuyxXj9ADlR2EQ7jXY5Cxf3t8MS7FNKy94fmmGVC1F+ATBQByTlaE4BbOU?= =?us-ascii?Q?5XTAVQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25cbebfc-d67f-4161-495d-08db40c6148c X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2023 11:06:09.7556 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HmM09gSiGhj4JpEcWsmPBLhRavXYybkfMXE2IQCuXQH5IjjwfhXoqf3BLOatHS5v3J3I5N8/ToQZoq1icveRw/PrmlvfGa2jOVzepYHVYHI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5491 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 19, 2023 at 11:50:16AM +0530, Sai Krishna wrote: > From: Ratheesh Kannoth > > 1. Allow field hash configuration for both source and destination IPv6. > 2. Configure hardware parser based on hash extract feature enable flag > for IPv6. > 3. Fix IPv6 endianness issue while updating the source/destination IP > address via ntuple rule. > > Fixes: 56d9f5fd2246 ("octeontx2-af: Use hashed field in MCAM key") > Signed-off-by: Ratheesh Kannoth > Signed-off-by: Sunil Kovvuri Goutham > Signed-off-by: Sai Krishna Reviewed-by: Simon Horman