aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTirthendu Sarkar <[email protected]>2023-07-19 15:23:58 +0200
committerAlexei Starovoitov <[email protected]>2023-07-19 09:56:48 -0700
commit63a64a56bc3f77c74085047ee45356ac850da3e8 (patch)
tree38b4a906c0eb73640bb4f8c0fcc811ed37b9d878 /tools/perf/scripts/python/export-to-sqlite.py
parent492e797fdab25f2d8eb1b6bb3236f4aac474f878 (diff)
xsk: prepare 'options' in xdp_desc for multi-buffer use
Use the 'options' field in xdp_desc as a packet continuity marker. Since 'options' field was unused till now and was expected to be set to 0, the 'eop' descriptor will have it set to 0, while the non-eop descriptors will have to set it to 1. This ensures legacy applications continue to work without needing any change for single-buffer packets. Add helper functions and extend xskq_prod_reserve_desc() to use the 'options' field. Signed-off-by: Tirthendu Sarkar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions