diff options
author | 2019-12-20 14:25:25 +0530 | |
---|---|---|
committer | 2019-12-20 16:10:39 -0800 | |
commit | d3f11b018f6ce278e683008e9c225fe87afc532d (patch) | |
tree | bc53979422396ee6e4a1a1c1dcdfa1f44b3e2330 /samples/bpf/hash_func01.h | |
parent | selftests/bpf: Preserve errno in test_progs CHECK macros (diff) | |
download | linux-d3f11b018f6ce278e683008e9c225fe87afc532d.tar.gz linux-d3f11b018f6ce278e683008e9c225fe87afc532d.tar.bz2 linux-d3f11b018f6ce278e683008e9c225fe87afc532d.zip |
samples/bpf: xdpsock: Add duration option to specify how long to run
The application now supports '-d' or '--duration' option to specify number of
seconds to run. This is used in tx, rx and l2fwd features. If this option is
not provided, the application runs forever.
Signed-off-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191220085530.4980-2-jay.jayatheerthan@intel.com
Diffstat (limited to 'samples/bpf/hash_func01.h')
0 files changed, 0 insertions, 0 deletions