[Edited Message Follows]

HI Benoi:
Thanks for your reply.
I have done the gdb test to track af_xdp_create_queue() function. Acutlly theĀ  
af_xdp_create_queue() return error value, The function call flow is as below, I 
doubt that Linux kernel version 5.4 doesn't support af_xdp fucntion for virtio 
network card.

af_xdp_create_if()
-->af_xdp_create_queue()
-->af_xdp_create_queue()
-->xsk_socket__create()
-->xsk_socket__create_shared()
-->__xsk_setup_xdp_prog()
-->bpf_set_link_xdp_fd() // kernel error message occured: libbpf: Kernel error 
message: virtio_net: Too few free TX rings available
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21261): https://lists.fd.io/g/vpp-dev/message/21261
Mute This Topic: https://lists.fd.io/mt/90434107/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to