Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp578386rwi; Thu, 20 Oct 2022 02:32:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7lCtGbN8ziXmj2JuVWkfOQXSCKoUuu5Drb5SbzmwVfTs79hega5QwPwppeoNpBr3INWdU8 X-Received: by 2002:a17:906:5dae:b0:78e:3109:36d1 with SMTP id n14-20020a1709065dae00b0078e310936d1mr10269194ejv.470.1666258362582; Thu, 20 Oct 2022 02:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666258362; cv=none; d=google.com; s=arc-20160816; b=nHptxjJicFx83kGU7RGl8/e6ThoSlzlEnW98gcCBqelEWmlv3aZ91Qx+R1nrPml5Pf /uR/QTuxN1+/gO9xzDm2U4bq5HMTA5TLR3DslVESr0adcnqzfxN7blt6LkUcpe+RPGeS wl1IEBzieGAD7bEUDG1DvOsS0qTX5wIrNMXleiuE5i9A6c4/6SNtax8nt5PngFoRxOCV dnbk6k6gZaA3d7jDcEI0BU3uoSiZof/sJm2i9qkHNTtzPd8p6PTOzTRvc9Ri7k3Db6VQ /wA3Q/Yi9qaw9yz9xzHoL1TpkL+kMSL1ZLw7Qg5qdDFVWKtQ+rtMW8MpqTFfcnJ0mSC3 kExw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Wj4l33DaYJ9VEOxS8rubLXY/EOYmxzoOfQFw6w/nBTU=; b=deLVLj7Rxg9VoNeULHzmPAr9GX6Bnn2OE7bUiDRrEw6zwMhghk+2XQ3i5bTmLPxU3K dVRzz1TXfXTVxlQH++hIuZgFjS4Qw6A4pE/2iVX/m4VYDj/70EGpVlrjBK3WcQFoYnwI 7MsqpGRsosl7kJwkl5ZQ7nXQF7v5wDGdKetsyoOwETH4boprHeDI/B4I6Bob+OFMWDiE tfo8Kd286M5Hl1Zm4redgbFuTdYqI5HJt2x6z3cj7jXu5lYVJDyCn0Cwg4oI3FtwkkIJ nEq7ZnxnHnBfKsBXzQ5ufXL9J8Zre80vrcnjapqsSRA2HNjKcr2cswTHdx3/r61rfaSs QRKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=a5qvAb+B; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z88-20020a509e61000000b00459dc4e4b7fsi15167473ede.143.2022.10.20.02.32.17; Thu, 20 Oct 2022 02:32:42 -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=@microchip.com header.s=mchp header.b=a5qvAb+B; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbiJTJYy (ORCPT + 99 others); Thu, 20 Oct 2022 05:24:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbiJTJYu (ORCPT ); Thu, 20 Oct 2022 05:24:50 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C9A2D1C3; Thu, 20 Oct 2022 02:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1666257884; x=1697793884; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=Wj4l33DaYJ9VEOxS8rubLXY/EOYmxzoOfQFw6w/nBTU=; b=a5qvAb+BrLiGG5pPTBpNMihNWDXHohwVAv2CmbBKCcYsXgj2ASluQ06R JmPV51zmJHit0VtQ+eH1t5+p0t1Lz87bUoPwmt1rZO9rpFYnXB7/nXUs3 a7/UEdWzOe56YRfyCESgmvipF4dVclkZHS6r0x1GOdxT0KKDsQtNyo+7c n60Hu84+MpGDDBUsidrJrpaiSmz14KQUhVsWpeeIPAbCujVdc2RMtuQ3y noOqD1S/uRITn8nHdpr7+djCXyEc9kzmIvAYmRoQDegyWk6lKuINaCbF4 EQ+xPoBn1qqSKxWIcRt743ON7LvcExmT+dhFbl55UVP0e0kmOcBcEFnPP Q==; X-IronPort-AV: E=Sophos;i="5.95,198,1661842800"; d="scan'208";a="185546700" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Oct 2022 02:24:43 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 20 Oct 2022 02:24:43 -0700 Received: from den-dk-m31857.microchip.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 20 Oct 2022 02:24:40 -0700 Message-ID: <85b3993eae5e82860f366c112342527f2018243f.camel@microchip.com> Subject: Re: [PATCH net-next v2 7/9] net: microchip: sparx5: Writing rules to the IS2 VCAP From: Steen Hegelund To: Casper Andersson CC: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , , Randy Dunlap , Russell King , "Wan Jiabing" , Nathan Huckleberry , , , Date: Thu, 20 Oct 2022 11:24:40 +0200 In-Reply-To: <20221020074806.ys7lyfkn7f7zpkcp@wse-c0155> References: <20221019114215.620969-1-steen.hegelund@microchip.com> <20221019114215.620969-8-steen.hegelund@microchip.com> <20221020074806.ys7lyfkn7f7zpkcp@wse-c0155> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.44.4 MIME-Version: 1.0 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 SGkgQ2FzcGVyLAoKT24gVGh1LCAyMDIyLTEwLTIwIGF0IDA5OjQ4ICswMjAwLCBDYXNwZXIgQW5k ZXJzc29uIHdyb3RlOgo+IEVYVEVSTkFMIEVNQUlMOiBEbyBub3QgY2xpY2sgbGlua3Mgb3Igb3Bl biBhdHRhY2htZW50cyB1bmxlc3MgeW91IGtub3cgdGhlIGNvbnRlbnQgaXMgc2FmZQo+IAo+IE9u IDIwMjItMTAtMTkgMTM6NDIsIFN0ZWVuIEhlZ2VsdW5kIHdyb3RlOgo+ID4gK3N0YXRpYyB2b2lk IHZjYXBfaXRlcl9za2lwX3RnKHN0cnVjdCB2Y2FwX3N0cmVhbV9pdGVyICppdHIpCj4gPiArewo+ ID4gK8KgwqDCoMKgIC8qIENvbXBlbnNhdGUgdGhlIGZpZWxkIG9mZnNldCBmb3IgcHJlY2VkaW5n IHR5cGVncm91cHMgKi8KPiA+ICvCoMKgwqDCoCB3aGlsZSAoaXRyLT50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