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.05 [+0.05] -------------------- # 0.05 [+0.00] running psock_fanout test # 0.05 [+0.00] -------------------- # 0.50 [+0.45] test: unbound fanout # 0.53 [+0.03] test: control single socket # 0.54 [+0.01] test: control multiple sockets # 0.64 [+0.10] test: control multiple sockets with link down toggle # 0.70 [+0.06] test: control multiple sockets, max_num_members # 0.79 [+0.09] test: unique ids # 0.88 [+0.09] # 0.88 [+0.00] test: datapath 0x0 ports 8000,8002 # 0.90 [+0.02] info: count=0,0, expect=0,0 # 0.91 [+0.00] info: count=15,5, expect=15,5 # 0.91 [+0.00] info: count=20,5, expect=20,5 # 0.97 [+0.06] # 0.97 [+0.00] test: datapath 0x1000 ports 8000,8002 # 1.00 [+0.03] info: count=0,0, expect=0,0 # 1.00 [+0.00] info: count=15,5, expect=15,5 # 1.01 [+0.00] info: count=20,15, expect=20,15 # 1.06 [+0.06] # 1.06 [+0.00] test: datapath 0x1 ports 8000,8002 # 1.10 [+0.03] info: count=0,0, expect=0,0 # 1.10 [+0.00] info: count=10,10, expect=10,10 # 1.10 [+0.00] info: count=17,18, expect=18,17 # 1.15 [+0.05] # 1.15 [+0.00] test: datapath 0x3 ports 8000,8002 # 1.19 [+0.03] info: count=0,0, expect=0,0 # 1.19 [+0.00] info: count=15,5, expect=15,5 # 1.19 [+0.00] info: count=20,15, expect=20,15 # 1.24 [+0.05] # 1.24 [+0.00] test: datapath 0x6 ports 8000,8002 # 1.30 [+0.05] info: count=0,0, expect=0,0 # 1.31 [+0.01] info: count=5,15, expect=15,5 # 1.31 [+0.00] info: count=20,15, expect=15,20 # 1.38 [+0.07] # 1.38 [+0.00] test: datapath 0x7 ports 8000,8002 # 1.43 [+0.05] info: count=0,0, expect=0,0 # 1.44 [+0.00] info: count=5,15, expect=15,5 # 1.44 [+0.00] info: count=20,15, expect=15,20 # 1.51 [+0.07] # 1.51 [+0.00] test: datapath 0x2 ports 8000,8002 # 1.54 [+0.03] info: count=0,0, expect=0,0 # 1.54 [+0.00] info: count=20,0, expect=20,0 # 1.54 [+0.00] info: count=20,0, expect=20,0 # 1.60 [+0.05] # 1.60 [+0.00] test: datapath 0x2 ports 8000,8002 # 1.63 [+0.03] info: count=0,0, expect=0,0 # 1.64 [+0.00] info: count=0,20, expect=0,20 # 1.64 [+0.00] info: count=0,20, expect=0,20 # 1.69 [+0.05] # 1.69 [+0.00] test: datapath 0x2000 ports 8000,8002 # 1.73 [+0.04] info: count=0,0, expect=0,0 # 1.73 [+0.00] info: count=20,20, expect=20,20 # 1.73 [+0.00] info: count=20,20, expect=20,20 # 1.78 [+0.05] OK. All tests passed # 1.88 [+0.10] [PASS] # 1.88 [+0.00] -------------------- # 1.88 [+0.00] running psock_tpacket test # 1.89 [+0.00] -------------------- # 2.34 [+0.46] test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (14200 bytes) # 2.42 [+0.08] test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (14200 bytes) # 2.53 [+0.11] test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (14200 bytes) # 2.61 [+0.08] test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (14200 bytes) # 2.73 [+0.12] test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (14200 bytes) # 2.87 [+0.13] test: TPACKET_V3 with PACKET_TX_RING .................... 100 pkts (14200 bytes) # 2.96 [+0.09] OK. All tests passed # 3.05 [+0.09] [PASS] # 3.05 [+0.00] -------------------- # 3.05 [+0.00] running txring_overwrite test # 3.05 [+0.00] -------------------- # 3.53 [+0.48] read: a (0x61) # 3.53 [+0.00] read: b (0x62) # 3.69 [+0.15] [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__->