diff options
author | Jay Jayatheerthan <jay.jayatheerthan@intel.com> | 2019-12-20 09:55:28 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-21 01:10:39 +0100 |
commit | ece6e9694751a4f0b99372724a0705a0217132b3 (patch) | |
tree | f8db82bdb2b120deb34011b6f2bbd7bd584868bc /samples/bpf/test_map_in_map_kern.c | |
parent | samples/bpf: xdpsock: Add option to specify batch size (diff) | |
download | linux-ece6e9694751a4f0b99372724a0705a0217132b3.tar.xz linux-ece6e9694751a4f0b99372724a0705a0217132b3.zip |
samples/bpf: xdpsock: Add option to specify number of packets to send
Use '-C' or '--tx-pkt-count' to specify number of packets to send.
If it is not specified, the application sends packets forever. If packet
count is not a multiple of batch size, last batch sent is less than the
batch size.
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-5-jay.jayatheerthan@intel.com
Diffstat (limited to 'samples/bpf/test_map_in_map_kern.c')
0 files changed, 0 insertions, 0 deletions