Received: by 10.223.164.202 with SMTP id h10csp968206wrb; Tue, 7 Nov 2017 18:42:27 -0800 (PST) X-Google-Smtp-Source: ABhQp+TCB/Yoo+jGpBmRwEqEC188jfne4ZAU/sv8akNNHdn2WRMXgq7gsAJM5kFgeHqoQ7/wb3dH X-Received: by 10.101.97.197 with SMTP id j5mr757777pgv.205.1510108947701; Tue, 07 Nov 2017 18:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510108947; cv=none; d=google.com; s=arc-20160816; b=Yo8/rSTMfSXP5w+UkuTGXOnhrvhjFXWi4BbltIYfJCAxvSEfj373VYO/ZXDNWbL8Gv S3Q2oEaL7VMfR40KoV0UZuKbGlYv4EywcZVcsNSHVlWocUrRCWleXSTvFVKcl/8fs4yx SP+I9pPE6uW/rgi9Is/UI46UGV4YOzVm3OuvQfmXkaiXbUVbCMod19pmWeWHxjxKsriv 8yNxTXB65aQGb8Q65lwX4T/5SDGJNGhzvxRFkr1tpTj1DRT6jQgpwsjd84baZ2xM6RgN jwpRugrtVVVGJnziLqS4T4eGd/W2wRN+33RYW6eq4EipZLFTMEbPNkUJ8R1cB6lbvdd6 WAgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=n1jVETTx+DD4CR2UP9Ypzh6qFmTOkWmM1qBsU4bdGE0=; b=p04FkN0QEQrypy3I6MFRhY5bgv3P9JKpwDmCvP8G53zKdJs6ZMox7dg8IncUgzIsym GBd9NcBo2ABqoMBzhCmHQGDSrNmNEHEvDKEm2CJek1kgSjHRrbnmuo78uQj6AWofbWgW yf/Fs6YQkmJBty6GTZuqTGNh9d1/MkRZI6R0aSIN+YTQOmcij3F9LzRhxyQFUiieQp+D isdskqPdYPjalLywcOHp9E/xnf7/qotBCoCM1kxzac+8LVhzROWU1i/ooYAmRnQW1xZ5 Qwf2migUXuhsYgpjOsjkZ8M/B3LpH9YLzSqOpfR0nZT8CAP/GcG1GmJs8Au3AUs0RQku 5O/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=QAenq13R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m190si2517923pga.159.2017.11.07.18.42.15; Tue, 07 Nov 2017 18:42:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nio365.onmicrosoft.com header.s=selector1-ni-com header.b=QAenq13R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933587AbdKGU4l (ORCPT + 90 others); Tue, 7 Nov 2017 15:56:41 -0500 Received: from mx0a-00010702.pphosted.com ([148.163.156.75]:60620 "EHLO mx0b-00010702.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932298AbdKGU4j (ORCPT ); Tue, 7 Nov 2017 15:56:39 -0500 Received: from pps.filterd (m0098780.ppops.net [127.0.0.1]) by mx0a-00010702.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vA7KqCNe018549; Tue, 7 Nov 2017 14:56:10 -0600 Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp0176.outbound.protection.outlook.com [216.32.180.176]) by mx0a-00010702.pphosted.com with ESMTP id 2e3jre0sgf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 07 Nov 2017 14:56:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nio365.onmicrosoft.com; s=selector1-ni-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=n1jVETTx+DD4CR2UP9Ypzh6qFmTOkWmM1qBsU4bdGE0=; b=QAenq13RBu29lhtNrp7qics951D1DN0AFhtPqM9OpkEV8DOQGadpWj5BrbHGKAxokR5g0Ty+mov8wku8uta9sMoNUf94m6b6s8hns/M6FuTxcpPrUl1CCG3lxXktcztLQvLUnull+goPxX4Ol0YCAurRQaWHm4eoxvxA3s5GDbY= Received: from CO2PR04MB2184.namprd04.prod.outlook.com (10.166.93.154) by DM5PR0401MB3608.namprd04.prod.outlook.com (10.167.107.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Tue, 7 Nov 2017 20:56:07 +0000 Received: from CO2PR04MB2184.namprd04.prod.outlook.com ([10.166.93.154]) by CO2PR04MB2184.namprd04.prod.outlook.com ([10.166.93.154]) with mapi id 15.20.0197.020; Tue, 7 Nov 2017 20:56:06 +0000 From: Brandon Streiff To: Richard Cochran CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "David S. Miller" , Florian Fainelli , Andrew Lunn , Vivien Didelot , Erik Hons Subject: RE: [PATCH net-next RFC 0/9] net: dsa: PTP timestamping for mv88e6xxx Thread-Topic: [PATCH net-next RFC 0/9] net: dsa: PTP timestamping for mv88e6xxx Thread-Index: AQHTOG5hrTy8aIiWg0Kn4mJ2d4K0PKLLneuAgA6IKICALYe3AIAByaQAgAAFM0A= Date: Tue, 7 Nov 2017 20:56:05 +0000 Message-ID: References: <1506612341-18061-1-git-send-email-brandon.streiff@ni.com> <20170929094323.cwh2ubv4odknlyot@localhost> <20171008153821.w4pm6j43lpdvnpph@localhost> <20171106145546.atfjkqf3xdxu4wyg@localhost> <20171107181344.b4itrmd7atxkwc5x@localhost> In-Reply-To: <20171107181344.b4itrmd7atxkwc5x@localhost> 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;DM5PR0401MB3608;6:I20tgrF3AxfsjWeC0Q441PE+P/Lja9HJADdLiV+A0phjNfQilokKH2nSsK2cc1HyyZf2JmxOppxntYgdqml0hpROm0YKa5SMlrxyrmUStufoh9oZWXDunim2GqnOcAr6NVePsMHLBLl6PKkwWADNmMi2GZunibSExyFKgiIoqShy6fYjC9qhhSd8yKkdRohnZs3wMnGz3MXNa8Mi2fbg1iYRXSSjCI+Z7uSgZPb6ITi3Aqsbd6GRjIOz+MReBTiy1aeafjVcEd7n5Sm8xOjk11HBH6Ho3+MQpYLcrg2Z/6iILIPB1qXEz7149Vz28J4NdfP9+btK5PwXZnGqOGChAvqyWPMh63scgxdvRmSXZr8=;5:PrAEzColui5FpxO48504dXP8O2OPuGsmj0wNUTakkvRH0N5GsXaJF/5wGj12KEcovROPkLTOdU5JiHW5Xp09PCsarYIy0OlFgTdiJt73uns8zxigWBgdKpKZKC5Byq5Zx00SZ+EZ5pZe6CUvT6smjXLBcd1oB4v7hDu2fgxf870=;24:T2t07hxO5mUMCtRfmPfp3NwultDW06qhp6KZ87tlGauXqRKWfyClr5D152XNxwU4a/0IybXy6m3EDwSz8y6OFuBH86jquJf7yBIbPq2NcqM=;7:ZfuoGrXbj12zxNRGQzxOUHmdkWfRXfZ7y7AjcNLVX+xUaByqRTARrPZ0bgARCwadfy56c/SHGuBiCNoeN8ktLXIwSIEwuOsCntHehD8/xfUavq0ikX+Kab1fMDPM2DpYY7p2wh9mANNDxmklxHzGGjKu5jaIKtuMgKmmZUCMAMI7E1TsmyB+cMiT2aC8QkvfFekVNSTAI8kLxnNNuHGOPLYakB7a+F2gALYgGuuWQquyCesfxxQ8fXvT7jDNyHQe x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10019020)(6009001)(376002)(346002)(189002)(199003)(33656002)(305945005)(2900100001)(86362001)(1411001)(5660300001)(316002)(74316002)(189998001)(76176999)(93886005)(2906002)(25786009)(7696004)(66066001)(50986999)(106356001)(99286004)(54356999)(54906003)(105586002)(101416001)(6916009)(3660700001)(229853002)(97736004)(8936002)(14454004)(3846002)(81156014)(8676002)(478600001)(2950100002)(77096006)(6246003)(68736007)(6436002)(3280700002)(7736002)(6506006)(4326008)(102836003)(81166006)(9686003)(6116002)(55016002)(39060400002)(53936002)(138113003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR0401MB3608;H:CO2PR04MB2184.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: a856caa4-350b-45c7-1e33-08d52621f6e3 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603249);SRVR:DM5PR0401MB3608; x-ms-traffictypediagnostic: DM5PR0401MB3608: 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)(8121501046)(5005006)(93006095)(93001095)(3231021)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR0401MB3608;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR0401MB3608; x-forefront-prvs: 0484063412 received-spf: None (protection.outlook.com: ni.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ni.com X-MS-Exchange-CrossTenant-Network-Message-Id: a856caa4-350b-45c7-1e33-08d52621f6e3 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2017 20:56:05.9242 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0401MB3608 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-07_07:,, 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-1711070273 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Oops, I had "slaveOnly" set in my PC's configuration. So layer2 seems > to work as expected. >=20 > Have you tested UDPv4? It doesn't work. I have not. Our usage has been focused on 802.1AS; the ptp4l settings we use are the following: transportSpecific 0x1 ptp_dst_mac 01:80:C2:00:00:0E p2p_dst_mac 01:80:C2:00:00:0E network_transport L2 delay_mechanism P2P time_stamping hardware One thing that we're not doing (and probably should be) is configuring multicast frames to 01:1B:19:00:00:00 to be destined to the CPU port. (01:80:C2:00:00:0E is used for management, so the *_mgmt_rsvd2cpu() functions give us that "for free".) That might be necessary to make 1588 L2 work properly. I don't know if that would affect 1588 L4, or if there's anything else missing to make L4 timestamping work from the HW perspective. -- brandon From 1583462466947806090@xxx Wed Nov 08 02:18:05 +0000 2017 X-GM-THRID: 1579797979616373237 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread