Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95F1DC433F5 for ; Thu, 9 Dec 2021 01:31:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237033AbhLIBf3 (ORCPT ); Wed, 8 Dec 2021 20:35:29 -0500 Received: from mail-eopbgr10075.outbound.protection.outlook.com ([40.107.1.75]:24451 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229680AbhLIBf2 (ORCPT ); Wed, 8 Dec 2021 20:35:28 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UvJOn0V1jAZ0+tzt/RaL6B5pGP1/FVZC2W4dnkdgDkPnzDyy/X3SI7ppqD96x2qa+fPikSneIdCwXeq7E9bMrUbZjDTiHk31GJ6tmP/mumv8th7Kt4BOoR5mFqokDK8TpARZy0zj2uXs7D/WQSegwW7vGoIdURjcmOC+tofQv0qbP0MuvoxDkLc6hv5YalVVyDScmjekhxzdur/rtWrmuQAXmTfOuLO2uYKMA+CEp7gaPeO1F7/LMbq6uE0Scw4Y3br4otNKZUb7x9k2HhtK1ZeSbOazyJPNpaEbmomfPnDyuEkGqlKFHz5CnkW62Bskw5D6hLkRzC2Yv65r6uI0Yg== 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=c6pgaF4bMsorLYhPB9BLdP+FY/5BWNwRoRgOyT3Q0/w=; b=oLGfcwMi3Y1icP4ZtQhnJZSEKGFy4OOhb9ocLqnbL/Y6z/uYIq5OEGGGLZdLg1+3bCYxue+0HCUzcwsivwiohaz07A9DIuN6qE3YrPixLnrIjzNnoWGxEOZvJQRI9xDZCEMAPsdgXT6VFxtgoGBDu2XiivMFRXLrxTBkXUpaviviovPDF8RID/GFpbGyD10eA3OhdFHTTVhLWrVPnoVrPloJtdKpPCNSnoagQ5YinM6hCmG5+NPGvSuUHv14PNMQujyfNb5zRJ9NWRgxBdrpqwSks6hkGZHFs0BRPDj9RLmB+MQVryl3H+nqW5gtHZSf3s0p37bEH7LATe5nN7C0Bg== 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=c6pgaF4bMsorLYhPB9BLdP+FY/5BWNwRoRgOyT3Q0/w=; b=XXl+rCTYod3CEKqp9Pdt1mvukEOc9ffq6u52203ZCXC2RvxDrLM0Z9aabTkR35fV9TtbZEo/t8fC9F68K/r1X5fVSTLzchCbonFmA4AXoFE1LxCSu14CnPnd6g2Hcog4edZqlyIjdUFxjxOJTAZCZZBdp5hGIsmjlYlAkKY6EkM= Received: from VI1PR04MB6800.eurprd04.prod.outlook.com (2603:10a6:803:133::16) by VI1PR04MB3184.eurprd04.prod.outlook.com (2603:10a6:802:9::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.20; Thu, 9 Dec 2021 01:31:52 +0000 Received: from VI1PR04MB6800.eurprd04.prod.outlook.com ([fe80::f5ad:60a5:edcc:9d95]) by VI1PR04MB6800.eurprd04.prod.outlook.com ([fe80::f5ad:60a5:edcc:9d95%7]) with mapi id 15.20.4755.024; Thu, 9 Dec 2021 01:31:52 +0000 From: Joakim Zhang To: Xiaoliang Yang , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: "kuba@kernel.org" , "peppe.cavallaro@st.com" , "alexandre.torgue@foss.st.com" , "joabreu@synopsys.com" , Yannick Vignon , "boon.leong.ong@intel.com" , "Jose.Abreu@synopsys.com" , "mst@redhat.com" , "sonic.zhang@analog.com" , "Joao.Pinto@synopsys.com" , Mingkai Hu , Leo Li , Xiaoliang Yang Subject: RE: [PATCH net-next] net: stmmac: bump tc when get underflow error from DMA descriptor Thread-Topic: [PATCH net-next] net: stmmac: bump tc when get underflow error from DMA descriptor Thread-Index: AQHX7BmwpRgNsRWUWEimJAcUzLQKhawpYAUQ Date: Thu, 9 Dec 2021 01:31:52 +0000 Message-ID: References: <20211208100651.19369-1-xiaoliang.yang_1@nxp.com> In-Reply-To: <20211208100651.19369-1-xiaoliang.yang_1@nxp.com> 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: 2757936c-c037-4ae0-c771-08d9bab3adc4 x-ms-traffictypediagnostic: VI1PR04MB3184:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Y+A3g5M0d09rAaLpt8tyeBnd20EB/5XTk8/R6T3nNiWSVO3p5ihpKQ3jwAPzefnHgVM4UZnsUUZ91da+KBEvtlcQU7KFLDU6u5FdqO61bfmYN0Ft1iupjsXLzfm8sopa5B8wq/nGO0VCR75qg/kzZ6+9g+1LfgJmQK0ILIXtw4voLc6DxcpqddwUQvgSiX1G4mPcc2i9tBxASBfocX3mpUSxBHnwNeRBqcp2/SX0l0b1zOdlVF05w3o1bdwmCbg0wMsX4Deu41IVxwT5y/+i+Qmn+jYHZDllkd0HFWg4LcnNNvG6ZUGW3HWkeDnv5CTRebOg4sNAogkCgaJevH38lmN209la4NYS3ciyH9ex79wY++TN7ZFqD6D8W9Wo5vHdqfAb6JMoYHUHo9fQnagCgPv+N9nalOnVdqfFBFtRWjIf31VHcpUXZdq3q/xfX5zYUgJ1TNVq2lvMbhsGYjC974GmQHulzzOmmYx5ueVIJZlCqfedFhQE1lOmMpV8OCNW/zknN+MMbyaLxHyOpN6dAWwoiylKzw5i+mjivSWeLLwtTCtAcC9mOOuIqfEfVndkgRhEKIxEfQTvAPW9sykLoPhdazeUPF99GT66E9B9et4dwR2Qtv3jf3idP5KlvajiWA0FfgG5TqwHVUpbCGO1DVBPMd/nGTNHFqX+tkuCzJ/LAGirRSt7mpFqLftCKDD+Yy8F6rWxPSuScrdAlHAgV8swfZZB8moUDSQYkEij4C4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB6800.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(52536014)(7416002)(71200400001)(33656002)(7696005)(4326008)(6506007)(8676002)(53546011)(38070700005)(55016003)(9686003)(86362001)(186003)(2906002)(54906003)(5660300002)(66946007)(66446008)(122000001)(76116006)(64756008)(8936002)(38100700002)(66476007)(26005)(66556008)(508600001)(83380400001)(110136005)(316002)(309714004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?V1M4dms0Q3NGS1pyU21Xd1dBYS9aSWw2K2NMcTBwSWlsK3VwcFovVEpucTdU?= =?gb2312?B?QzdvQUI5c3R6TGwyWDJpalNzcHl4ZUphdGQxb2xqdDFZUldkaW1vN0V3OWhU?= =?gb2312?B?VHJLc2FweWc2eTlLTit3TkZvNGEvbFBaM0JjRWlaOWtTN2RNZFhpWkNLTnN0?= =?gb2312?B?c1RtQWg3ZGl3SjRjNVBZOVhCNTBzcnV1aT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=?gb2312?B?S2oxdEFaQXVManFza01qZTdRbGVCVjlvZi9xZjFUclZUYVQra1k5UWpsZGxX?= =?gb2312?B?aWtRVmhVdTRPMU5aaHFTZ0YxYkl4QUdFWlVsUHovMkFaamtsN0JnOWU1Z0Za?= =?gb2312?B?Slp0TW94Y2NJajdHRmdwbDJ2ZHdZUk5qV29tVDgxakpzekIvZXlhTGZpYjhE?= =?gb2312?B?YUE9PQ==?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB6800.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2757936c-c037-4ae0-c771-08d9bab3adc4 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2021 01:31:52.4552 (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: UKEBpg/xwqk5BqsDx+XW1lBSbsefIvUdSYVfcCr3EQIdgCRHoexvcJFrCLdDCS40ToMvRUUlMJebtTpaVorCnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3184 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFhpYW9saWFuZyBZYW5nIDx4 aWFvbGlhbmcueWFuZ18xQG54cC5jb20+DQo+IFNlbnQ6IDIwMjHE6jEy1MI4yNUgMTg6MDcNCj4g VG86IGRhdmVtQGRhdmVtbG9mdC5uZXQ7IG5ldGRldkB2Z2VyLmtlcm5lbC5vcmc7DQo+IGxpbnV4 LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4gQ2M6IGt1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