diff options
| author | Matteo Croce <mcroce@microsoft.com> | 2021-05-14 21:39:54 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-15 01:20:10 +0300 |
| commit | 224bf7db5518d804932c0c78b1206ebb21f43d6a (patch) | |
| tree | 328d2f0ad4d1a349cb9b9bd672a0ef9040a49292 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 082294f294f6de4b50be0af354adb83e45816db4 (diff) | |
| download | linux-224bf7db5518d804932c0c78b1206ebb21f43d6a.tar.xz | |
vhost_net: use XDP helpers
Make use of the xdp_{init,prepare}_buff() helpers instead of
an open-coded version.
Also, the field xdp->rxq was never set, so pass NULL to xdp_init_buff()
to clear it.
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
