Searched refs:pkts (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_noinline.c | 18 __u64 pkts; in test_xdp_noinline() member 30 __u64 bytes = 0, pkts = 0; in test_xdp_noinline() local 61 pkts += stats[i].pkts; in test_xdp_noinline() 63 CHECK(bytes != MAGIC_BYTES * NUM_ITER * 2 || pkts != NUM_ITER * 2, in test_xdp_noinline() 65 (unsigned long long)bytes, (unsigned long long)pkts); in test_xdp_noinline()
|
D | l4lb_all.c | 16 __u64 pkts; in test_l4lb() member 28 __u64 bytes = 0, pkts = 0; in test_l4lb() local 72 pkts += stats[i].pkts; in test_l4lb() 75 pkts != NUM_ITER * 2)) in test_l4lb() 76 printf("test_l4lb:FAIL:stats %lld %lld\n", bytes, pkts); in test_l4lb()
|
/tools/testing/selftests/net/forwarding/ |
D | pedit_l4port.sh | 138 local pkts 139 pkts=$(busywait "$TC_HIT_TIMEOUT" until_counter_is ">= 10" \ 141 check_err $? "Expected to get 10 packets, but got $pkts." 143 pkts=$(tc_rule_handle_stats_get "$pedit_locus" 101) 144 ((pkts >= 10)) 145 check_err $? "Expected to get 10 packets on pedit rule, but got $pkts."
|
D | pedit_dsfield.sh | 134 local pkts 135 pkts=$(busywait "$TC_HIT_TIMEOUT" until_counter_is ">= 10" \ 137 check_err $? "Expected to get 10 packets on test probe, but got $pkts." 139 pkts=$(tc_rule_handle_stats_get "$pedit_locus" 101) 140 ((pkts >= 10)) 141 check_err $? "Expected to get 10 packets on pedit rule, but got $pkts."
|
D | sch_red.sh | 185 local pkts=$1; shift 187 $MZ $h2 -p $PKTSZ -a own -b $h3_mac -A 192.0.2.2 -B 192.0.2.3 -t $proto -q -c $pkts "$@" 203 local pkts=$(((diff + PKTSZ - 1) / PKTSZ)) 213 send_packets $proto $pkts "$@"
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_pfc.sh | 386 local pkts=$((_10MB / 8050)) 387 local size=$((pkts * 8050)) 392 -a own -b $h2mac -c $pkts -t udp -q
|
D | sch_red_core.sh | 346 local pkts=$1; shift 350 -t $proto -q -c $pkts "$@" 371 local pkts=$(((diff + 7999) / 8000)) 381 send_packets $vlan $proto $pkts "$@"
|
/tools/testing/selftests/bpf/progs/ |
D | test_l4lb_noinline.c | 157 __u64 pkts; member 443 data_stats->pkts++; in process_packet()
|
D | test_l4lb.c | 163 __u64 pkts; member 446 data_stats->pkts++; in process_packet()
|
/tools/bpf/ |
D | bpf_dbg.c | 1180 int pkts = 0, i = 0; in cmd_run() local 1185 pkts = strtol(num, NULL, 10); in cmd_run() 1186 if (pkts == 0 || strlen(num) == 0) in cmd_run() 1201 } while (pcap_next_pkt() && (!has_limit || (has_limit && ++i < pkts))); in cmd_run()
|