Linux patches for byte queue limits on
various network interface cards.
- download directory
- 3com 3c59x (works)
- realtek r8169 (works)
- realtek 8139too (works)
- tulip (works)
- via rhine (works)
- via velocity (needs testing, has someone such a nic)
- natsemi (needs testing, has someone such a nic)
- check your current kernel version and dowload the source of it
uname -r wget ftp://kernel.org/pub/linux/kernel/v3.x/linux-$VERSION.tar.xz xzcat linux-$VERSION.tar.xz | tar x cd linux-$VERSION
- this script would patch / replace the realtek r8169 driver on your system:
#!/bin/sh cd /tmp # replace with your kernel version (at least 3.3.x) SYMVERS=`find /usr/src/linux-* -name 'Module.symvers'|head` KERNEL="linux-3.10.10" MODPATH="drivers/net/ethernet/realtek" MOD="r8169" # system modules (destination) MODULES="/lib/modules/`uname -r`/kernel/$MODPATH" # tar xzf $KERNEL.tar.gz cd $KERNEL || exit cp -f $SYMVERS Module.symvers || exit zcat /proc/config.gz > .config make oldconfig && make prepare && make modules_prepare || exit make M=$MODPATH || exit exit sudo modprobe -r $MOD sudo mv -f $MODULES/$MOD.ko.gz $MODULES/$MOD.ko.gz_orig sudo cp -v $MODPATH/$MOD.ko $MODULES/$MOD.ko sudo gzip -9 $MODULES/$MOD.ko sudo modprobe $MOD
I will work also on these drivers to support byte queue limits.
- r8169 (testing)
- via-rhine (testing)
- via-velocity (testing)
- 8139too (testing)
- 3c59x (coding, testing)
- natsemi (find the nic, I have such a nic somewhere ^^)
- tulip (first try by George Spelvin), testing
- b44 by Hauke Mehrtens (2013-09-28)
- patchset v1 by me (2013-10-13)
- patchset v2 by me (2013-10-20)