diff options
author | Xuan Zhuo <[email protected]> | 2023-05-08 14:14:04 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-05-09 19:44:26 -0700 |
commit | ad4858beb824aeba53deeae660ea7fab9e624bc0 (patch) | |
tree | 25b6af79b453b033f5ed1f494fb0902319aef849 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 363d8ce4b94719a87dad865e2829f1dba0f7ef71 (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/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions