Received: by 10.223.164.202 with SMTP id h10csp999234wrb; Tue, 7 Nov 2017 19:27:54 -0800 (PST) X-Google-Smtp-Source: ABhQp+SKJ/fhoWhu1cnrcdQe/Jh0vm7Goqrme6/pUDaYJjtN0oqHpS1R/Zc870yu2Nuwxi4rCmNw X-Received: by 10.99.55.77 with SMTP id g13mr867928pgn.209.1510111674622; Tue, 07 Nov 2017 19:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510111674; cv=none; d=google.com; s=arc-20160816; b=D0G+rG44SiX+1eH11QVjcRIwq25aS3BM02fS5fUlCoHPSvV8D4rud+lHFjD1x9QBE5 1ntkAwpG9wF4NIPUTHOB2DJMY8TndYf+oZTw3xszmavflWrOUMUySh2r2c9Iruy7K3U8 DQSWXtlG2CFrXLwPoyLznd3V3iXgBjK84pNwDJsBEkLSAr1xaS9YRyPscxZpLSaeXG8r jD6vYEgRHTahxDZjO7fu7XfcRCa2O3Hwyoo9NtsVsEjzwqMRqBmXl3UOON6+lsj6Cmdu iRoxYDgdVFlnUloqHThBWbRQO/ZYcEzMPp4kEwGPLHkEAfgSKBGcOxg/1cxG3tYwwWSw hKAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=VyXeNZmxPVL6PfNxo5BREkXExo9OQyvKSfHKpZXZdPo=; b=Hu/Wl6qUkCBVN/rwnBqUpqvhewyyVsn+F76nfK/8DR9gA/q3Sm9M5Q+5PdXIJJC6Ez zPdCglmQcRMl6KSL+XvGtBReNH7z2Hti6WvxcHuEtgVhjM6tRms8Gx9iaSBJ6S2J8AmK fTXcwpD93ITENW/ZkQg/y1QqGArvbKZzK5S9kjbLN3u1yFB4Y8UDuQ6bb0O5TmcYuvGS /+EZybS9Pqq1gx63VsuEppWisdf05r10V9N2ZCB8I2sAfcGxyYPKzwbs9YLCW2dL7wLY bpLnOBAKiiAfYxlI5FWrUfUtp24kyWkRzEmM5rTFCW6Icsge0Led9zQMY5VEPjB+4gS5 Qh1g== ARC-Authentication-Results: i=1; mx.google.com; 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 w8si2600684pgc.769.2017.11.07.19.27.42; Tue, 07 Nov 2017 19:27:54 -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; 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 S1758839AbdKHAJT (ORCPT + 90 others); Tue, 7 Nov 2017 19:09:19 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:47717 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbdKHAJR (ORCPT ); Tue, 7 Nov 2017 19:09:17 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1eCDvc-000777-Tw; Wed, 08 Nov 2017 01:09:12 +0100 Date: Wed, 8 Nov 2017 01:09:12 +0100 From: Andrew Lunn To: Brandon Streiff Cc: Richard Cochran , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "David S. Miller" , Florian Fainelli , Vivien Didelot , Erik Hons Subject: Re: [PATCH net-next RFC 0/9] net: dsa: PTP timestamping for mv88e6xxx Message-ID: <20171108000912.GF7601@lunn.ch> References: <1506612341-18061-1-git-send-email-brandon.streiff@ni.com> <20170929094323.cwh2ubv4odknlyot@localhost> <20171008153821.w4pm6j43lpdvnpph@localhost> <20171106145546.atfjkqf3xdxu4wyg@localhost> <20171107181344.b4itrmd7atxkwc5x@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 07, 2017 at 08:56:05PM +0000, Brandon Streiff wrote: > > Oops, I had "slaveOnly" set in my PC's configuration. So layer2 seems > > to work as expected. > > > > 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. Is the application performing a join on the group? If so, on which interface? I've not tested many multicast applications with DSA. It is possible we have bugs. Andrew From 1583464000163838881@xxx Wed Nov 08 02:42:27 +0000 2017 X-GM-THRID: 1579797979616373237 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread