From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: CRC errors between mvneta and macb Date: Mon, 22 Oct 2018 20:19:18 +0200 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 Cc: Willy Tarreau , linux-kernel@vger.kernel.org, Thomas Petazzoni , Antoine Tenart , Gregory CLEMENT , Yelena Krivosheev , Maxime Chevallier , Nicolas Ferre , netdev@vger.kernel.org To: Richard Genoud Return-path: Content-Disposition: inline In-Reply-To: <31385a3b-2196-94d0-7f4f-52e37ee07a28@sorico.fr> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.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