summaryrefslogtreecommitdiffstats
path: root/net/sched/act_nat.c
diff options
context:
space:
mode:
authordavid decotigny <david.decotigny@google.com>2011-11-16 12:15:10 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-16 23:14:02 -0500
commitccf5ff69fbbd8d877377f5786369cf5aa78a15fc (patch)
tree2c9a7ca29d9b3052fb952ac52445cfb05742a32c /net/sched/act_nat.c
parent19b05f811341aaef3e5e22d2832aa2d8e0bad5ab (diff)
downloadtalos-obmc-linux-ccf5ff69fbbd8d877377f5786369cf5aa78a15fc.tar.gz
talos-obmc-linux-ccf5ff69fbbd8d877377f5786369cf5aa78a15fc.zip
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 <david.decotigny@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_nat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud