Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2579393ima; Mon, 22 Oct 2018 12:08:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV60fF1tfafv2yXMX2fyqkiGiQfAemsp8NPyXoZm+WyVc3kv6845h+AMlzLcVuCLpYcoDHvAr X-Received: by 2002:a65:41c6:: with SMTP id b6-v6mr44608148pgq.421.1540235319296; Mon, 22 Oct 2018 12:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540235319; cv=none; d=google.com; s=arc-20160816; b=aVsBn4hksxF7rn4kHFRlu4xG5LTkWqbeiwMLwjJy4F6sirJ9NGBYJLW1AD2DiD96C6 a5scvgDZPbc0+8feXfuu+WeWcmEeczwjrfIL4POfFxNpg4XiOS+lk+iBreQThTzOvH4P b4jMjBy0oGN2mlk9+4d12Eu33o1+d+3zfB0YLqd57qfhxAgAgFBx0dNN+WK3trfPidhI j+gE2VRyuuiPro0pVw6aSHx0bf+8hGDq2UDGO0Q8VO4VRv1m7I7NQNmGLPGT/LnSE0lb 6fce2WTHhg+2wzx4D0boMGs5QHrxl+A5gGc1T8RY3xwioOeze7tWhoIZeHcNvcTATdF8 f+Cg== 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:dkim-signature; bh=X2MjUn5SdTxwbjQ7NS4UuOUNhjuzvI6CH3UTbd6MP5Q=; b=jW5yM+Db9WgzD4aH8aDYSIqcnw0kqLGQ649hOHAxFPqEQ4/8HS8ewS2FN0fSdRZlq8 Hdi47YLZrI+JRJFslaEFEmnCSTWux6PiWZK4yVnLKtMW9qyviZoRO8xfHlAsZYmjoVmb ujn84c2VE/3da7u1rrrueB7WDA2R69+ihYpjJyUDuvxqyVE361R51LORiJwJDO+wg9+a 2eC3WuB5fY5FVC/Lokci/E+lHWxNV8tVYw+i7C8AAFY4yRu1qgcoa3xCMd4kU0EOh1yR CviXGHOiocSLQ+U6sVEAZYFmrI5q/hW68XRlJDhSnMKGTbpqs6RTxosK8Ms/CYT8ar1p vUbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vFQI9JLm; 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 g1-v6si34693289pgl.202.2018.10.22.12.08.23; Mon, 22 Oct 2018 12:08:39 -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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=vFQI9JLm; 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 S1728941AbeJWCjI (ORCPT + 99 others); Mon, 22 Oct 2018 22:39:08 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:40462 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727820AbeJWCjH (ORCPT ); Mon, 22 Oct 2018 22:39:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=X2MjUn5SdTxwbjQ7NS4UuOUNhjuzvI6CH3UTbd6MP5Q=; b=vFQI9JLmGhAV7soC++/8Io3SdVaal+DHRZjLnWCYaxjjY29RT3oGYknoIfbBO56vLxeNCn+Dvoxt97dH8IoIAqBb6Y4fXi5hilzzMh3qkaRbuVvyQ2Rd1UWEYIGKDboJ5YjmzQcb+7Bx/Bgrz6xalO5YCRG2gTrODWaQvz/2U84=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gEenO-0000bB-8o; Mon, 22 Oct 2018 20:19:18 +0200 Date: Mon, 22 Oct 2018 20:19:18 +0200 From: Andrew Lunn To: Richard Genoud Cc: Willy Tarreau , linux-kernel@vger.kernel.org, Thomas Petazzoni , Antoine Tenart , Gregory CLEMENT , Yelena Krivosheev , Maxime Chevallier , Nicolas Ferre , netdev@vger.kernel.org Subject: Re: CRC errors between mvneta and macb Message-ID: <20181022181918.GF24112@lunn.ch> References: <20181019154439.GC24045@1wt.eu> <31385a3b-2196-94d0-7f4f-52e37ee07a28@sorico.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31385a3b-2196-94d0-7f4f-52e37ee07a28@sorico.fr> 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 > I dug more on the subject, and I think I found what Marvell's PHY/MAC > doesn't like. Hi Richard What PHY is being used? > After analyzing the ethernet frame on the Davicom PHY's output (pin > TX+), I find out that the FCS errors occurs when the ethernet preamble > is longer than 56bits. (something like 58 or 60 bits) Some Marvell PHYs have a register bit which might be of interest: Page 2, register 16, bit 6. 0 = Pad odd nibble preambles in copper receive packets. 1 = Pass as is and do not pad odd nibble preambles in Andrew