]> git.baikalelectronics.ru Git - kernel.git/commit
bond: track sum of rx_nohandler for all slaves
authorJarod Wilson <jarod@redhat.com>
Mon, 1 Feb 2016 23:51:07 +0000 (18:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Feb 2016 07:59:51 +0000 (02:59 -0500)
commit84af54d5b1a10b9a2291184d2c52b8ce80655378
tree4536c2f822bead6d91e90c5a7ad7c2d828f6e5c7
parent78ec2b13ab808db484dda2b54a01cd030dac2427
bond: track sum of rx_nohandler for all slaves

Sample output with this set applied for an active-backup bond:

$ cat /sys/devices/virtual/net/bond0/lower_p7p1/statistics/rx_nohandler
16568
$ cat /sys/devices/virtual/net/bond0/lower_p5p2/statistics/rx_nohandler
16583
$ cat /sys/devices/virtual/net/bond0/statistics/rx_nohandler
33151

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>
drivers/net/bonding/bond_main.c