aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorXuan Zhuo <[email protected]>2023-05-08 14:14:04 +0800
committerJakub Kicinski <[email protected]>2023-05-09 19:44:26 -0700
commitad4858beb824aeba53deeae660ea7fab9e624bc0 (patch)
tree25b6af79b453b033f5ed1f494fb0902319aef849 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent363d8ce4b94719a87dad865e2829f1dba0f7ef71 (diff)
virtio_net: introduce mergeable_xdp_get_buf()
Separating the logic of preparation for xdp from receive_mergeable. The purpose of this is to simplify the logic of execution of XDP. The main logic here is that when headroom is insufficient, we need to allocate a new page and calculate offset. It should be noted that if there is new page, the variable page will refer to the new page. Signed-off-by: Xuan Zhuo <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions