diff options
author | Xuan Zhuo <[email protected]> | 2024-07-08 19:25:36 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-14 20:32:39 -0700 |
commit | a4e7ba7027012f009f22a68bcfde670f9298d3a4 (patch) | |
tree | 90a04ae3e756e1959bb7d6798817461b4a660bdb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 (diff) |
virtio_net: xsk: rx: support recv small mode
In the process:
1. We may need to copy data to create skb for XDP_PASS.
2. We may need to call xsk_buff_free() to release the buffer.
3. The handle for xdp_buff is difference from the buffer.
If we pushed this logic into existing receive handle(merge and small),
we would have to maintain code scattered inside merge and small (and big).
So I think it is a good choice for us to put the xsk code into an
independent function.
Signed-off-by: Xuan Zhuo <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions