Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1403475pxb; Fri, 21 Jan 2022 17:49:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzY4f7jX+getk6/+Lbb9IIfLJcrcmgQlVDTkyOwTahtRS6W93YeAdhKa22touaZsd1isJcT X-Received: by 2002:a17:90b:714:: with SMTP id s20mr3261206pjz.31.1642816182618; Fri, 21 Jan 2022 17:49:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642816182; cv=pass; d=google.com; s=arc-20160816; b=XY5ejupDr2Sj7Dbt3Blnn+/aydGIUKgndEZYY8/3eRBSfWWprhYTkTyZkmLFxNeKmo DsshLWA63Mi6DeKpbJb+TKMU+7gRK7mMI8MGqpn4krCk78W0A2+JFkO1xlYIRg0e8yiT 5iAYwSBP9FmuEuyHOkIWqqw2QQEEdCejj7EOpVfnXc8l/f4JYgndUUXAwwQIrXveedAv l5iwj9aDI5NrgLH1PQLtU5qryQDTba4fi8QVumJhuDtws3ZdXLzmGN6EYh7T72B4ChpG vdq3dMjSFiPQ0xXvfELZ8lCapT7FoIVKnF5btsJj3GNT7MXCOQeMWi2xNDM+w3cvTsVp 0lxw== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=gi0egkRzxFrC/UDy0knnJyQO4ICYMjRGq09tD+Al2SQ=; b=s0dhWNNG/kz4ATvZlzdWBagakjrpUCliOUcr3aKquu2txKWXfc66VwLUpx0KgMhAX9 6Yj2v+I/H/ZFXbSTVZ42U/DxifsWLTbtaeSHbno+VWO9MxDRBWha0dJeyqKWcFxlERs6 gY8SpLdjkuWmEkQh/elFJJmf1ufopkZ7XbARGvgOGenMXFWfRSGjSgALx3pREe2kJwXD UCrFYALzVmf1cVlMB/3b8PYjYEDXSIa2HorqAlz7d9HJOrKWUb4WNXKaa9BwXQdsBLBF xkXeE1gObnNZi1euxrSfGE9Nif6aIL0WO4mDumJvEQ6RZRPQmfLPlK2qRy1NGglO3LNc 8Atw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SKFRpRMT; arc=pass (i=1); 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 d3si8876461plg.418.2022.01.21.17.49.18; Fri, 21 Jan 2022 17:49:42 -0800 (PST) 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=SKFRpRMT; arc=pass (i=1); 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 S1381345AbiAUOuk (ORCPT + 99 others); Fri, 21 Jan 2022 09:50:40 -0500 Received: from mail-eopbgr150081.outbound.protection.outlook.com ([40.107.15.81]:1446 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1351303AbiAUOuj (ORCPT ); Fri, 21 Jan 2022 09:50:39 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GJ5g/IUKHxnF5Mnds+gbEqNkwYoDB6Eu/t0xxSgd1jQ1XPqxT+BKzDuNVHdp2ZY7B4cqKM61yypQM58/AuYNUciuTC4+NL0bauv5ro7yoDf8rQ9Q6RiHxYq6lTi9y7z95dt94THGSpa8EBTSqW/3Umx7UfNCVOvuoKnrrogSVmbAf2Hccegc4dyYvIyWRNHwBIKfySgoyLfL9Uj60VblEf1ALLku0uAUgTJw3hfyKQHD8aeAw6RKAdX1DeWkPlIpJi0DQlTPNoBLQ6/g9n/GE4wFm9vlqp6JEzms20kjAOELKlhBaWhuS9iTMxq37nC10lF3NvWw/2Q35Jv0/7ckGA== 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=gi0egkRzxFrC/UDy0knnJyQO4ICYMjRGq09tD+Al2SQ=; b=KHAkoCDc+ZKu2pfXHIpcddT0N3s6ttycxr39niRxG785uyF4CxosARxppEWHIJrykGuLtikYuRDaJYXKGp0LhLkmJ+FnzC7Y7k1cqyZybbU5APanGiVADEBfHQDcagQD2qB/DSdeYNEQE5HqYgf6USRr1TNCYOfvV8Dk8Uz3gIlsWVaWccWthLXSGZEim4jYx+x2sgRAISM/R+E1/5xhdOMBWpAmNYy/mRjIHKgjL/Je4YumPm6ESOCL0U9DWJ9Q9oetn+ZkcPmkRN2yD0vBGz6z4b9sjFzEkRvuZFPZIfeOIpkUdnktl7DCvoiNrhkV2SnvVz94ODt/iGKfRV+dNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=gi0egkRzxFrC/UDy0knnJyQO4ICYMjRGq09tD+Al2SQ=; b=SKFRpRMTAyQQ/G30O2PPcZT5YJ+D3wK6LMdM1G1MlVxm6Cbjg14qyKniuDBMXhY+Fa8MZDdK3wdv5Hvt/48LoBOb47Hs2oaAYFhCuKeRL4O8OwdS/6HCtZUy91wFW0ZeWpLSxoF2qcuUVcF+pXDgRiLmpnjyebGnz9prt/55ifI= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AM6PR04MB5301.eurprd04.prod.outlook.com (2603:10a6:20b:f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Fri, 21 Jan 2022 14:50:37 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f4d7:e110:4789:67b1]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::f4d7:e110:4789:67b1%5]) with mapi id 15.20.4909.012; Fri, 21 Jan 2022 14:50:37 +0000 From: Vladimir Oltean To: Richard Cochran CC: Andrew Lunn , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Miller , Grygorii Strashko , Jakub Kicinski , Joakim Zhang , Kurt Kanzenbach , Miroslav Lichvar , Russell King Subject: Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable. Thread-Topic: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable. Thread-Index: AQHYAPlHUZ7+aaeSVU6jmUK14JiGzaxsOSsAgAC1gICAAAeKAIAAtFaA Date: Fri, 21 Jan 2022 14:50:36 +0000 Message-ID: <20220121145035.z4yv2qsub5mr7ljs@skbuf> References: <20220103232555.19791-4-richardcochran@gmail.com> <20220120164832.xdebp5vykib6h6dp@skbuf> <20220121040508.GA7588@hoboy.vegasvil.org> In-Reply-To: <20220121040508.GA7588@hoboy.vegasvil.org> 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: ea97deb4-a1e4-4473-d1d5-08d9dced62d8 x-ms-traffictypediagnostic: AM6PR04MB5301:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yqrd56uX/98uFcAcQl+0iHnFI+/h90AZ9nId9lPSDsT31jAyP10bbqI4l54pWFvU2dZdBZ2EB4kPO+UrttR+IW3zXToSA9btWMyLz+ItaNxSrZ0uiYjPpxltv1az895R1hWt/2X+UlxDaQ650SO7F73hJxG8xHwqW1ozHOLylxQRJMh6RgwYMUgn9lAgAOzYPDWXEApX9vKNgy2HTiGcL5HO3R4p1I0q+PaWCrBOBcYxRltQAsd573OHRF+KvzD7Vejgv75VWb0uaFMcZF6wlKuSZkhR8OvqEgxNhedyomuQeBBzjd+KPbyyWQd6VtY2sr25AR3Qn47kw7hZdmQxrHHPg7OCY/JePIqDMFsxet6s8FFBqdDhWacua5OFQfbyzNG+ldHOOxKSHpv1jLssh1003QO224nY+wiWcXuHGUmoRLs6vErwSsKkxlV/bHZFqVoMehRDSh1hR4BSULpMKAUKjorE35FHzciLTI2TydVr2tv0nefrwrTX5uLyRU/oKL7rvMfFrWb4w1wRtpTxaBAIMKgu9mkOmAkK1ycBeVJQeEIuxc+zz2kYqCslCcujBmuP6KVLkHIKcXp9wilPuLKpt2I1W65FaCXkq5Cvx0KvXBG1JetKSJzFvnvQZzvFSkryaIy0ncOS7djU7gJDg0tLQBAo7H+fI89JC4012WUrOi80Z/hP/Nw6tm5ntf8gADqUktQT9wrda96VJLaRZA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(7916004)(4636009)(366004)(26005)(44832011)(66476007)(38070700005)(76116006)(186003)(5660300002)(4744005)(4326008)(86362001)(8676002)(508600001)(66446008)(64756008)(71200400001)(8936002)(66556008)(9686003)(66946007)(6512007)(54906003)(7416002)(2906002)(33716001)(38100700002)(316002)(91956017)(6506007)(6916009)(1076003)(122000001)(83380400001)(6486002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1J8+XAR7MVBk3s9YUdnHqre8Qm4Xzwc4AyGuFtkuCN8B+MoVkhfEMmrlcLEo?= =?us-ascii?Q?FpdsKVuDAkTUdoPFYQpv9PBejCiPgyvepdop0ZngDULYCTA7KfTjkgJbtEMs?= =?us-ascii?Q?au5qIBDSbS6AcM2qJ9QDG14EpkRwEpM4iJv0WsNF5xAPQkWhV3w9K3rwwyAT?= =?us-ascii?Q?5Yobx3nMmHD7+vW5ZPTIzTxq3mzIBw4jfrIK9MAXb4UWJxEK7lYMazCLfrE2?= =?us-ascii?Q?iPQLsQnKjHEnt+0RRqzu9bm0/wVXBjlimEo6S8UBHjp1j/Po78RkPMGx56K0?= =?us-ascii?Q?sv7um3sgcLnsVevOCbqYXf5d9nAoOfrlffkd8i4ixiXtzvw0AqVzvqYZ1/mF?= =?us-ascii?Q?HADv+G0Hcwm/nBWJtrecCQri9aTq0UucLBfCgS9JWIOcoQ8q7hEDnn387tb9?= =?us-ascii?Q?qe0h55rexl6Ycab6QCkPp2AjJOf2RyV1NLqoE+bPNmTAeKvou2huRKrUPyf5?= =?us-ascii?Q?bZtuC4YA7NCY36E24XmGQ53s21jjgjQcYIIAD4Kv8rZ13LtGcLAu9OYiH1Se?= =?us-ascii?Q?3bOwFQti6MU9KP3c8+TNsCqnF/KyiTAFFE5prfYZ/bmjfOPgA5QybTXUJGtM?= =?us-ascii?Q?HAyESa0J0Z0t1CG93x7e6Gcr6pX1IxchL/GBUm0OwSTggm2vHwDkm/CLbPmE?= =?us-ascii?Q?TQD/JMUKZJB4PRg4Jrf+U5ehNT6+jIpjhjgpctFX4PdW07GD4Ka22FP3UqdD?= =?us-ascii?Q?nlia9EC8k5mIhRU+aqBP2qZ6vP2H0I6YuI/CKb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dWrbz8Gm5jtxyKI=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <6DD71137813661469313FE1A0E80D3FC@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea97deb4-a1e4-4473-d1d5-08d9dced62d8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2022 14:50:36.9310 (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: UdYw3RVy48i8J8UdDRz0krjXUCgHGi4H5o+NJQmrxibOMvy38dxBpP0nesjDp5X9BGoVQf4HCFv6Nhh/IH1nHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5301 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022 at 08:05:08PM -0800, Richard Cochran wrote: > On Fri, Jan 21, 2022 at 04:38:09AM +0100, Andrew Lunn wrote: >=20 > > So in the extreme case, you have 7 time stamps, 3 from MACs and 4 from > > PHYs! >=20 > :^) > =20 > > I doubt we want to support this, is there a valid use case for it? >=20 > Someday, someone will surely say it is important, but with any luck > I'll be dead by then... So as I mentioned earlier, the use case would be hardware performance testing and diagnosing. You may consider that as not that important, but this is basically what I had to do for several months, and even wrote a program for that, that collects packet timestamps at all possible points. And to your point, the more complex a system is, the more important it becomes to be able to diagnose it precisely.=