diff options
author | Xuan Zhuo <[email protected]> | 2023-05-08 14:14:05 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-05-09 19:44:26 -0700 |
commit | dbe4fec2447dd215964aad88b0e06f96c6958ee9 (patch) | |
tree | d8c403b313f42b9f7f7290597078119e854ad4a6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ad4858beb824aeba53deeae660ea7fab9e624bc0 (diff) |
virtio_net: optimize mergeable_xdp_get_buf()
The previous patch, in order to facilitate review, I do not do any
modification. This patch has made some optimization on the top.
* remove some repeated logics in this function.
* add fast check for passing without any alloc.
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