]> git.baikalelectronics.ru Git - kernel.git/commit
net: add rx_nohandler stat counter
authorJarod Wilson <jarod@redhat.com>
Mon, 1 Feb 2016 23:51:05 +0000 (18:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 07:59:51 +0000 (02:59 -0500)
commit2dad15fb24b73aba40e4376544d1fec59fdcd34f
tree5a8b48e8443dfbe7cc4fd227f4f1a3fb7e504e71
parentf705bd40ad0fe53e9f01f52f9725af1f6e29874a
net: add rx_nohandler stat counter

This adds an rx_nohandler stat counter, along with a sysfs statistics
node, and copies the counter out via netlink as well.

CC: "David S. Miller" <davem@davemloft.net>
CC: Eric Dumazet <edumazet@google.com>
CC: Jiri Pirko <jiri@mellanox.com>
CC: Daniel Borkmann <daniel@iogearbox.net>
CC: Tom Herbert <tom@herbertland.com>
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <gospo@cumulusnetworks.com>
CC: netdev@vger.kernel.org
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/uapi/linux/if_link.h
net/core/dev.c
net/core/net-sysfs.c
net/core/rtnetlink.c