On Fri, Jul 5, 2024 at 3:37 PM Xuan Zhuo <xuanzhuo@xxxxxxxxxxxxxxxxx> 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 <xuanzhuo@xxxxxxxxxxxxxxxxx> Acked-by: Jason Wang <jasowang@xxxxxxxxxx> Thanks