diff options
| author | John Fastabend <[email protected]> | 2018-03-18 12:58:12 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-03-19 21:14:41 +0100 |
| commit | 0dcbbf6785799ba05b44df2ba6bcc1195f4f945c (patch) | |
| tree | fc6bb4f05e72ef992a80d015fa963fa08d2cbc6d /tools/perf/scripts/python | |
| parent | e6373ce70a01292424a118d9457d927349dad51d (diff) | |
bpf: sockmap sample test for bpf_msg_pull_data
This adds an option to test the msg_pull_data helper. This
uses two options txmsg_start and txmsg_end to let the user
specify start and end bytes to pull.
The options can be used with txmsg_apply, txmsg_cork options
as well as with any of the basic tests, txmsg, txmsg_redir and
txmsg_drop (plus noisy variants) to run pull_data inline with
those tests. By giving user direct control over the variables
we can easily do negative testing as well as positive tests.
Signed-off-by: John Fastabend <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions