diff options
author | Heng Qi <[email protected]> | 2023-01-14 16:22:25 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-01-16 11:15:48 +0000 |
commit | 22174f79a44baf5e46faafff1d7b21363431b93a (patch) | |
tree | ade39be98ad7608ada7f2932260caaee6bea8960 /tools/perf/scripts/python/task-analyzer.py | |
parent | ef75cb51f13941cf7633227ade43c4d86ecbc336 (diff) |
virtio-net: construct multi-buffer xdp in mergeable
Build multi-buffer xdp using virtnet_build_xdp_buff_mrg().
For the prefilled buffer before xdp is set, we will probably use
vq reset in the future. At the same time, virtio net currently
uses comp pages, and bpf_xdp_frags_increase_tail() needs to calculate
the tailroom of the last frag, which will involve the offset of the
corresponding page and cause a negative value, so we disable tail
increase by not setting xdp_rxq->frag_size.
Signed-off-by: Heng Qi <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions