diff options
author | Matteo Croce <[email protected]> | 2021-05-14 20:39:54 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-14 15:20:10 -0700 |
commit | 224bf7db5518d804932c0c78b1206ebb21f43d6a (patch) | |
tree | 328d2f0ad4d1a349cb9b9bd672a0ef9040a49292 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 082294f294f6de4b50be0af354adb83e45816db4 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions