0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-13 20:44:48 +00:00
Files
packages/net/jool/files/jool-disable-fraglist-gro.sh
Felix Fietkau bcd0f538f2 jool: add hotplug script to disable fraglist GRO
The kernel module translation code cannot deal with it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-10-04 12:03:00 +02:00

7 lines
163 B
Bash

if [ "$ACTION" = add ]; then
for dev in `ls /sys/class/net`; do
[ -d "/sys/class/net/$dev" ] || continue
ethtool -K $dev rx-gro-list off 2>/dev/null
done
fi