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<mailto:sunil61...@gmail.com> Date: 2023-02-17 21:46 To: vpp-dev<mailto: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 (#22600): https://lists.fd.io/g/vpp-dev/message/22600 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] -=-=-=-=-=-=-=-=-=-=-=-