Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4584596pxj; Tue, 22 Jun 2021 03:41:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk/Q4p7PHNN9cPO+Tjo4ktYMdoMkJZtFhKw4xuOpXWxxsi3AUdC/2EHMX3vtb4ajMg+Obl X-Received: by 2002:a17:906:144e:: with SMTP id q14mr2906004ejc.19.1624358468955; Tue, 22 Jun 2021 03:41:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624358468; cv=pass; d=google.com; s=arc-20160816; b=V+Uc3jjvqqeW7SsVmNmBvxJ/u7p4+e9Wg+JrQmVyotT4miUObTJDombQqRHe2Bf7s7 TWp5q3jct4H8CgzUSClLx5WTh/6Y3hy/ReKpMgReEHNSA3/JCHxrhCAs2jQ7c+ihj8Wo FGHij/NIWdac9tF2W8ltPxQX5EwfttIA/kudy7+ncGS4BvfhYmhdBOb8xnbXpE5TeO3r W/fcOHWTIoJricuGC6qnWlEOLDqYSUeJvHT5bGnrsV/z0LcJp8G1a8P/btudOLCAsT/F cPqCP+KADWNxTcmTBygifUa6yBGodG5jDFc2sU5as4795HOxfU7LTqTRLQyl2gza2L7/ HPaQ== 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=kSz8b2LsWmxnq21CC9754hyDb8H8Jy/bAHJtpnsU+5Q=; b=pMR96pgUmRoTBiq+MQX/6HRvQyy+DJViTSfKJqpVk38AbAsN/nSXotvv9eXuKjy0QJ bl+ZaI/YzQ9RclY+5z9w40JRL0frzdVixgKLwv1R5pIF70NZdu8RpBancC2e25Ujh9KQ PQXttZyYwVud9gVVBrK0p/jhy+SLu4d9BFrWKfHD9wyD73pCLI/xuGS1wypU8x2XdFTe CS1GI0mvDNlDbMhyQy2xLqIlj5DR3HGNoGF49vNgFIPChgeV9JugWbyvJ1LCjRpzX5DW my1GL9lQ4GyFlBqbZggVVsVYX4I0nXxbPzHCogyuZYF+SgEjM/XcgizQX71geUhQEtr8 gWMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QscsDDqh; 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 24si13302424ejc.552.2021.06.22.03.40.45; Tue, 22 Jun 2021 03:41:08 -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=QscsDDqh; 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 S229849AbhFVKls (ORCPT + 99 others); Tue, 22 Jun 2021 06:41:48 -0400 Received: from mail-eopbgr140083.outbound.protection.outlook.com ([40.107.14.83]:57205 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229628AbhFVKlo (ORCPT ); Tue, 22 Jun 2021 06:41:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FN6QyondipkHXWSqP1qxg1WiLTNt/FuJ5ijaVBYursQJVVwhcUyQdb6kpBTI4/aIBe4WG4vCPW7BTjeDPpC+aD4pkBDkRBLXdwG2yxja+Y/NuaINereNFMGA5iYk+MYRfyjb17tsFIWSGbdlug3k893aucxujDwDGB+CPEgIhujKIUTQ60wHLu5QhfeeO2gughouRGZuO4xre9MNN7cA64zFDBYlfuzS0agfjWGi43bLMKuUO2Smp+WXJJoZ+yerEdocfgeFQ132GUDkb75cBiM7c02OXwEELvwb5lp7MzTwA4BF2S5eqVOklsw3HwrBAUlwEyOn6VcnCH9AJFVYrw== 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=kSz8b2LsWmxnq21CC9754hyDb8H8Jy/bAHJtpnsU+5Q=; b=bR+zahxBfJvagjwM6ST/qniafcuu4TKiD0dJKvykM/mU7po1LjBJNAOpbvBZr5SX6Z5fQxA97RoRhQDaj7Kko1i3qmnAIy4865fKN2njNnBhM8XRqyo48SbVSeIlqGhmcUSQG0Zgvv4d47+nkHYtrHTB3W/T/18zufTwzh0B/MmOCxJO0fxI0lbTMtGyjjMdc3S5TcfezjUTwsD5in6J7tFA+HCVQCNV+rJ595zPo/upjnFSFCm9FnoDV1vX9AQW4BbJh0w/ODjc2mTw9YFIgG4NzJ7a5dRIPSJk/RephgjyOcJ7rH7WJKfaT/kvNA9uhXOQ7D/AeQJ/8J4zVYlTBA== 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=kSz8b2LsWmxnq21CC9754hyDb8H8Jy/bAHJtpnsU+5Q=; b=QscsDDqhjiKmdAVxsJ5SRXCcdambcRfhcFOy8Ccx+c1yfXdEtOVY6fNsD+PSlX4Xea0dM/h7v4wnABFBL1vTEdN3+vo8ZrnqeO2u+abpOU6qJrPscW7TFtNN7Yu8rfljiI6xFyDbI2GXZ/C58N1Y6yjkvThvUKOfk0aZIiyCpng= Received: from DB7PR04MB5017.eurprd04.prod.outlook.com (2603:10a6:10:1b::21) by DB8PR04MB6459.eurprd04.prod.outlook.com (2603:10a6:10:103::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21; Tue, 22 Jun 2021 10:39:25 +0000 Received: from DB7PR04MB5017.eurprd04.prod.outlook.com ([fe80::605f:7d36:5e2d:ebdd]) by DB7PR04MB5017.eurprd04.prod.outlook.com ([fe80::605f:7d36:5e2d:ebdd%7]) with mapi id 15.20.4242.023; Tue, 22 Jun 2021 10:39:25 +0000 From: "Y.b. Lu" To: Richard Cochran CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-kselftest@vger.kernel.org" , "mptcp@lists.linux.dev" , "David S . Miller" , Jakub Kicinski , Mat Martineau , Matthieu Baerts , Shuah Khan , Michal Kubecek , Florian Fainelli , Andrew Lunn , Rui Sousa , Sebastien Laveze Subject: RE: [net-next, v3, 02/10] ptp: support ptp physical/virtual clocks conversion Thread-Topic: [net-next, v3, 02/10] ptp: support ptp physical/virtual clocks conversion Thread-Index: AQHXYcnwaUvaYN3/1UWKJ0RWryDTcKsavVqAgAUjr7A= Date: Tue, 22 Jun 2021 10:39:25 +0000 Message-ID: References: <20210615094517.48752-1-yangbo.lu@nxp.com> <20210615094517.48752-3-yangbo.lu@nxp.com> <20210619040623.GA14326@localhost> In-Reply-To: <20210619040623.GA14326@localhost> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.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: c65294f8-5857-4437-f4bb-08d9356a013e x-ms-traffictypediagnostic: DB8PR04MB6459: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gktCSC2pepATIpMgOWriIVCxUlARMPsgMSY1c+lD/djZBDSweyJQPigL8wmOdn9NtYmGQpKw6W6uLUd9O8toapvOJI1UQombYE1UnGx5zuSsmb5oTLe9QBLROzXXLT3Xtz9Mn0RjbnEBPVT91bMMXx+K8WmqvqE8U/GmYkLe3fnLENFySpVHDJz4viCYatDmaLWpQQIsy1CONC6NQhZxvDmEYxsj9fjz+CcCLr74bqmSSm1SQddWLpMbfzgChsnpcbjsfDJLNHFKSO38Uuv4CgzANeT8In1sb8a0KKwHaXxVvka76Y3TG88HieG/qprobINMHbnasyPNiOlUlApTqyp/C6gQ2FaxFseuU5v/z12/dTIwk7imSM/czFKPSPqgQNRg0A8LfcWuI30VwalhwmMPZ40RKh5NgeNe1l/x/et3fCs7KjQ7HlM24K1bvZtMyXNTheTf56TDoRv2AXGu9k9tcen2iIRbxC+h1357EU23SKlcAuMeS3/KhFY6s3xmEPK+6TebPohzLaTdLH+OjofmzBKsjIdPzdEM6l+hKx5/XosfwCpGaQ1Ja4o7mmaHyCorZuma8q6oDMDhCgwsYhSL5cPLqwQaEOS7Dy3bD0w= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB5017.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(136003)(376002)(346002)(39860400002)(7416002)(33656002)(2906002)(6916009)(71200400001)(83380400001)(8936002)(8676002)(38100700002)(66446008)(64756008)(66556008)(6506007)(478600001)(55016002)(9686003)(4326008)(316002)(7696005)(186003)(26005)(66476007)(66946007)(76116006)(54906003)(5660300002)(52536014)(86362001)(122000001)(53546011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?YVpZZUFScFlRS3FrK3pVNTl3YmE5bTl2SXVKbDdvTVFXT2FzeW5nZ3htTk5L?= =?gb2312?B?SjNXVzAxTDdYQmhaRERzeXl6V1l4dk10NzduNDNnMUlCZmNLTVpIZTJxUnI5?= =?gb2312?B?alhPdUo5N1BZanVwZU1YVlAxZ0l0Mkc1VmhieHN2Q0N2bVRZdEZyNHBESStk?= =?gb2312?B?Nm9ROU9HeVdzMW9zOGM1U05YSWtmNE81cmR6MUtNVGUzSkkxSDFuVm5MWEJh?= =?gb2312?B?aUpDV2tCZ3NFa2VXdktZT2tBdDN6clNxUXFMSGRCWmlKd2Z3WjduTitkUlda?= =?gb2312?B?czh1WHR3THB0ZDFhdGVnUWt4aVpEMjRTR1A3emZ5TllHT21PUldGM3BySnp1?= =?gb2312?B?SWY5OVo3aHBTWXJsM2V3ZHF6WlFFcFFtUnpUMkxqeHJaWHphdkU4S2xHb21E?= =?gb2312?B?anZ4VjYvV24vaytNV3hvWUVNZHl0Y2gxMmF5dzZ2ZWpFM21ibkdSZFlRbjRH?= =?gb2312?B?b3FSZUZaOTJML3hldUxDbWRFb3h0MGkrMU1nN2NPY2dyVVRNMzNIbzRHam93?= =?gb2312?B?RVY0blo2U3p0NzUza2tNUmtJWklSV09GMjlOTXBqY3U5dy9DRE93ank4a1BB?= =?gb2312?B?QVNGT21jWW1OOUN4c09ob2VkY3l2ZEptT3hIOEVPc3pWR2JVODBVN1N5SmpR?= =?gb2312?B?NEIzNXBMMC9OTEhkclQ4YWJJVkcrSGJQK3NiTTNwTkdIWlF3MS8xQW9kUHds?= =?gb2312?B?cldZdlIxM25iNjVHa3dva2hlMGJEdnRYWTYzTGlFKzFoV3EzSkM0WVlyM1dl?= =?gb2312?B?OVZEZm5BMjBZOUlYLzZq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2312?B?MVlsUjlaaTdWMG1HdDRqb0xneE5EcEQyYUk3NjNHNnA2YlZnb3UrbzZESmcy?= =?gb2312?Q?Uuyc3803XOc8/qGv+8MUyHZSHX6iSWZtrafE8tp?= 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: DB7PR04MB5017.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c65294f8-5857-4437-f4bb-08d9356a013e X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2021 10:39:25.2085 (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: lGKbF2hcICQ5PdiWO0OldpP1HAK23PE7DyAz97t1cah2gjYrwuWe52rLyGwG8FBF5/z8S76/pxxsoFeD+QLWYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6459 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUmljaGFyZCwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBSaWNo YXJkIENvY2hyYW4gPHJpY2hhcmRjb2NocmFuQGdtYWlsLmNvbT4NCj4gU2VudDogMjAyMcTqNtTC MTnI1SAxMjowNg0KPiBUbzogWS5iLiBMdSA8eWFuZ2JvLmx1QG54cC5jb20+DQo+IENjOiBuZXRk ZXZAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOw0KPiBsaW51 eC1rc2VsZnRlc3RAdmdlci5rZXJuZWwub3JnOyBtcHRjcEBsaXN0cy5saW51eC5kZXY7IERhdmlk IFMgLiBNaWxsZXINCj4gPGR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