aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/btf_dump.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2021-03-19 13:44:22 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:32:03 +0200
commit1e01729999c07f05c66afaf521baa8cc559fdd32 (patch)
tree409ab5470dadb80ac7de725c6fae6b31c86febc7 /tools/lib/bpf/btf_dump.c
parent961d9a6e47b9880068317638dbd413b3a5691a25 (diff)
downloadkernel_replicant_linux-1e01729999c07f05c66afaf521baa8cc559fdd32.tar.gz
kernel_replicant_linux-1e01729999c07f05c66afaf521baa8cc559fdd32.tar.bz2
kernel_replicant_linux-1e01729999c07f05c66afaf521baa8cc559fdd32.zip
net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
[ Upstream commit 014dfa26ce1c647af09bf506285ef67e0e3f0a6b ] MTU cannot be changed on dwmac-sun8i. (ip link set eth0 mtu xxx returning EINVAL) This is due to tx_fifo_size being 0, since this value is used to compute valid MTU range. Like dwmac-sunxi (with commit 806fd188ce2a ("net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes")) dwmac-sun8i need to have tx and rx fifo sizes set. I have used values from datasheets. After this patch, setting a non-default MTU (like 1000) value works and network is still useable. Tested-on: sun8i-h3-orangepi-pc Tested-on: sun8i-r40-bananapi-m2-ultra Tested-on: sun50i-a64-bananapi-m64 Tested-on: sun50i-h5-nanopi-neo-plus2 Tested-on: sun50i-h6-pine-h64 Fixes: 9f93ac8d408 ("net-next: stmmac: Add dwmac-sun8i") Reported-by: Belisko Marek <marek.belisko@gmail.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/lib/bpf/btf_dump.c')
0 files changed, 0 insertions, 0 deletions