Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3323664imm; Fri, 19 Oct 2018 08:45:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV61vDff9xynih+3+yID81rWEJFc9vsy23EdR/qqzNUDGsDNR+XJ8CZDruPiXxJtzJaGyEojg X-Received: by 2002:a63:5949:: with SMTP id j9-v6mr33128644pgm.210.1539963929556; Fri, 19 Oct 2018 08:45:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539963929; cv=none; d=google.com; s=arc-20160816; b=EQFiCj0YKTrTYsYMj4OPkS72aWwrk37s9OHYoLNPRmBetonBIbSMQeF+ivIEInyvmT F7Rg4FtWD9fUN4qKlDSF2ha7gr2Kv9/j0Mm4PzcEYRkMhXni5bqpVdHAA5VlHshfOPaS CopDNyLYfFSFW+Jq4agF/MtCy5orKJ1fJtN8pbJHzTNavoctns9n7sY1oLezk7P20DlO KQ9PFKQ2lpE/DgtA3uTXqCFnXHzcF0JMO2GyRCOETcX66DW+XEq7ufdZm9tSIsSSixxo jJlgk0I2QH9s81Rakx0x0AYuTwmX6KIJoBcGn7V4OPQca2F1BxrS1wHZVCXGCGk+HORj sI0A== 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:reply-to:message-id :subject:cc:to:from:date; bh=heZjj4WprXuTv64vE48IyOryEG1Gg4VVno8agoKn55o=; b=zSrakOXxBEJvnzQJ4Zp37NCNFk9BviuqAAeW9LmR5daN7e9mGbDBTXRyh4is4lnCTv 0IArbaMuet7O2or0nBzsX0yUIQWKOssDlpSnaUDtu4WaNaPkhySm4cA/0foP0x7+tCis KhNa7LyamsTruz/Cph6lk5OSEPCfqa6dvnLkz8707Wo3PPFcVxwKHMJeIN32fFWwTZaz Y07GOoo/WApf8D2bL/BZeGAkSJ+99VEeidjV5gG22cBBeppCPhQoPz+sPZpBh7cJybFl fTQ4yqhIRhRskWEYe9H1iWSnCkMOvGgGOEQ7R+Or+Ohq1bUJNIv5c5H67QWACknlJLHa LLng== 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 s22-v6si33041045pfs.13.2018.10.19.08.45.13; Fri, 19 Oct 2018 08:45:29 -0700 (PDT) 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 S1727688AbeJSXv3 (ORCPT + 99 others); Fri, 19 Oct 2018 19:51:29 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:35278 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726930AbeJSXv1 (ORCPT ); Fri, 19 Oct 2018 19:51:27 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id w9JFidQ6024138; Fri, 19 Oct 2018 17:44:39 +0200 Date: Fri, 19 Oct 2018 17:44:39 +0200 From: Willy Tarreau To: Richard Genoud Cc: Thomas Petazzoni , Antoine Tenart , Gregory CLEMENT , Yelena Krivosheev , Maxime Chevallier , Nicolas Ferre , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: CRC errors between mvneta and macb Message-ID: <20181019154439.GC24045@1wt.eu> Reply-To: linux-kernel@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 05:15:03PM +0200, Richard Genoud wrote: > When there's a CRC error, the TXCLK has its polarity inverted... > That's a clue ! > > But this TXCLK (25MHz) is not used on the g35-ek. > Only the REFCLK/XT2 (50MHz) is used to synchronise the PHY and the macb. > So I guess that the TXCLK has a role to play to generate TX+/TX- Well, just a stupid idea, maybe when this signal is inverted, the TX+/TX- are desynchronized by half a clock and are not always properly interpreted on the other side ? Willy