summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorRemi Pommarel <repk@triplefau.lt>2020-03-08 12:25:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-18 09:14:13 +0300
commitba245652e198d706887412982c17ec666dd46fa7 (patch)
treebcff124596b5e963c8cca42030788062e123aec0 /ipc/shm.c
parent64fabf9bcadfb93fb21fb023a72a2ad8b7a40047 (diff)
downloadlinux-ba245652e198d706887412982c17ec666dd46fa7.tar.xz
net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
[ Upstream commit b723bd933980f4956dabc8a8d84b3e83be8d094c ] 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.") Signed-off-by: Remi Pommarel <repk@triplefau.lt> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions