Re: error loading xdp program on virtio nic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2019/11/21 上午1:52, David Ahern wrote:
Hi:

Trying to load an XDP program on a virtio based nic is failing with:

virtio_net: XDP expects header/data in single page, any_header_sg required

I have not encountered this error before and not able to find what is
missing. Any tips?


Hi David:

What qemu + guest kernel version did you use? And could you share you qemu cli?

Old qemu requires vnet header to be placed into a separate sg which breaks the assumption of XDP. Recent qemu doesn't have such limitation (any_header_sg feature).

Thanks



Thanks,
David






[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux