commit | d3f11b018f6ce278e683008e9c225fe87afc532d | [log] [tgz] |
---|---|---|
author | Jay Jayatheerthan <jay.jayatheerthan@intel.com> | Fri Dec 20 14:25:25 2019 +0530 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Dec 20 16:10:39 2019 -0800 |
tree | bc53979422396ee6e4a1a1c1dcdfa1f44b3e2330 | |
parent | 478bee0df0ec9067c12e7d058d78721a7e7a1b29 [diff] |
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