• Jarod Wilson's avatar
    bond: track sum of rx_nohandler for all slaves · f344b0d9
    Jarod Wilson authored
    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: default avatarJarod Wilson <jarod@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f344b0d9
bond_main.c 133 KB