Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1003452ybh; Wed, 15 Jul 2020 23:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXI2Da1AaU8bbhVjeT6pr6G63SXo7A7a2+LCD+XFDu5z7p0Zc5RmCbptoqlavNtfWHRi2J X-Received: by 2002:a05:6402:31ba:: with SMTP id dj26mr3126283edb.181.1594882188476; Wed, 15 Jul 2020 23:49:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594882188; cv=pass; d=google.com; s=arc-20160816; b=whnwdkPUyhUaFXh8nczYtASc8s+6FQJ6R/Kl7P7qsCpMfQfSYQ10kbm2bFN1oWo4YJ LJPFyBpGmjQg+NhDLxn9XNAV5h1dadhXV150d/jgcVKPVrrYcRWp4BsTGJvuKDEpb/T8 hOTc5718yUFfXjLmOVCq+tFx7S2QZG1uZ5rwTOhZhSJPveunudlBjNv/oiOcg5MkcpDB XYLhKS2z6fBamC/tb/KHpOVE8iP7PqmPhR27GDMBIjPwDUspvuoiEJiGNqfbO+VUsyD9 pFTofjNBdDR53aXcAU09jvA2pF4uXIxk2Bb0mYDqeF4js8tqc+RewG8gKnd2yk2N3ANh k1Zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=YGX4OjM2wLwxGZ8vctQebaIuaCA0LiKNYdCHhaev3bU=; b=bxHryQBPD9cKALdR2x3OHsAvfhz2bDCwjoyK4cYUYye+DbUZY3yRJvEA+ySfq/bido 5Il085JDyz+be9yeTaQI0WX7WTpFz2OUlbmNkfvmon3+oBPqyISzRnRkovnkz+oI9kgE E+7GHW/xlmmAG0z75JXOsWVAl1O3hpVysA7Dm0OlTGtYBx/eYMiHSQ19TP33Gq3jm3Z8 AgVaIogPJpVSiBmQPO0/o19PgGcKseORNp+RgccTW5nOywxOLPhDcsGKQbIoPB+o5GVf 4teU+qCEOlOt/FdK39k/vkATAqDL4ygWipBvYj/gFueuYx6Wayp+2lw4udLGmXGrFXWN Ij9Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Uj/0xDaO"; 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 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si2719060ejb.66.2020.07.15.23.49.26; Wed, 15 Jul 2020 23:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Uj/0xDaO"; 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 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728182AbgGPGtO (ORCPT + 99 others); Thu, 16 Jul 2020 02:49:14 -0400 Received: from mail-eopbgr00043.outbound.protection.outlook.com ([40.107.0.43]:5506 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728036AbgGPGtN (ORCPT ); Thu, 16 Jul 2020 02:49:13 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oNVpeC7qO5IWHmLYZbDFn4CsG+F0HoyNKUiPtsGdhK7ahhi9Vc12kif8lnqwTegzk7MHTbZvXGbWG+F8MQU+nPEHFPSKa4M1r3rkw7MkniQtuF7ON2PYk6p3JD2oZUcaA9QvP3d0nqZbXtNb3PI0cbyYGbwaDCZnIXA/UF5mgbaiDtbc7H9xGKq8fpXo0kJf3PLJ99cYwIdgkr6QCgxiY8wQeC8L8lUoAyKuMajL6k4d2o98yha+zLGTA4Ri5vWA4tfTNPVELo0yt8PXhSfMenVQfFrr11YBQ5Xl0KsqZkKANDDuRCZhVkh0dSxEHGVX6YzykVHJSxe1S6xXBgAnrA== 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-SenderADCheck; bh=YGX4OjM2wLwxGZ8vctQebaIuaCA0LiKNYdCHhaev3bU=; b=JKg5retGyCEnrbskGHAoD44sQHQK+qMqwzVo6pBsVfMEGr3Lz6nsOtVyEyPNkMCvFIw8vSpmRYNhfD/qg7rhG53IrvZ1oC6vm5Q7cDtKlr3h2GmvVrrPeWJVWYrgFGuRXErCToI6EtsRAZ/rT9OVnQt/XWDFNOtQF0ckZ9Z4KtA7SPAQRLsQFRZgz5USCpP57wOc7mpvdn7cLSeIO3HUlxmAqpTzbB7hoNiDWDxX+EoAUKw+mW1fR01DM34Vqg1XoV/pZNBoxsKVA0qA35zRGM+V0Xr1IPdPnpkHyJtHJ/T5Y6WiHvYpGPhERmVHeIJm1ucIqI4+qqsev6SeREopiw== 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=YGX4OjM2wLwxGZ8vctQebaIuaCA0LiKNYdCHhaev3bU=; b=Uj/0xDaO5CnaSI4sWhOo75QpdwssWQEe78aIN5nmSIBcJ6oDR1pmGsU6ISor/haZw4+ujALGpb1rXxswFHVkoohgOB2c+e0yMO3CxYD3vJ6ygwfz0m3q0M/plTrXWV8zPQm3GiwDZ9QIp9RjXXTxg1na4MoQbpHn82Ci6jd7ZMI= Received: from DB8PR04MB5785.eurprd04.prod.outlook.com (2603:10a6:10:b0::22) by DB7PR04MB5498.eurprd04.prod.outlook.com (2603:10a6:10:80::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Thu, 16 Jul 2020 06:49:09 +0000 Received: from DB8PR04MB5785.eurprd04.prod.outlook.com ([fe80::b502:cec6:9389:665]) by DB8PR04MB5785.eurprd04.prod.outlook.com ([fe80::b502:cec6:9389:665%3]) with mapi id 15.20.3174.026; Thu, 16 Jul 2020 06:49:09 +0000 From: Xiaoliang Yang To: "Allan W. Nielsen" , Vladimir Oltean CC: Po Liu , Claudiu Manoil , Alexandru Marginean , Vladimir Oltean , Leo Li , Mingkai Hu , Andrew Lunn , Florian Fainelli , Vivien Didelot , "David S. Miller" , Jiri Pirko , Ido Schimmel , Jakub Kicinski , Vinicius Costa Gomes , Nikolay Aleksandrov , Roopa Prabhu , netdev , lkml , Horatiu Vultur , Alexandre Belloni , Joergen Andreasen , Microchip Linux Driver Support , "linux-devel@linux.nxdi.nxp.com" Subject: RE: [EXT] Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index Thread-Topic: [EXT] Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index Thread-Index: AQHWOJ4IR5sw1Ew6RUWo30td44MCGqjFAIOAgAGq+gCACByDgIABgUeAgAHscQCAN6b3AA== Date: Thu, 16 Jul 2020 06:49:09 +0000 Message-ID: References: <20200602051828.5734-1-xiaoliang.yang_1@nxp.com> <20200602051828.5734-4-xiaoliang.yang_1@nxp.com> <20200602083613.ddzjh54zxtbklytw@ws.localdomain> <20200608135633.jznoxwny6qtzxjng@ws.localdomain> <20200610181802.2sqdhsoyrkd4awcg@ws.localdomain> In-Reply-To: <20200610181802.2sqdhsoyrkd4awcg@ws.localdomain> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: microchip.com; dkim=none (message not signed) header.d=none;microchip.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 328eabbf-f913-4d43-e283-08d829545777 x-ms-traffictypediagnostic: DB7PR04MB5498: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0U7oulUowWWbgylU3A0Bl1Vy8uooLNtIdK64RjBr32ybmH2iyL1iy3+OCKDON+JL4A9r+rZXKGmIZsqxjD0VSzzhygatYCVfav4nYYnRP7vNrW5fqL1dwsf04cJvMKmnKA5TG4RAzINi5e+D9wH8xnYB5vzYxFvSW26BqDgCgTCj8BIg5/gbi3RSLGsvo8rdwGKqRWsxy0SMVpXs/jZ0d7j+7xCf1KAqnpy8Pqsx9X09DCNmX0LiJfDaaXYNuFZlCB1gHDKRi6sJfzoojwG9e3Tc7hrDnzz+7haojoqlMcCFMWKiM9rYHy5SqXFDQwr/ x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB5785.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(346002)(396003)(136003)(376002)(39860400002)(66476007)(2906002)(33656002)(478600001)(55016002)(86362001)(26005)(8936002)(52536014)(7416002)(316002)(66556008)(54906003)(7696005)(66946007)(71200400001)(186003)(64756008)(76116006)(6506007)(5660300002)(8676002)(66446008)(83380400001)(53546011)(9686003)(110136005)(4326008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: Z30DLjBMMwD6UPpTB2UUt5X3kU1Mp73H/RWKkcY0w/SECQzllnQ2PHKY6G9uDqBdSo2lYfosjjDoTObB7WvqKXMeBnSVmT7gUQW/1mS/35ZIdCnZq4LszFGPPRQfRNOQEAmc4lwV2gqB3E0L3dPsIsvTTlb2hgEJsa23t7PmPlU5B1nyT+2g6TOC6I2iE/XQzJxR3J5zFM1YmcwzixNQgxwUBsSAqFD60lAeT50IGvX1X1H/cwTHA5NTOFrGUPatsdyhB8ISzLAdH8FN/e8WgXGmXcaRc3/+l0UVCnrDWBUDe0a1h+6nANblXqdD6XxJFXV52YUbbM+qk5Uu2cE+7r7QF53Dc/8rrsb3S0L840juu23vF0Ks3R+47E+jSOcHzHs0hmIixCjHxvgsJI5ew5ICbN5oWlgZhLK3jau4slphNAObRJC3SathmNmD4mfRcYXSAaS2EJ74eqKZwRetan5AsuqyYuMY00BGcRO+CHw= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB5785.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 328eabbf-f913-4d43-e283-08d829545777 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 06:49:09.2552 (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: 4hNNKpxn//r7DQJ/v4OxCWMTYcsyKn9HM4Ua1LVI2CQVtDRLDGRLBeIPqwQbXULHYpz46XNZFB3TZgV08VpZpBDaIIhVTedppXCQSbHfw5o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5498 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQWxsYW4sDQoNCk9uIDExLjA2LjIwMDIgMjoxOCwgQWxsYW4gVy4gTmllbHNlbiA8YWxsYW4u bmllbHNlbkBtaWNyb2NoaXAuY29tPiB3cm90ZToNCj4+ID4+IEhlcmUgaXMgbXkgaW5pdGlhbCBz dWdnZXN0aW9uIGZvciBhbiBhbHRlcm5hdGl2ZSBjaGFpbi1zY2hlbWE6DQo+PiA+Pg0KPj4gPj4g Q2hhaW4gMDogICAgICAgICAgIFRoZSBkZWZhdWx0IGNoYWluIC0gdG9kYXkgdGhpcyBpcyBpbiBJ UzIuIElmIHdlIHByb2NlZWQNCj4+ID4+ICAgICAgICAgICAgICAgICAgICAgd2l0aCB0aGlzIGFz IGlzIC0gdGhlbiB0aGlzIHdpbGwgY2hhbmdlLg0KPj4gPj4gQ2hhaW4gMS05OTk5OiAgICAgIFRo ZXNlIGFyZSBvZmZsb2FkZWQgYnkgImJhc2ljIiBjbGFzc2lmaWNhdGlvbi4NCj4+ID4+IENoYWlu IDEwMDAwLTE5OTk5OiBUaGVzZSBhcmUgb2ZmbG9hZGVkIGluIElTMQ0KPj4gPj4gICAgICAgICAg ICAgICAgICAgICBDaGFpbiAxMDAwMDogTG9va3VwLTAgaW4gSVMxLCBhbmQgaGVyZSB3ZSBjb3Vs ZCBsaW1pdCB0aGUNCj4+ID4+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFjdGlv biB0byBkbyBRb1MgcmVsYXRlZCBzdHVmZiAocHJpb3JpdHkNCj4+ID4+ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHVwZGF0ZSkNCj4+ID4+ICAgICAgICAgICAgICAgICAgICAgQ2hh aW4gMTEwMDA6IExvb2t1cC0xIGluIElTMSwgaGVyZSB3Z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