From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F6EEC433EF for ; Sun, 24 Apr 2022 22:01:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239711AbiDXWEX (ORCPT ); Sun, 24 Apr 2022 18:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234105AbiDXWEW (ORCPT ); Sun, 24 Apr 2022 18:04:22 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC96B42482; Sun, 24 Apr 2022 15:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=1uhfKcZ+6BWyxBcenyGt8hZC2w8nrTOjeFtKsnxgUy0=; b=TYE4+wL+QXKlSp17Wikv0KyXHZ Qn70ubLFPRDJAeMtovP97e10wosR4s9CTGdpCxzqzRc/wx9c5gOZ/1gwguUBGPOLWl2hFfawrU+U0 9vQCEnnK71mumG96EQk/s8M1TwwNY39oh98GaobVmtn5OVsOxGOQ+PIKJsPyrYDduPno=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nikHz-00HJOS-Ep; Mon, 25 Apr 2022 00:01:07 +0200 Date: Mon, 25 Apr 2022 00:01:07 +0200 From: Andrew Lunn To: Marcel Ziswiler Cc: "netdev@vger.kernel.org" , "alexandre.torgue@foss.st.com" , "davem@davemloft.net" , "kernel@pengutronix.de" , "linux-imx@nxp.com" , "linux-stm32@st-md-mailman.stormreply.com" , "festevam@gmail.com" , "linux-kernel@vger.kernel.org" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "s.hauer@pengutronix.de" , "mcoquelin.stm32@gmail.com" , "pabeni@redhat.com" , "peppe.cavallaro@st.com" , "joabreu@synopsys.com" , "kuba@kernel.org" Subject: Re: net: stmmac: dwmac-imx: half duplex crash Message-ID: References: <36ba455aad3e57c0c1f75cce4ee0f3da69e139a1.camel@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36ba455aad3e57c0c1f75cce4ee0f3da69e139a1.camel@toradex.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 23, 2022 at 10:58:07PM +0000, Marcel Ziswiler wrote: > Hi there > > We lately tried operating the IMX8MPEVK ENET_QOS imx-dwmac driver in half-duplex modes which crashes as > follows: How many transmit queues do you have in operation: /* Half-Duplex can only work with single queue */ if (priv->plat->tx_queues_to_use > 1) priv->phylink_config.mac_capabilities &= ~(MAC_10HD | MAC_100HD | MAC_1000HD); What does ethtool show before you force it? Does it actually list the HALF modes? Andrew