make -C tools/testing/selftests TARGETS="net" TEST_PROGS=run_afpackettestss TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-3/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
TAP version 13
1..1
# overriding timeout to 7200
# selftests: net: run_afpackettests
# 0.06 [+0.06] --------------------
# 0.06 [+0.00] running psock_fanout test
# 0.06 [+0.00] --------------------
# 0.46 [+0.40] test: unbound fanout
# 0.50 [+0.04] test: control single socket
# 0.52 [+0.02] test: control multiple sockets
# 0.61 [+0.09] test: control multiple sockets with link down toggle
# 0.74 [+0.13] test: control multiple sockets, max_num_members
# 0.84 [+0.10] test: unique ids
# 0.93 [+0.09] 
# 0.93 [+0.00] test: datapath 0x0 ports 8000,8002
# 0.97 [+0.04] info: count=0,0, expect=0,0
# 0.97 [+0.00] info: count=20,0, expect=15,5
# 0.98 [+0.00] warning: incorrect queue lengths
# 0.98 [+0.00] info: count=20,0, expect=20,5
# 0.98 [+0.00] warning: incorrect queue lengths
# 1.01 [+0.03] info: trying alternate ports (20)
# 1.01 [+0.00] 
# 1.01 [+0.00] test: datapath 0x0 ports 8000,8003
# 1.03 [+0.02] info: count=0,0, expect=0,0
# 1.03 [+0.00] info: count=20,0, expect=15,5
# 1.03 [+0.00] warning: incorrect queue lengths
# 1.03 [+0.01] info: count=20,0, expect=20,5
# 1.04 [+0.00] warning: incorrect queue lengths
# 1.06 [+0.02] info: trying alternate ports (19)
# 1.06 [+0.00] 
# 1.06 [+0.00] test: datapath 0x0 ports 8000,8004
# 1.08 [+0.02] info: count=0,0, expect=0,0
# 1.08 [+0.00] info: count=15,5, expect=15,5
# 1.08 [+0.00] info: count=20,5, expect=20,5
# 1.14 [+0.06] 
# 1.14 [+0.00] test: datapath 0x1000 ports 8000,8004
# 1.17 [+0.03] info: count=0,0, expect=0,0
# 1.17 [+0.00] info: count=15,5, expect=15,5
# 1.17 [+0.00] info: count=20,15, expect=20,15
# 1.23 [+0.06] 
# 1.23 [+0.00] test: datapath 0x1 ports 8000,8004
# 1.27 [+0.03] info: count=0,0, expect=0,0
# 1.27 [+0.00] info: count=10,10, expect=10,10
# 1.27 [+0.00] info: count=17,18, expect=18,17
# 1.32 [+0.05] 
# 1.32 [+0.00] test: datapath 0x3 ports 8000,8004
# 1.36 [+0.03] info: count=0,0, expect=0,0
# 1.36 [+0.00] info: count=15,5, expect=15,5
# 1.36 [+0.00] info: count=20,15, expect=20,15
# 1.42 [+0.06] 
# 1.42 [+0.00] test: datapath 0x6 ports 8000,8004
# 1.45 [+0.03] info: count=0,0, expect=0,0
# 1.46 [+0.01] info: count=5,15, expect=15,5
# 1.46 [+0.00] info: count=20,15, expect=15,20
# 1.52 [+0.06] 
# 1.52 [+0.00] test: datapath 0x7 ports 8000,8004
# 1.57 [+0.05] info: count=0,0, expect=0,0
# 1.58 [+0.00] info: count=5,15, expect=15,5
# 1.58 [+0.00] info: count=20,15, expect=15,20
# 1.65 [+0.07] 
# 1.65 [+0.00] test: datapath 0x2 ports 8000,8004
# 1.69 [+0.04] info: count=0,0, expect=0,0
# 1.69 [+0.00] info: count=20,0, expect=20,0
# 1.69 [+0.00] info: count=20,0, expect=20,0
# 1.75 [+0.06] 
# 1.75 [+0.00] test: datapath 0x2 ports 8000,8004
# 1.77 [+0.02] info: count=0,0, expect=0,0
# 1.77 [+0.00] info: count=0,20, expect=0,20
# 1.77 [+0.00] info: count=0,20, expect=0,20
# 1.82 [+0.05] 
# 1.82 [+0.00] test: datapath 0x2000 ports 8000,8004
# 1.85 [+0.03] info: count=0,0, expect=0,0
# 1.86 [+0.00] info: count=20,20, expect=20,20
# 1.86 [+0.00] info: count=20,20, expect=20,20
# 1.92 [+0.07] OK. All tests passed
# 2.02 [+0.10] [PASS]
# 2.02 [+0.00] --------------------
# 2.02 [+0.00] running psock_tpacket test
# 2.03 [+0.00] --------------------
# 2.45 [+0.42] test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.53 [+0.08] test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 2.64 [+0.12] test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.72 [+0.08] test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 2.82 [+0.10] test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (14200 bytes)
# 2.94 [+0.12] test: TPACKET_V3 with PACKET_TX_RING .................... 100 pkts (14200 bytes)
# 3.06 [+0.11] OK. All tests passed
# 3.15 [+0.09] [PASS]
# 3.15 [+0.00] --------------------
# 3.15 [+0.00] running txring_overwrite test
# 3.15 [+0.00] --------------------
# 3.59 [+0.44] read: a (0x61)
# 3.60 [+0.00] read: b (0x62)
# 3.73 [+0.13] [PASS]
ok 1 selftests: net: run_afpackettests
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests'
xx__-> echo $?
0
xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak
xx__->