Hi,

Thank You For Your response.

There is one more case. we are observing rx buffer allocation error in
vppctl show hardware output. this error rx buffer allocation failure is
happening in the dpdk vmxnet3_recv_pkts() function.

      rx q0 rx buf alloc failure                     8846166
      rx q1 rx buf alloc failure                     6245832
      tx q0 drop total                                 26052
      tx q0 tx ring full                                 152
      tx q1 drop total                                    18
      tx q1 tx ring full                                  17


Adding vppctl show buffers and vppctl show dpdk buffers commands output
below.

./bin/vppctl show buffers
Pool Name            Index NUMA  Size  Data Size  Total  Avail  Cached
 Used
default-numa-0         0     0   2496     2048   537600 527296    748
9556


./bin/vppctl show dpdk buffer
name="vpp pool 0"  available =     985 allocated =  536615 total =  537600


We can see from the above two buffers output, vpp allocates all the dpdk
mbuf buffers to vlib_buffers.
Is it the reason we are observing the above rx buffer allocation error?


Thanks,
Sunil

On Sat, Feb 18, 2023 at 12:11 AM Steven Luong (sluong) <slu...@cisco.com>
wrote:

> Sunil is using dpdk vmxnet3 driver. So he doesn’t need to load VPP native
> vmxnet3 plugin. Gdb dpdk code to see why it returns -22 when VPP adds the
> NIC to dpdk.
>
>     rte_eth_dev_start[port:1, errno:-22]: Unknown error -22
>
>
>
> Steven
>
>
>
> *From: *<vpp-dev@lists.fd.io> on behalf of Guangming <
> zhangguangm...@baicells.com>
> *Reply-To: *"vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
> *Date: *Friday, February 17, 2023 at 6:55 AM
> *To: *vpp-dev <vpp-dev@lists.fd.io>, sunil61090 <sunil61...@gmail.com>
> *Subject: *Re: [vpp-dev] VPP Hardware Interface Output show Carrier Down
>
>
>
>
>
> you can  use vppctl show log  to display more  startup meesage.
>
> VMXNET3 need load vmxnet3_plugin.so.
> ------------------------------
>
> zhangguangm...@baicells.com
>
>
>
> *From:* sunil kumar <sunil61...@gmail.com>
>
> *Date:* 2023-02-17 21:46
>
> *To:* vpp-dev <vpp-dev@lists.fd.io>
>
> *Subject:* [vpp-dev] VPP Hardware Interface Output show Carrier Down
>
> Hi,
>
> We are observing the state of the vpp interface as carrier down
> in  command vppctl show hardware output. This is observed while starting
> the vpp:
>
>
>
> vppctl show hardware output:
>
> ==========================
>
> device_c/0/0                       2    down  device_c/0/0
>
>   Link speed: 10 Gbps
>
>   Ethernet address 00:50:56:01:5c:63
>
>   VMware VMXNET3
>
>     carrier down
>
>     flags: admin-up pmd rx-ip4-cksum
>
>     rx: queues 2 (max 16), desc 4096 (min 128 max 4096 align 1)
>
>     tx: queues 2 (max 8), desc 4096 (min 512 max 4096 align 1)
>
>     pci: device 15ad:07b0 subsystem 15ad:07b0 address 0000:0c:00.00 numa 0
>
>     max rx packet len: 16384
>
>     promiscuous: unicast off all-multicast off
>
>     vlan offload: strip off filter off qinq off
>
>     rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro
>
>                        vlan-filter jumbo-frame scatter
>
>     rx offload active: ipv4-cksum
>
>     tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum tcp-tso
>
>                        multi-segs
>
>     tx offload active: multi-segs
>
>     rss avail:         ipv4-tcp ipv4 ipv6-tcp ipv6
>
>     rss active:        none
>
>     tx burst function: vmxnet3_xmit_pkts
>
>     rx burst function: vmxnet3_recv_pkts
>
>   Errors:
>
>     rte_eth_dev_start[port:1, errno:-22]: Unknown error -22
>
> We are suspecting the following reasons:
> 1) Any issue with vfio-pci driver while unloading and loading again?
> 2) Any corruption is happening during initialization?
>
> I am attaching the startup.conf and vppctl command output files with this
> mail:
>
>
>
> Can anybody suggest a way to resolve this issue?
>
> Thanks,
> Sunil Kumar
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22610): https://lists.fd.io/g/vpp-dev/message/22610
Mute This Topic: https://lists.fd.io/mt/97027473/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to