aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-04-19 11:47:46 +0000
committerAndrii Nakryiko <[email protected]>2022-04-20 21:58:29 +0000
commitdb69264f983a5890fe8ba20ed4c20dfd4b687615 (patch)
tree91408288accf24e0ae2dc5a90eda6764db7d47ce /tools/lib
parentselftests/bpf: Add test for skb_load_bytes (diff)
downloadkernel-db69264f983a5890fe8ba20ed4c20dfd4b687615.tar.gz
kernel-db69264f983a5890fe8ba20ed4c20dfd4b687615.zip
samples/bpf: Reduce the sampling interval in xdp1_user
If interval is 2, and sum - prev[key] = 1, the result = 0. This will mislead the tester that the port has no traffic right now. So reduce the sampling interval to 1. Signed-off-by: Zhengchao Shao <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions