Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5002704pxj; Wed, 9 Jun 2021 07:06:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtK5vG68cdpHObq03ZjB/TUCaEf8E7rlCwWjawOBc+ojZDXToSesH9+7Bxysn1RJQ6X5/U X-Received: by 2002:a17:906:a0d3:: with SMTP id bh19mr18881ejb.205.1623247566661; Wed, 09 Jun 2021 07:06:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623247566; cv=pass; d=google.com; s=arc-20160816; b=DCSZNFq7IUvGQXdrUvMxWGtylg5rGPJ4Kvo4gJ6k2xuglCF0HNOaDaErERN64miION 8IeN0qqnwSXWKw4ms2TRLAik0waTYI4F1uJmaHpSuJ+AQUFa+fyspY2KXOB3OlFOzHbF flql1lizAy20ZeifQbeH4OUL2KdaMtH/zZ83q1/Kka+ouZa7+50iLtTOd2uoTt2sM21Y a8FfTkqsfig95gpXkqKfP/EF817QhumvWDKCFuB8QRZ/2Q8SxKsVfWJV3H6YMp7mMnc4 Ew3vtrI2qQH0UEHBLss5vM4LhmwMmdXGokjL8wWQqo0aCNUMkili1N5jeb3Ippf1mDeh lzQA== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=S3j+wct0Xs34Xr4mGNF1tLhzotrHJU5XTWYL0wBvqws=; b=jClv62FglVAB2LeDAmNvncaglyoeaRmgNDA1LciKR/k0UrMRXSaFz9YMnchOqQjCJn Dxnr1/fOQ290Pi080g6nrvF1AdRg88UpYsXclL4Czs/KX0NL8tsqHym82JwgE+HeYsFd t8kb+bOk6kgztYcrS9lh+C2GjxeqEZSKmz+x5oQQOwsmHMK0wvczHHNmB8RDJApKaUEH wIq8k/q3XR8KO0meV+RN3qK5/lBx7h8qo7cYgiMf7psp8vQP/71n2GUOmgBkGtUKjP4V qXNbrdyp/1iDihx7rGxgAg7LvA0wahcrm3jPHcn68sIIaQXgHEMvhKo2GR53t/mJd8iy qLJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=msUmR+Kl; 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 k22si2489828ejc.469.2021.06.09.07.05.42; Wed, 09 Jun 2021 07:06:06 -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=msUmR+Kl; 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 S237353AbhFIJFY (ORCPT + 99 others); Wed, 9 Jun 2021 05:05:24 -0400 Received: from mail-eopbgr30075.outbound.protection.outlook.com ([40.107.3.75]:20454 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231485AbhFIJFW (ORCPT ); Wed, 9 Jun 2021 05:05:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DZLNvSFF8LbvU2dnAx+762WYRuqS7TY+ChH3F/4Ck7kkIQVr2jkIYUmYhGt8Yr2uVnOwqcXP3bXJ9xsmmhXOyL7OxTUkEGQZ4RcbABfUZsjpG2qqAAC5BGOgmF/8W8K8uGO+f77+EqN/LDzg2G3hmaChLZEuQnYS5/tNcO16AR1mCbhdv1JLdDN8aPFu29eULtFNB9dQ81x2OtFp4Avho4qdbnwKZ8acRbgAflKyzXVnNRZgpXhLPGWf4vw4fDP7hzjj/E7uXZyOxn7JoIYyyctQbzJXt7AiRRf7VWoQwvzO2ezcV/EHo/CaMj0u1ZUZYd1v5Q7E1m1zFSeTbPjwnw== 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=S3j+wct0Xs34Xr4mGNF1tLhzotrHJU5XTWYL0wBvqws=; b=i8FvzxmVS+LhYcyJvHUqED3CpAlgDTWrEtyVY1wH6npOPLlR/+c2CJuKgbJgMhqJTNt3fquc2C0Lh8Av7JlDTIE4ejr+Q3S8MFf14JNzrFxfyygudd+hgUd+P9PWi6rjiInTjnTI4JEdrH4/zqrfClX20nfffc290Gj0TS7NoqHUKq9aItcaNy50Lh8IFu0SU2TELF5ioGeI5U1xgf7T5tbbwbVt07WwpkYrkd+Fdh4W9xzw8XiD3Yo29SgMbwQ4ncqCHeU/0o54y6NNaCLbHRFZJ/00prLC02FOcKCJF+UhAiVFBZ1UO0AQwgYvDLHYhiFfu246zh36D3v/2kuT1w== 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=S3j+wct0Xs34Xr4mGNF1tLhzotrHJU5XTWYL0wBvqws=; b=msUmR+KlzTrF0buqsn4s+ymhYUaU9wbiYSdDdWweexS/4udaG3yP9HDXjzaM8ZczFpwvDlzg1apxHGA4qfDIzkoohbD246WkUXidY/ygpL/OnplasQ0rvLqFFZBPhxl59E5bBjGTqpC15kPGmKlTF0b7tlacOwjt1JnCCnkPj8k= Received: from DB8PR04MB5785.eurprd04.prod.outlook.com (2603:10a6:10:b0::22) by DB8PR04MB5787.eurprd04.prod.outlook.com (2603:10a6:10:ac::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.25; Wed, 9 Jun 2021 09:03:24 +0000 Received: from DB8PR04MB5785.eurprd04.prod.outlook.com ([fe80::b463:c504:8081:dee5]) by DB8PR04MB5785.eurprd04.prod.outlook.com ([fe80::b463:c504:8081:dee5%6]) with mapi id 15.20.4195.030; Wed, 9 Jun 2021 09:03:24 +0000 From: Xiaoliang Yang To: Rui Sousa CC: "netdev@vger.kernel.org" , "boon.leong.ong@intel.com" , "weifeng.voon@intel.com" , "vee.khee.wong@intel.com" , "tee.min.tan@intel.com" , "mohammad.athari.ismail@intel.com" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leo Li , Vladimir Oltean , Joakim Zhang , Mingkai Hu , "Y.b. Lu" , "davem@davemloft.net" , "joabreu@synopsys.com" , "kuba@kernel.org" , "alexandre.torgue@st.com" , "peppe.cavallaro@st.com" , "mcoquelin.stm32@gmail.com" Subject: RE: [PATCH v1 net-next 3/3] net: stmmac: ptp: update tas basetime after ptp adjust Thread-Topic: [PATCH v1 net-next 3/3] net: stmmac: ptp: update tas basetime after ptp adjust Thread-Index: AQHXVsAq74oZyGIaq0aybt2sUJNcZKsAg6SAgArhutA= Date: Wed, 9 Jun 2021 09:03:24 +0000 Message-ID: References: <20210601083813.1078-1-xiaoliang.yang_1@nxp.com> <20210601083813.1078-4-xiaoliang.yang_1@nxp.com> <5d81bf51-6355-6b52-4653-412f9ce0c83a@nxp.com> In-Reply-To: <5d81bf51-6355-6b52-4653-412f9ce0c83a@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06e69f54-04dd-4923-50cf-08d92b257009 x-ms-traffictypediagnostic: DB8PR04MB5787: 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: w+IgWjxsCIvDU/oA6OpZBvmvlPGfLU2Jhk6FuyGlvFGCIQA/yZPZH1jCP4hj4Xn4guHCVvxvLz6EqcVGsy4oRgKueAVyl0JumEoVPoPO433BAsb+a+IiDU98hpRzp1KGTHAXmgE9nbtoi5Mi16/XBR3tqn33ne6cPXHUvQbI3dqMDF1YR4L4ki/r05p8E27E+h9sy4DANwLLJvSDAGUR/xihVjtwkI+lTBZaiJRY4F7dPuvJQRaa6MTmTtFpj4o+G7ywg5nrghYaHcpFBn085ARW1iUFjbP5fFNk+DlhQrcNlGE8GbvndDUU/IKcSTuHEa08Md+KooiqvNPkpgHTYnm/JbtUovcZ3INLVwq3vkCXR5vGADhrF8skJ/IMj0P55gbxGk3EWABGf9DDpnUn61d/Qgy/mCvXdIeTdW12ej3a1sXkCjzozLvww4ahCrkIyy8SPx5k8KABpIDnhBUFZQMevn0d8adVW29Kox1b6dyzDeAaZVf87v73H1g8XSO0jRpHVh504EIk097j2/DCoy6PPl8KparOcvzOB4Acatia5YsmdBPZiI03hs1jpwgIs1f/8XznGPsbD3MChJ4yr4diFWwpodSyMFN1oWR3ZP8= 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;SFS:(4636009)(396003)(346002)(136003)(366004)(39860400002)(376002)(7696005)(2906002)(122000001)(66446008)(6862004)(186003)(33656002)(55016002)(478600001)(9686003)(64756008)(53546011)(71200400001)(38100700002)(6636002)(6506007)(8936002)(83380400001)(76116006)(66476007)(7416002)(66946007)(5660300002)(52536014)(15650500001)(4326008)(54906003)(316002)(26005)(8676002)(66556008)(86362001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?cEZOZU9nODFvUTFmSHRFZHRNTXZGMnpvaGFVbnRxTzNRMVY4Q2VLOUVMNWMv?= =?utf-8?B?bzMvQUpwL2xSK0tTRUl4dlVlVVRuRUYzK25jaFNCOW53cnlwVnNVOXMvaEkz?= =?utf-8?B?ZVgvM3kyV01vVWNqK3F1SWJHZ1J3NWpEQWdVWGQwdGpWNllnM1pJOTZlTGRP?= =?utf-8?B?UzM4aTRyMXVRbDd0Q2N6dW1PbThjYjJvNlZmQzZ5bHhGQTNqZVNWMUY5eVFO?= =?utf-8?B?aEgzbFp6SzlBWk1IVlRyeGltY0dabnlld2tWMWpuYVY4eFA4bU1lUGpMZzUw?= =?utf-8?B?bndjVHQ4R2owVjdZNFdpbkVsVEh4YXUxc3FBcytLRjNheEFjTTB2MXNuYUZZ?= =?utf-8?B?TkhpY3RYaC8zT0VhT25PUk5iZnBEZW9sVk9STlhBSEZYL2llYzdwbGZEclZ3?= =?utf-8?B?OWE4RVdyeW1MM2U2UnlyK1RORWQxSEpRbmNNcGJiNUJYblJ5N3Vzb0t6SUxx?= =?utf-8?B?S0E5Q1ArYSs2SnA1bktVbUZGQmtXTmQ4elp6c2pKOUNWL3JLQWJ6dGlISXEx?= =?utf-8?B?VG9hM3oyVVlTK3VJVGRKSm9oVk5saksvOXp4MWZBSHpmU0RuYXVWTG1zbUt5?= =?utf-8?B?UitkOUIyWnhYNEJ3TTJuWG1qSThNb29vV0Y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Tm5ZRFRXbU9wY2lNc256UGRxWlEyQXoxSnFyK3dSOGV3WThI?= =?utf-8?B?SFhkSm9wcFlTQkhnckVtRUJsRjcrNUhBTFVnYkZhSUswby9tRzgvcEpwSUxu?= =?utf-8?B?dW8wMm5iZUZ4T2xvUlBiTnNmMk9JVDdMZ0x4YWJMNmtwemRyWkcwSVNTclQw?= =?utf-8?B?L1h5U0N6eDBsUHBENisxMElyK3VCd290M2RBYWtxSkJUZ3lvR3ljSExDQ2dF?= =?utf-8?Q?wLePzJ9TWbF3Bph3ljgXJzzcKmi6/AQJLbp624j?= 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: 06e69f54-04dd-4923-50cf-08d92b257009 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2021 09:03:24.1549 (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: rqIQmv/6po+d0HD0hiBFXCgGocH8PDNzF+Cj28ssQ58w6X+jLL804PU7Zct7hkD15Pn8KjpsBLO16LzVuHGPevcuGTWkqnm1FXk0UwfTzZ0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5787 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUnVpLA0KDQpPbiAyMDIxLTA2LTAyIDE4OjE4LCBSdWkgU291c2Egd3JvdGU6DQo+ID4gQWZ0 ZXIgYWRqdXN0aW5nIHRoZSBwdHAgdGltZSwgdGhlIFFidiBiYXNlIHRpbWUgbWF5IGJlIHRoZSBw YXN0IHRpbWUNCj4gPiBvZiB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