On Fri, Jul 5, 2024 at 3:37 PM Xuan Zhuo <xuanz...@linux.alibaba.com> wrote: > > 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 <xuanz...@linux.alibaba.com>
Acked-by: Jason Wang <jasow...@redhat.com> Thanks