Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2343658ybc; Sun, 24 Nov 2019 19:05:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzU4MbFAJ23HIzOYsEh8oD6a8indkJU1ulAqn0/q8rxxo1mGLJ9DZCveXthZ0+DbrJPyUlv X-Received: by 2002:a50:9555:: with SMTP id v21mr16048858eda.90.1574651119618; Sun, 24 Nov 2019 19:05:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574651119; cv=pass; d=google.com; s=arc-20160816; b=Bw3EMXHKpQFJ+I7AABZHMTxFRalKft9Mo8Neu+HRRadbEbr/CqdigNMMZ4dDm7Beyu zoGAIm+IOPkJDCcTk/NEBjLgKvUHUD/EaqUEyAVHf2ertXadEl0FWVrhIvhk0cKpwJ+i HWA4PBGFkWIvvQdgbG8sPIqiFLGtg+G4pNeUCIKwGSda5V2iWCoSORf+Fgb/g7o6+nR2 kx5Tzkkq+MAaZKwYxl5wm6cqo16witSUKqLdTusrsZWSzph4/DpQLIzsdeDn3vuVrU6v 2ZVvnH7B9JIB9QXIDkBug71UX6fjTVbe2ujlSIrDEWCsL9eHBlXxfguogzeBgLD4jafW qp3w== 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=57YYtK8qx6D/v9YZs88nCbjafr0q5rut2S0EWJFzhsY=; b=c7jj3+U8HU2DrSx+ukKMXyhqMzKLOwyCYER7bRWUl9jgf9DVnGHG97TX9yh0VFPgup K89pGPZUoylcwPECZMmEjqDw4B0OkpmA/L0sWyYDlKzuySzkFDrz3A1N6VVAVN17RYdJ moHMQSZxMOd13CQAGWNd+sEEBioJin2wSPHUFHExpfdgLyqItGgfoLGJSmnNP6WSHQzr +pDI2XlhnKWaYF6nkYoQGQ2m7J2InHtnVgKM4KAL8lvqRAUGylWkV+R5Unc9fcpVcLNM mYoFJSH/wZDu21grP6Sa5Ex5rUgDn0PllWbacvF3bOY7uTGeR7nj8fKiQAlbIZF5n9ev AVTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="A/dDl4Ba"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id f17si3791836edx.113.2019.11.24.19.04.55; Sun, 24 Nov 2019 19:05:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="A/dDl4Ba"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727102AbfKYDDp (ORCPT + 99 others); Sun, 24 Nov 2019 22:03:45 -0500 Received: from mail-eopbgr30059.outbound.protection.outlook.com ([40.107.3.59]:54985 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726907AbfKYDDp (ORCPT ); Sun, 24 Nov 2019 22:03:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=grCDG7WzflCk8IyTTjrZkMMWXEu4iza8Q7R++4Y59QLjL15LEXOJGsaXGYsUsUX/1i5BgYRZXH0JSSZJRkHhIqfzXFrwRIElf8bKp1wFHDrEO9Mk+Ehs4dsQc5tHranCSU52avmcQ04p+RP4qCWwocsI6YpUMrkNZc1S++wBegxIdwt+9Qr46iwg5yJ04IJRxHrB3DOUC0z1qNjfal1I76RvMFYOWxwtSDZ4+l8RbxXOR2RcxEWvvXMuoM4aOeS19cc+1MojdcaFWLG+HJy+f/amelmo6C+iWebkDVd1SYE9oB1k+qjnYbCbgj/DGUpz6Jo9+aNGLoCKgago5I1LwQ== 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=57YYtK8qx6D/v9YZs88nCbjafr0q5rut2S0EWJFzhsY=; b=ab+22QKgyCs+o5uC/vDbI8dDKoQetICdWmt5qqLlkaKREljkwoBJpxmXGIJh2vIgm1nPD5cKpSEIrUc48UqeOADrYG20gnBzhU2WIy+gpFgFmOYW4mLjGy6rnXd5rZ6n6Anp10149CX5q2gyFb9x8g596WtLucINzOzOCXphnYYRbrNTmFCd4SPJCW+vQ9/ZUN5QMnTRPk/amCHj3RqA3S2biwjqARrZq4i/PhBIY0I8t2KVL28ud4rZHvmiXUjP94XQVzORHQVAlL6iEo0pyFjlufbrUeibjXF5jNgjl3gIMrvdcIiVcbtaMrfUEtyJcuZTspFN5YI6q6zBHEVrxg== 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=57YYtK8qx6D/v9YZs88nCbjafr0q5rut2S0EWJFzhsY=; b=A/dDl4Ba5IU2T9zHc5fbjMbeQSZf+eEN2DKr2p/6h32shpptxdMZMI/L8fnaBEHxujqEi41TTSemJqm0C33r7QdKs2j2VbaZkyANc4/lYtIeidMNAOhdSGW8Mshcy8tNQhDTQiaBU6iKZ9zcQj9Ux9OcC6dmQVy3lf69eBoautc= Received: from VE1PR04MB6496.eurprd04.prod.outlook.com (20.179.232.221) by VE1PR04MB6605.eurprd04.prod.outlook.com (20.179.234.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Mon, 25 Nov 2019 03:03:40 +0000 Received: from VE1PR04MB6496.eurprd04.prod.outlook.com ([fe80::7c6e:3d38:6630:5515]) by VE1PR04MB6496.eurprd04.prod.outlook.com ([fe80::7c6e:3d38:6630:5515%4]) with mapi id 15.20.2474.023; Mon, 25 Nov 2019 03:03:40 +0000 From: Po Liu To: Jakub Kicinski CC: "davem@davemloft.net" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "vinicius.gomes@intel.com" , Claudiu Manoil , Vladimir Oltean , Alexandru Marginean , Xiaoliang Yang , Roy Zang , Mingkai Hu , Jerry Huang , Leo Li Subject: RE: [EXT] Re: [net-next] enetc: add support Credit Based Shaper(CBS) for hardware offload Thread-Topic: [EXT] Re: [net-next] enetc: add support Credit Based Shaper(CBS) for hardware offload Thread-Index: AQHVoQTfZRfPw7RK9Uq/YjFUdit1aqeZpRWAgAFYcgCAADjWYA== Date: Mon, 25 Nov 2019 03:03:39 +0000 Message-ID: References: <20191122070321.20915-1-Po.Liu@nxp.com> <20191123190209.5ad772fc@cakuba.netronome.com> <20191124153458.14015cb2@cakuba.netronome.com> In-Reply-To: <20191124153458.14015cb2@cakuba.netronome.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=po.liu@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: 7d0844c6-0cbd-45f5-1a61-08d77154130c x-ms-traffictypediagnostic: VE1PR04MB6605:|VE1PR04MB6605: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0232B30BBC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(136003)(39860400002)(346002)(396003)(376002)(13464003)(189003)(199004)(7696005)(4326008)(44832011)(76116006)(25786009)(186003)(316002)(76176011)(66446008)(99286004)(64756008)(66556008)(66476007)(66946007)(55016002)(6436002)(52536014)(9686003)(54906003)(446003)(14444005)(256004)(11346002)(66066001)(81166006)(81156014)(305945005)(229853002)(8936002)(6916009)(478600001)(74316002)(3846002)(33656002)(6116002)(7736002)(71200400001)(71190400001)(86362001)(53546011)(102836004)(6506007)(6246003)(26005)(2906002)(14454004)(8676002)(5660300002);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6605;H:VE1PR04MB6496.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 31s9fJjMdZbjwI7vs9I+FPz+NKrQF2u37I04ELUFvRkx17aju5zrmSUhbZGSTLSQFIUYfQjBi2i92gAEEABjBaKNysixtJR6JyI8xx/FHvFTxyCWmsNj5pcOIPm3JI99LHs/uo2abN0PeTlfZBX2xdgY7W6NsvZo3ogaTBY5AFw0boRqo0z9ThvMFyE8PL0QdaW6L9KNvVZbwtMvhPxfM3NoLxrorB7HmqOVxZykb3pQ/jbeqJV0wPQhuVVPOvEJ5+zT95c5tDFGVGvCNa5d+vtAjFbSywBXAOjd84L8THL4wkXYnaKdwzxfumU/MqfuEyuixlZrpyI2ohIpsyM/IHrAE3ljImVMFnLG1Ks6bokTQeDvZfkCyY09/ViPzUeww65Vpz9sXf0IHOsZ+m8JWWyhi3yNMidzSDksEMXtzExGG2+OtxMDkISCnsf7ibXo Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d0844c6-0cbd-45f5-1a61-08d77154130c X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2019 03:03:40.5117 (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: asB8cBbI2oTD8Z+wtObkhVM7zn95hr3LXM01FZltRm3Husjrsv+3Hes4rdgcGDxn X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6605 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSmFrdWIsDQoNClRoYW5rcyENCg0KDQpCciwNClBvIExpdQ0KDQo+IC0tLS0tT3JpZ2luYWwg TWVzc2FnZS0tLS0tDQo+IEZyb206IEpha3ViIEtpY2luc2tpIDxqYWt1Yi5raWNpbnNraUBuZXRy b25vbWUuY29tPg0KPiBTZW50OiAyMDE5xOoxMdTCMjXI1SA3OjM1DQo+IFRvOiBQbyBMaXUgPHBv LmxpdUBueHAuY29tPg0KPiBDYzogZGF2ZW1AZGF2ZW1sb2Z0Lm5ldDsgbGludXgta2VybmVsQHZn ZXIua2VybmVsLm9yZzsNCj4gbmV0ZGV2QHZnZXIua2VybmVsLm9yZzsgdmluaWNpdXMuZ29tZXNA aW50ZWwuY29tOyBDbGF1ZGl1IE1hbm9pbA0KPiA8Y2xhdWRpdS5tYW5vaWxAbnhwLmNvbT47IFZs YWRpbWlyIE9sdGVhbiA8dmxhZGltaXIub2x0ZWF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