https://bugzilla.novell.com/show_bug.cgi?id=797243 https://bugzilla.novell.com/show_bug.cgi?id=797243#c0 Summary: Documentation/sysctl/net.txt is outdated Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: christian.morales.vega@gmail.com QAContact: qa-bugs@suse.de Found By: Community User Blocker: --- Documentation/sysctl/net.txt says: "netdev_budget ------------- Maximum number of packets taken from all interfaces in one polling cycle (NAPI poll). In one polling cycle interfaces which are registered to polling are probed in a round-robin manner. The limit of packets in one such probe can be set per-device via sysfs class/net/<device>/weight ." But /sys/class/net/<device>/weight was removed five years ago in http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=... Probably there is a better place to report this. But I am too lazy to try to find which is that place. By the way. I see netif_napi_add() still has a weight parameter. Is it being used? There is actually any replacement for the functionality of /sys/class/net/<device>/weight? After reading Documentation/sysctl/net.txt (ignoring the sysfs part) what I understand is that all the interfaces now have the same weight. And the number of packets that can be taken in a polling cycle is limited by: a) /proc/sys/net/core/dev_weight per CPU b) /proc/sys/net/core/netdev_budget globally But I suspect I am still not understanding it (specially because of the weight parameter in netif_napi_add()). Even if I am not a kernel developer, it would be great if that document could be updated to make it 100% clear even for someone as stupid as me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.