diff options
author | Xuan Zhuo <xuanzhuo@linux.alibaba.com> | 2024-07-08 19:25:28 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-14 20:32:37 -0700 |
commit | 41d4a174201e62fc95562dc8e53097baf8568f24 (patch) | |
tree | 870f6d63337b2b36a3b663e7236866bee58948c6 /tools/perf/scripts/python | |
parent | e6c29506b2ec94e634819c03445ffe9eb350caed (diff) |
virtio_net: replace VIRTIO_XDP_HEADROOM by XDP_PACKET_HEADROOM
virtio net has VIRTIO_XDP_HEADROOM that is equal to
XDP_PACKET_HEADROOM to calculate the headroom for xdp.
But here we should use the macro XDP_PACKET_HEADROOM from bpf.h to
calculate the headroom for xdp. So here we remove the
VIRTIO_XDP_HEADROOM, and use the XDP_PACKET_HEADROOM to replace it.
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://patch.msgid.link/20240708112537.96291-2-xuanzhuo@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions