Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35173000rwd; Mon, 10 Jul 2023 03:48:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlEMonxz78uY7r7nCGKWjPzcmyaD/H2C6OwDhI06wdVrMVJ6ADINEuU9D4C2uqVdVyZu9t+x X-Received: by 2002:a17:90a:ac0d:b0:262:ec13:d3a with SMTP id o13-20020a17090aac0d00b00262ec130d3amr13959757pjq.28.1688986104706; Mon, 10 Jul 2023 03:48:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688986104; cv=pass; d=google.com; s=arc-20160816; b=PxnJhFiwjAo8/FKbsrbBZx2A1Kv/jMY9u0XWLIDcz2TTqnzHTmZC2y9GsWRg5stZru 19p2evTcqLQi02mWMM5gPUBKtgar4ZQIfOayLgvOnJll9dNm3NwfeY48j+BdlEO7GFYL lJTUH5C4dhqa76PCIcgpPSHzt8Yi769Pzk70zEKCHuBfFIKW0LpAiSU4gF7XLIs+vp4g ndKRJlK8q3myISDJcWQUFTpALd9jcyNF79XhtI/NlFyCmpgEKIYuUTWk/JrfQExPqi/m LhNL0nOhRDggK2R2Bf4s/QMOwfqKFyPJQWGhkKtAX34VNAcSoyUyAVw1f5546Icflk5v 9/TA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=zC/hW2gjsZ6f1bINlRjWky14KpMv1BL9FDPMSfzU8zQ=; fh=7oOM4kwjvSGGd+QNdqJ4gm8yy5cTfo6iUTIOZ3PyoFc=; b=ybl1d2gGkqKZDH9UfGaXflapAwIeeTzkwd9zG6Lpw7hNIzL8qND99mUui/z/Sf22Nt ob68KpD+SvJQz/sWfCAsQMyarNF3kAXDyUD/Nf6csfIB8IxmjYbIZ+9nKhF6W7zD2Rxm 4VuSO/DJdTq053NzYf8OHLcc45ElP8D6YaOtIO4dnuaP/uk5HL/DwGAA0qGelbqEIlhG dzaXbVAsB53BbsQUWI7mZIIy/VOGF37XuvoEergeHW63FIx28jjQ//gl8noPteTAqxGx Is6cB4G1/geQQ3XKI4Gpw2VN0zHozNr18H++iyNn0M1E2/7EFheAOYZVBLD++/l+yu9H Sb1w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marvell.onmicrosoft.com header.s=selector1-marvell-onmicrosoft-com header.b=cdLcQPaf; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.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=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 8-20020a630c48000000b0055b0e39eed2si8831314pgm.107.2023.07.10.03.48.12; Mon, 10 Jul 2023 03:48:24 -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=@marvell.onmicrosoft.com header.s=selector1-marvell-onmicrosoft-com header.b=cdLcQPaf; arc=pass (i=1 spf=pass spfdomain=marvell.com dkim=pass dkdomain=marvell.com dmarc=pass fromdomain=marvell.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=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232295AbjGJK3W (ORCPT + 99 others); Mon, 10 Jul 2023 06:29:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233360AbjGJK3R (ORCPT ); Mon, 10 Jul 2023 06:29:17 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 372B6DA; Mon, 10 Jul 2023 03:28:50 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 369MmEFj028927; Mon, 10 Jul 2023 03:28:20 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3rq55p4twn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jul 2023 03:28:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzyAV2swQfBngxMazM/bezf7AW+bw+C1L0M96vncH14yS1C1DW+X8x9assHGInMC3xzxjz23MqUJLkGoSrIm3dXI13FXVXKpRQJY3jKbXF8r4pQfpo6IXwcK32+7cyaZ67MDzjda0BvVVm6QXqBkFwwapWAdBu1QPhXQWSVu9FrmjG3QQQkcWVNfpYOwjlxGvz3wimNdCmwIogckw9lgxYuXTCrNAKN4xLb4oaxIXdBw9+AnhMIv7PaClCyNPY1qu+Jmx/BPvNJ9CmSPv/2SKUig+iPczzeH9nhEWYM3C0yJylGd8J7lEckmTMhoWUJhkvXiDc8a0YcMRFlm6nkKWA== 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=zC/hW2gjsZ6f1bINlRjWky14KpMv1BL9FDPMSfzU8zQ=; b=YfBRa5LBIDtlou8VK4gJEo8sVCegn8UdxbrrAjrxI9kfOBRa/s1b1MJXaAR3PgORebr8YdwGi9dLusonPMKXzQq3r+bO6+2y6KcHim5pTam+A0srz84nSQ83QZFpbat1/7QkSqO4O5weNh4XrjF3+EW83nBzhV09ZL2swfRptWH66pR93rZ2asQEvKWxKspRMogrSSshtMClzcDp0mG3bzaBCtAuHblNtQZxM4ErrBe3/6W2Q2Y6ol6Mft8jXC2K5BnmAgGC3enZ5al2vBGFWZN+QdbJ6Q19dyE7zTDJWN1nj8zw4tQ6kB8Czi9G839fdwxV3bGXGHgSTc8PWyJ7YA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zC/hW2gjsZ6f1bINlRjWky14KpMv1BL9FDPMSfzU8zQ=; b=cdLcQPafcTQvoY87TXm1VsjhNqTDEZKED3H+GugpG8SBLgldrAo9PZxvSacPvKxNjvbnxihbr5tAGrI72tjESUnhFCVVp6FWkAMSv4ggM22gescLaluvCZGY5TIpWwymUTdzShBmWKnWVvzoVQ2CD/a3CmmgcCeXJFGjpLh2Tj4= Received: from SJ0PR18MB5216.namprd18.prod.outlook.com (2603:10b6:a03:430::6) by SA0PR18MB3647.namprd18.prod.outlook.com (2603:10b6:806:92::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.30; Mon, 10 Jul 2023 10:28:17 +0000 Received: from SJ0PR18MB5216.namprd18.prod.outlook.com ([fe80::ec1d:671b:dbbf:706a]) by SJ0PR18MB5216.namprd18.prod.outlook.com ([fe80::ec1d:671b:dbbf:706a%6]) with mapi id 15.20.6565.028; Mon, 10 Jul 2023 10:28:17 +0000 From: Suman Ghosh To: Michal Kubiak CC: Sunil Kovvuri Goutham , Geethasowjanya Akula , Subbaraya Sundeep Bhatta , Hariprasad Kelam , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [EXT] Re: [net PATCH V4] octeontx2-pf: Add additional check for MCAM rules Thread-Topic: [EXT] Re: [net PATCH V4] octeontx2-pf: Add additional check for MCAM rules Thread-Index: AQHZsIaYZhp+Lo6+LkG+xdSrU5TZPK+uqeCAgAQnReA= Date: Mon, 10 Jul 2023 10:28:17 +0000 Message-ID: References: <20230707035321.2227742-1-sumang@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3VtYW5nXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctNzljNmNlYjItMWYwYy0xMWVlLWI2ZGMtODQxNDRk?= =?us-ascii?Q?ZWVhNTRjXGFtZS10ZXN0XDc5YzZjZWI0LTFmMGMtMTFlZS1iNmRjLTg0MTQ0?= =?us-ascii?Q?ZGVlYTU0Y2JvZHkudHh0IiBzej0iMTgwNyIgdD0iMTMzMzM0NTg0OTQ4NDI2?= =?us-ascii?Q?NTEzIiBoPSJqL09YMHM2SnBSL2ZENTA0anZOT3E4eU51QVU9IiBpZD0iIiBi?= =?us-ascii?Q?bD0iMCIgYm89IjEiIGNpPSJjQUFBQUVSSFUxUlNSVUZOQ2dVQUFONFBBQUFS?= =?us-ascii?Q?QnlBOEdiUFpBVFd0alJL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QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFKNEFBQUJ0QUdFQWNnQjJB?= =?us-ascii?Q?R1VBYkFCc0FGOEFkd0J2QUhJQVpBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFJQUFBQUFBQUFBQUFBQUFBRUFB?= =?us-ascii?Q?QUFBQUFBQUFnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR18MB5216:EE_|SA0PR18MB3647:EE_ x-ms-office365-filtering-correlation-id: 376cf302-e8ab-4dd1-f7a6-08db8130600f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xKzbqRotd7swqwgvpNn9bMZZ0vfzUq0vLD6g4b8BfiXtCsv0uAwYcRfaldvHyHyKtNI7VIqLYrnFfhwJSzRjQuN2sG6mlHw6+qEwBS3KeWRcESOB64XZiHslGPeTxlBPAIZ6WIcIUWM/7QHcW7i9IBbOLMY8f44Ej2Zy55IRAMIGjePDn1qP8hC1gM0FkKtq/W4DdLQC0x8CEpV3sFg4Wohgk46UzmAtDU7OYSn12IswxWIQESOA80T1lr+I+R/N8h+qIHF2Z4VqaMk83f0zItpiNSCZW/wY2RqIoNWz6Z2BdtUQ7Fnt9egPSRYKaahglI60AjMTGAeFoxwpE7hRzFnAEAp7VIJ6v5WoiIOr073Rqnd7YClZ0Ez5wZ7lvd0qrx0S8x9nQq2ZwFbVlvaQW6eU6HTPaWLTegEoW82jybiDu1UaiyJwx/le9ex/KHLlRe+gPNUTGbNTdfmehZr0PD7QKK6asFHE7fguB1W/JdzPfCSAHCM4XJ99m8AjXTuIHIuGy536cgM86hQiaHZ4DipSQEvvEbAyR/VMrqvHs1/6Mac3qAXYHxIosjEne1OVGxJxlA4c61GJBGR+vvUp/rGKi6nA4Vugz+gcK7kxUDFy+ytvj2lbt1Igt3q6yc8V x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR18MB5216.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(376002)(366004)(136003)(396003)(346002)(451199021)(7696005)(478600001)(76116006)(54906003)(71200400001)(83380400001)(38070700005)(33656002)(86362001)(55016003)(2906002)(66946007)(26005)(6506007)(186003)(9686003)(38100700002)(122000001)(8676002)(64756008)(4326008)(66446008)(5660300002)(316002)(6916009)(66556008)(66476007)(41300700001)(8936002)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BisD2gxWFWpZWzgtl+O2N+dq9lvcs7GZI/u7JdsC8+pgx4OqzIvnhEid6HqR?= =?us-ascii?Q?sDOOb7Xq+19d8OJWizDwekTHbG1KIXBL0HZqcDGTtt/spnKsmObZJQ6oTz7u?= =?us-ascii?Q?suY22lj7P1c5c3eusjGQuQwxm5kOo9gBH0FEMhZcrbxuEXFhkEOtVaIYIlOa?= =?us-ascii?Q?aWwm91AvfUCYNm8A85wzYCJNRfQ9lMyT5RcYyqsFfreTCE5RaQMm4Hw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Z56MX+Bx6kmPjmeNWCaM+/C?= =?us-ascii?Q?itPCnK3Z8QO4DJ5DsGnVaj6vhJl82/1yiYnteL8b8emtP2nkp5ljhaQ2BdK3?= =?us-ascii?Q?8ymS9t3N5O1sphlViPutEfobqDAM0cvwQs4buCA2ynRmTo+qM9Jjxf9bq+EC?= =?us-ascii?Q?c04XGcuBlvdeXqfIKIbULgHSIdyp2647In4GkS4dthdasISRjYSk847HbR2s?= =?us-ascii?Q?VOMw0jkWSF49IKHmGyZhMoQLsNTyPPF2UTIBgEv/F0I8dSjCM+8jQUll5tns?= =?us-ascii?Q?Kh9BNn68pgjfCaRpehfQ3gLm72YgVWY1PE47R2KjhyWZjYDQE/ZbJSHfn9f4?= =?us-ascii?Q?WcqQ8uHScRfHHHyUnCLpO6uK79TsuZgNfQztirNvpfXoEaF4Xzn2bKgnxgfd?= =?us-ascii?Q?hbOdk3Oz7Qohn/MLarzRWAEVn9ZLg1Sz0EpyLin0Jwb5Fhmw6uz9axhyM7PE?= =?us-ascii?Q?5qpTpzxamwOO+N9gIpo=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR18MB5216.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 376cf302-e8ab-4dd1-f7a6-08db8130600f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2023 10:28:17.3060 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bbHsBdqVD8Kd65uYn6vJALKgTgEwyXwW+b6kLcai0F7efg1YQ8v0k5ypq6qhtKtcbNM+BBqHFOgf2JXRJWngtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR18MB3647 X-Proofpoint-GUID: z8w7y6_qe4HBl1SFXgyVvoz0-KtUBWdn X-Proofpoint-ORIG-GUID: z8w7y6_qe4HBl1SFXgyVvoz0-KtUBWdn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-10_08,2023-07-06_02,2023-05-22_02 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,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 Fri, Jul 07, 2023 at 09:23:21AM +0530, Suman Ghosh wrote: >> Due to hardware limitation, MCAM drop rule with ether_type =3D=3D 802.1Q >> and vlan_id =3D=3D 0 is not supported. Hence rejecting such rules. >> >> Fixes: dce677da57c0 ("octeontx2-pf: Add vlan-etype to ntuple filters") >> Signed-off-by: Suman Ghosh > >(...) > >> --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c >> +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c >> @@ -604,6 +604,19 @@ static int otx2_tc_prepare_flow(struct otx2_nic >*nic, struct otx2_tc_flow *node, >> return -EOPNOTSUPP; >> } >> >> + if (!match.mask->vlan_id) { >> + struct flow_action_entry *act; >> + int i; >> + >> + flow_action_for_each(i, act, &rule->action) { >> + if (act->id =3D=3D FLOW_ACTION_DROP) { >> + netdev_err(nic->netdev, "vlan tpid 0x%x with >vlan_id %d is not supported for DROP rule.\n", >> + ntohs(match.key->vlan_tpid), match.key- >>vlan_id); >> + return -EOPNOTSUPP; > >The code got very nested here. >Please consider moving the above check to a separate helper function, or >at least reformatting the error log to fix the checkpatch warning about >80 chars, for example: [Suman] Will do the suggested reformatting in next version. > > flow_action_for_each(i, act, &rule->action) { > if (act->id =3D=3D FLOW_ACTION_DROP) { > netdev_err(nic->netdev, > "vlan tpid 0x%x with vlan_id %d is not >supported for DROP rule.\n", > ntohs(match.key->vlan_tpid), > match.key->vlan_id); > return -EOPNOTSUPP; > } > >Thanks, >Michal