Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp977146iob; Fri, 13 May 2022 18:19:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTtKGQux7VH4lpZxoj8rSrFwtoiWDsLfu0Ieq5sBYuwBPZNHcDV59l0hBHypp8oK0Yirur X-Received: by 2002:a05:600c:b4e:b0:394:4551:113b with SMTP id k14-20020a05600c0b4e00b003944551113bmr6860413wmr.9.1652491191966; Fri, 13 May 2022 18:19:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652491191; cv=pass; d=google.com; s=arc-20160816; b=rf8gc+7M5H9JfDwha7VI2mk7E4MeaSi6U0QRU+nvSjRN9sKt+1yDgumfaOCKVYrVjZ 80KTya6quq+Ge/I6UdGE0H6kAiDX2C8yqSEEnT7llf9XIv44vs7Z8OC6AaonCNGDSema h5sDl0y4KqxVzPcFS10USExg5HB35L/Ep3gW5NzodrVS6euHRjfP+o0Z8G+qfvnwSVsW 5BtRjc29FPPkN+o37EnmHdRXKzxcnkWjrP2NqbBaNkXgwN+q52wR4X0sNP5QstRIKJw4 roaz7usxaumfq2aHMMHadoW+yQ5VwgqEPgfnwIunY3s8EjKIurkvAaL+zB0lu6/DIXH3 bX4g== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=VSWYUfdKb47f1Ctp8M5EvyOjUh/+POZHDVSpFR8FCpI=; b=j0NPT1dhgvcrsGH5IuxUBwX2sR3PCLzyrJUMC5knUKjJ4Jo9BGM1BqxL7stkJIVLcz +p5x8+IwhXAGKURBty/uGfhzEypLT2bFOF8aJ6VaB78roxbiem4lRUNL6tyxm+9cbGnN KlWvX7ixjf288F26UvAKQ7l8cwEm6BS1Gd31nQemF9pMRfW29AVnmLcP8L16occYpNQd 4ZeYzW5y++DpMFP/ArKN6Td41o/2lN0DBqU/GZXAhbbVnxCQDeKqiJT8d+8fo6RlbfAV Pj/7louW27wSs/i+72ipphV6WuuD3FAbcW/TAwE7ztJHEJP/9bxOwYGeIKwE8p/JgdSK fNiw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=oFFBe2+Q; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z20-20020a05600c221400b003940185fd5dsi6578923wml.101.2022.05.13.18.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=oFFBe2+Q; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A5D3A3C1B4B; Fri, 13 May 2022 16:49:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238412AbiELRv2 (ORCPT + 99 others); Thu, 12 May 2022 13:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357328AbiELRvB (ORCPT ); Thu, 12 May 2022 13:51:01 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2073.outbound.protection.outlook.com [40.107.21.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A96F215A3F; Thu, 12 May 2022 10:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iYSnQVMqYwsMfFJ0veuSQoTZYQBHqt/3UTsyPUtX9+1WktB+OIpVi+B/j0qKtBLlnmUHKtA3+SrrVC9vbqwZDt+qpQ0ZLFsBFIPgDcfvPC6Qn0Hs2sgrnTIjFPFaMibG6j8g9GhoOIaRDfotWbKigj18J5Ow5KoKZ2aNm2eYvUQY7wmDlmPAGxBRPINA/lDeq6pzb7pWqoweb5t3aa3QrpVQkS59/7+tFeWHV18YbbBsOzUAdsXucZu8cfyRI/05FQwkwSufKF0kKGyZYpgmNBU+gsOh3i20fFXTitakp6iVzZS/qZ98YO9QDuIHMzip4sbsj+/WCVOttJozOZ6oqw== 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=VSWYUfdKb47f1Ctp8M5EvyOjUh/+POZHDVSpFR8FCpI=; b=j46ijVhOSicK/qBh3I9k3zxAAqR4GJuoMfZpMX5WugOD+OKj+qdNYinwHo+lb/TBaPy2Se4LXMzqvV6qIvhhDOC5rxHOZlB/FYhodHUp5zs0pNT1aDv0KhB9VFEAeep/+Q55mw73KK09TXQ1f+1aZkZwYX3rhoTOrORHYAy55zMdyZMG9BuEuoHAtFZD+7F0omx87zRy28we/Vc0XJtn6TSFSXiU4GuDjb72B8mvnFBNdC7O0Rtlw6NcfAmBWLmPjnE0V5D1s8QEgm145dv9rLuUf/46mU9poUZrTLWVSxB5QxAzEi82ktKjN1NmtGyudKyGChsTz9eHKzJy5QA5+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VSWYUfdKb47f1Ctp8M5EvyOjUh/+POZHDVSpFR8FCpI=; b=oFFBe2+Qjjza1eZgP94WQEGMH7IXu44CJMLRPp6XljyoggOAiBftzTMGbQHyPR9a02aDIw61M8Zj+/3EGxYbO2Q2U2/0UXYeE07aGGh/lt4ZRgzgbnl+j5HZxkrHyX/FfV2llwIR9mjJ6kJ226th+kvsE8vVQ/eW2x/TYpfgLGk= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AM5PR04MB3153.eurprd04.prod.outlook.com (2603:10a6:206:e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.13; Thu, 12 May 2022 17:50:56 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::fd1f:cc16:dafe:4bf5]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::fd1f:cc16:dafe:4bf5%5]) with mapi id 15.20.5250.013; Thu, 12 May 2022 17:50:56 +0000 From: Vladimir Oltean To: Alaa Mohamed CC: Jakub Kicinski , Roopa Prabhu , "netdev@vger.kernel.org" , "outreachy@lists.linux.dev" , "jdenham@redhat.com" , "sbrivio@redhat.com" , "jesse.brandeburg@intel.com" , "anthony.l.nguyen@intel.com" , "davem@davemloft.net" , "pabeni@redhat.com" , Claudiu Manoil , "alexandre.belloni@bootlin.com" , "shshaikh@marvell.com" , "manishc@marvell.com" , "razor@blackwall.org" , "intel-wired-lan@lists.osuosl.org" , "linux-kernel@vger.kernel.org" , "UNGLinuxDriver@microchip.com" , "GR-Linux-NIC-Dev@marvell.com" , "bridge@lists.linux-foundation.org" Subject: Re: [PATCH net-next v7 2/2] net: vxlan: Add extack support to vxlan_fdb_delete Thread-Topic: [PATCH net-next v7 2/2] net: vxlan: Add extack support to vxlan_fdb_delete Thread-Index: AQHYZeaGVmJ2NLPAj0ictYFP1xlh760bbReAgAAHG4CAAAg+gIAACWuA Date: Thu, 12 May 2022 17:50:56 +0000 Message-ID: <20220512175055.65ftcpkig3t3ttsq@skbuf> References: <20220512094743.79f36d81@kernel.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f3225fac-f5d6-4be9-b3fc-08da343ff772 x-ms-traffictypediagnostic: AM5PR04MB3153:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3TGAZGmRMn+oK1YZVYxMHFTwaFjfUR7dxWPytZGMdMpsZdibj1jP0L+EtWDQGkqrHf2y6vM8TbgZL7K/xNyZ6ceEmTHrD2JTr/rGF2cCGBoXYWOUjYUhrEJGnL8jHnEWmxCwSein5xxVmn8/ivkUQTn2UytaYgOL1VHUUn6gpyLk7VedRyvP9OT/x/lrvNF4zlnEhSvqZg6xD2qexN+AoC15a8mUH2Hb+S99mAYF3nU3muuZWIJ1+/AlWjRz0NSHMeGf+dCVxIjxGfBx91ceFKbZQ5XPBkfX8jcQ38iecZrDzZGs2NO5HTZM8SzcEaPRtfEeQXuOlk6T/hEihKNocdanUbE1qi8Bq4NDsF7h919wQsSXwUYu5hYgORgm1UKmdFLuCtNItxdr32JocJT+lyQ/g3S7sPj7kl1M1z/ofCw0X7N4cxg2SYbjGa5GPh8zehbYAAQiTjND7T3YZEsa48Ae/L3/ndkKOCSCT71nCgxyepuo6m7AK8IyN4Vu1R1r+qEVXSEOyLgGH9BGwjp4ws9XA8sKQS3Sbf11OJvh8rSGnleGwOJdM4tq/1fVSrjnOquOElENq9AJ1/sptxwbKC/zGD/F3hslkm6eZEOV0Z/oqrNsItLvZGhLsTx8eIPlmLhPiBbjQ8+CnP9R0HfBvOW0V9y9/RVIjYm3GE6AhB7l3nDWVMwLm53on7z8gc9BLSsH7NU3inf/knqltcCanM/6s/xQiYqPbJgXhMHzGHV4XlQL0jbPMO/lk8YRCo1Z3Vq1DnCGTssXKWJRX/oM/W7xNMKOmVU9FQhcqSoa2Hc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(7916004)(4636009)(366004)(33716001)(316002)(86362001)(8676002)(83380400001)(91956017)(6916009)(4326008)(122000001)(66476007)(66946007)(508600001)(76116006)(64756008)(54906003)(66446008)(66556008)(26005)(6506007)(966005)(8936002)(38070700005)(6486002)(38100700002)(9686003)(186003)(44832011)(6512007)(1076003)(5660300002)(53546011)(71200400001)(7416002)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KhpUttgt1XWCTHALy8mVFHJYmvkA9t2tCFjG4py6yNX1g1/Hhy7ei89g8t5V?= =?us-ascii?Q?9RNUx0UWCa3NCglEveCjwfPGXxlovLlp5rYVboBD1Kr7NaWc6yWC56otM+cG?= =?us-ascii?Q?CBe/riR+yseJHvSRLuL/I8JFD3L0DPQJ36YNsqQ9/oiTx2CilsCq3KYEgh94?= =?us-ascii?Q?pZGlR0uoUCAzfvzO24w2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ysh0oa+4cjAioXAey0D5ewLuGv+TQzBjdjHkFmEOAzGQGdzA41Lytwogc?= =?us-ascii?Q?NJgBVZ7YezlYuXh0iuhwhDDi2Ju8eUNNeeL3W6WsZ+BjS73EL6ioEasWp4qP?= =?us-ascii?Q?42Sl4rRPLPbtkvvAUiGfqX6g3hInGzDcDIkJ6pW0mGDb5zNchjWem3QgnS0a?= =?us-ascii?Q?iWlMHAtOYi2WBx2uaGLqdMAPIM07h72TZnqVp9/KHG5TPRStqyON5OJHvd5l?= =?us-ascii?Q?eS78hUOheTb2PQZHahv6E1c2BHawpuqRC/S+mZ7LsQpom65Q6gP8HhQTBzSx?= =?us-ascii?Q?OAkSahofGQOzp4Bj64nKVtUSC+iEcvruKqqiAGy1FAn5dvCT9C7jLXldZlT0?= =?us-ascii?Q?TJev6umj+TK4Uep+gOJYqXZoAwjHeun3YTrTMY1F7cxMGQtDilnmqvfjyqEz?= =?us-ascii?Q?ZINH1mX28zNzKCYXuUkcNFzXVKyOrsxgZyolKaGVM/V+stIz0FvlBeSKKFdv?= =?us-ascii?Q?4d90P0olEzsSgx5IC2L204iDnOa6LKhZ4lh3PCobbAp5QDXCnjjIhHHYXqMo?= =?us-ascii?Q?2FkDdOf8ICJsPorKU7JxN1R9hk4cSCcG8jMYCL/U8AUFm8bRtuA5CVzPL0uI?= =?us-ascii?Q?HZLOBmj0cQtolSI7eaoEMZwiJxJ0Be5ALPU1s8zZfuOm+DpA1WUkkEvBsryQ?= =?us-ascii?Q?GzA7HKNyY8kzUU7h7vJWrapstGCrLCw=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <1FBBF271EF790D4EA63BD40553277A08@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3225fac-f5d6-4be9-b3fc-08da343ff772 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2022 17:50:56.4795 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XbuJTDgMrXuLKY1QEX5L7hZ61k9TLUm0tIhempDTGvYqmzF/y44lWB2y9b5QFdWWm+3uhYjyUEi6cjzWkHswFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB3153 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, May 12, 2022 at 10:17:13AM -0700, Roopa Prabhu wrote: >=20 > On 5/12/22 09:47, Jakub Kicinski wrote: > > On Thu, 12 May 2022 09:22:17 -0700 Roopa Prabhu wrote: > > > On 5/12/22 02:55, Alaa Mohamed wrote: > > > > This patch adds extack msg support to vxlan_fdb_delete and vxlan_fd= b_parse. > > > > extack is used to propagate meaningful error msgs to the user of vx= lan > > > > fdb netlink api > > > >=20 > > > > Signed-off-by: Alaa Mohamed > > Also the patches don't apply to net-next, again. >=20 > that's probably because the patches were already applied. Ido just told m= e > abt it also >=20 > https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commi= t/?id=3D5dd6da25255a9d64622c693b99d7668da939a980 >=20 > I have requested Alaa send an incremental fix (offline). >=20 > thanks > Alaa, when you send the incremental fixup patch requested by Roopa, could you please also: - properly align the extack argument of the ocelot_port_fdb_del() function - properly align the extack argument of the vxlan_fdb_delete() function - properly align the "DST, VNI, ifindex and port are mutually exclusive wit= h NH_ID" string to the open parenthesis of the NL_SET_ERR_MSG macro in vxlan_fdb_p= arse(). - make actual use of the extack in ice_fdb_add() and ice_fdb_del(), and remove the __always_unused from ice_fdb_add(). Thank you.=