Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178AbdI2Pp5 (ORCPT ); Fri, 29 Sep 2017 11:45:57 -0400 Received: from mx0b-00010702.pphosted.com ([148.163.158.57]:48752 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdI2Ppz (ORCPT ); Fri, 29 Sep 2017 11:45:55 -0400 From: Brandon Streiff To: Andrew Lunn CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "David S. Miller" , Florian Fainelli , Vivien Didelot , Richard Cochran , Erik Hons Subject: RE: [PATCH net-next RFC 2/9] net: dsa: mv88e6xxx: expose switch time as a PTP hardware clock Thread-Topic: [PATCH net-next RFC 2/9] net: dsa: mv88e6xxx: expose switch time as a PTP hardware clock Thread-Index: AQHTOG5h9rmyXj5FVEeyfsvu0pB47aLKhKiAgAFJzxA= Date: Fri, 29 Sep 2017 15:28:02 +0000 Message-ID: References: <1506612341-18061-1-git-send-email-brandon.streiff@ni.com> <1506612341-18061-3-git-send-email-brandon.streiff@ni.com> <20170928165643.GB14940@lunn.ch> In-Reply-To: <20170928165643.GB14940@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [130.164.62.183] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR04MB1250;6:b65Q87wwYiXqlWq0E4mzUonArC1RJBOZJy2GNa13AjST1NvBIrepzcOoRA+hogxzp6mSI1FOtfOF3o/A1+DmSOV+fIESjzwoFjmxyKW+E6E5CK5pjaeQO/U42WAcVsu4VCTQVzlMsxHklFmxdYKm8buS1YvrXtktjijC7U0RWhVE1DItCCwNlMNj9V3onBrGBWCYJZyEzi8Eeoer6gEvYQ72IKiOhHfUWH3KF/yQt4DQ9pBex/0DEMMGS140g06iaIqmqVIteQ++wIARAVbw6YL12K0gv5d9MOUlxXdynwD1C9VInNeUp33LX87KgUmRvPtjdY9eAZAaQDQZBg0c6g==;5:hEiA73M/gTkewyEb9VgifUUwPvneU9h1bODN3tPBYD626nzxDQYKtUpNaCPSAVXOYJ9LooBc3uS5zax0Q9rg0VxcGLoogb05pBc8rxIgoxMBzWyTV/QpzjSNkYpox+ZuVKFF/q3jS1RFih2XSulPKg==;24:C1S10VJixz7aPgzNGseroXZ3y1LH6gWKow9b3BH/oF4yLvVMMvU0ssHvpETfMM3jHt+KkhqJuiTZOeXEr+8gcIuKRS21yZ8Db853dNZXZYg=;7:8tCH6E/YfrBlNkYtdjGy/YhVbQyuKRwUBQ0Fs9pQ0NiKovC4MOijGelp4xjFIpW7Xdeq/UbeKhzb76xeX4fEE8hSojQMWY5Nb6z+Cqb7Ha5pn/ONXbj4NFfdJHoGFX73qX5H1bvmDirWM3YYC/zrh2i/dyegyxVMlfLlA5Zr9xAVSl90WYl2cuoyzdZWrSNf34ivjFsFF/Nk1+x8IUbBQB0PuplzWgEOaSRcGvC4EkI= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10019020)(6009001)(376002)(346002)(189002)(377454003)(199003)(316002)(9686003)(53936002)(3846002)(54906003)(6506006)(4326008)(99286003)(6436002)(50986999)(86362001)(7736002)(76176999)(2906002)(74316002)(189998001)(6246003)(14454004)(3280700002)(54356999)(3660700001)(305945005)(5660300001)(2950100002)(8676002)(8936002)(33656002)(39060400002)(68736007)(478600001)(101416001)(66066001)(25786009)(7696004)(6916009)(229853002)(77096006)(55016002)(81156014)(97736004)(105586002)(106356001)(102836003)(2900100001)(81166006)(6116002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR04MB1250;H:CO2PR04MB2184.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 511ed295-7b00-48da-8f7b-08d5074eac9c x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075);SRVR:BN6PR04MB1250; x-ms-traffictypediagnostic: BN6PR04MB1250: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR04MB1250;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR04MB1250; x-forefront-prvs: 0445A82F82 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: ni.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2017 15:28:02.5390 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB1250 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-29_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=30 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=30 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709290222 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8TFk2hh029351 Content-Length: 393 Lines: 10 > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Thursday, September 28, 2017 11:57 AM > > It is the MAC which is doing the time stamping, not they PHY? > So why NETWORK_PHY_TIMESTAMPING? NETWORK_PHY_TIMESTAMPING implies NET_PTP_CLASSIFY (which I do use) and net/core/timestamping.c (which I didn't). It probably makes more sense to just depend on NET_PTP_CLASSIFY directly. -- brandon