Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
On Wed, Apr 13, 2022 at 03:48 PM, Benoit Ganne (bganne) wrote: > > single -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21260): https://lists.fd.io/g/vpp-dev/message/21260 Mute This Topic: https://lists.fd.io/mt/90434107/21656 Group Owner: vpp-de

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
vppctl enable tap-inject create interface af_xdp host-if ens9 num-rx-queues all set int mac address ens9/0 52:54:00:ba:be:14 sudo ifconfig vpp0 inet 172.16.2.135 netmask 255.255.255.0 up hw ether 52:54:00:ba:be:14 delete interface af_xdp ens9/0 af_xdp_create_if() -->af_xdp_create_queue() -->xsk

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
[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

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
[Edited Message Follows] HI  Benoit: 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 virti

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
Hi Benoit: 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_cr

Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread david . fernandes
Hi Stanislav, Thank you very much for your response. I suppose then that "Vectors/Call" <=> "Packet/Call" <=> "Packets/Vector" ? I'm sory if what I'm asking for is pretty obvious, I'm just not familiar with some of the concepts displayed with "show runtime" Thanks again. David -=-=-=-=-=-=-=

Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread Pim van Pelt
Hoi David, On Thu, Apr 14, 2022 at 10:37 AM wrote: > Hi Stanislav, > > Thank you very much for your response. I suppose then that "Vectors/Call" > <=> "Packet/Call" <=> "Packets/Vector" ? > Your understanding is correct. Many of the things in VPP are low level and take a bit of getting used to.

Re: [vpp-dev] How to check how many packets per vector is VPP processing ? #vpp

2022-04-14 Thread david . fernandes
Hi Pim, Thank you very much for your help ! Best regards, David -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21265): https://lists.fd.io/g/vpp-dev/message/21265 Mute This Topic: https://lists.fd.io/mt/90421955/21656 Mute #vpp:https://lists.fd.io

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
Hi Benoit Ganne: I have upgrade linux kernel version to 5.17.3, and then do the same test, the test result is OK, no kernel error message occured: libbpf: Kernel error message: virtio_net: Too few free TX rings available. bpf.vger.kernel.org  mail disccuss information also gives support for this

Re: [vpp-dev] create af_xdp interface with exception kernel info "Kernel error message: virtio_net: Too few free TX rings available"

2022-04-14 Thread Smith Beirvin
[Edited Message Follows] Hi Benoit Ganne: I have upgrade linux kernel version to 5.17.3, and then do the same test, the test result is OK, no kernel error message occured: libbpf: Kernel error message: virtio_net: Too few free TX rings available. bpf.vger.kernel.org  mail disccuss information al