From: david decotigny Date: Wed, 16 Nov 2011 12:15:10 +0000 (+0000) Subject: net: new counter for tx_timeout errors in sysfs X-Git-Tag: v3.3-rc1~182^2~553 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf5ff69fbbd8d877377f5786369cf5aa78a15fc;p=pandora-kernel.git net: new counter for tx_timeout errors in sysfs This adds the /sys/class/net/DEV/queues/Q/tx_timeout attribute containing the total number of timeout events on the given queue. It is always available with CONFIG_SYSFS, independently of CONFIG_RPS/XPS. Credits to Stephen Hemminger for a preliminary version of this patch. Tested: without CONFIG_SYSFS (compilation only) with sysfs and without CONFIG_RPS & CONFIG_XPS with sysfs and without CONFIG_RPS with sysfs and without CONFIG_XPS with defaults Signed-off-by: David Decotigny Signed-off-by: David S. Miller --- Reading git-diff-tree failed