• Ido Schimmel's avatar
    selftests: net: Add drop monitor test · b7cc6d3c
    Ido Schimmel authored
    Test that drop monitor correctly captures both software and hardware
    originated packet drops.
    
    # ./drop_monitor_tests.sh
    
    Software drops test
        TEST: Capturing active software drops                               [ OK ]
        TEST: Capturing inactive software drops                             [ OK ]
    
    Hardware drops test
        TEST: Capturing active hardware drops                               [ OK ]
        TEST: Capturing inactive hardware drops                             [ OK ]
    
    Tests passed:   4
    Tests failed:   0
    Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b7cc6d3c
config 706 Bytes