[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200308.212911.623712971851173339.davem@davemloft.net>
Date: Sun, 08 Mar 2020 21:29:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: repk@...plefau.lt
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-amlogic@...ts.infradead.org, stable@...r.kernel.org
Subject: Re: [PATCH v2] net: stmmac: dwmac1000: Disable ACS if enhanced
descs are not used
From: Remi Pommarel <repk@...plefau.lt>
Date: Sun, 8 Mar 2020 10:25:56 +0100
> ACS (auto PAD/FCS stripping) removes FCS off 802.3 packets (LLC) so that
> there is no need to manually strip it for such packets. The enhanced DMA
> descriptors allow to flag LLC packets so that the receiving callback can
> use that to strip FCS manually or not. On the other hand, normal
> descriptors do not support that.
>
> Thus in order to not truncate LLC packet ACS should be disabled when
> using normal DMA descriptors.
>
> Fixes: 47dd7a540b8a0 ("net: add support for STMicroelectronics Ethernet controllers.")
> Cc: stable@...r.kernel.org
> Signed-off-by: Remi Pommarel <repk@...plefau.lt>
Please don't CC: stable for networking fixes as per the netdev FAQ.
Applied and queued up for -stable, thank you.
Powered by blists - more mailing lists