Hi Ashish, Given that -12 corresponds to -ENOMEM in the DPDK source code, I would suggest to increase the number of buffers allocated, via the buffers-per-numa option in startup.conf.
Regards Mohammed > On 11 Jan 2021, at 15:27, ashish.sax...@hsc.com wrote: > > Hi All, > > We are using vpp-20.05-1 version on Centos 8.2 machine. When we are > increasing the number of rx and tx descriptors in the startup.conf file as > follows: > ## Number of descriptors in transmit and receive rings > ## increasing or reducing number can impact performance > ## Default is 1024 for both rx and tx > num-rx-desc 4096 > num-tx-desc 4096 > > Then vpp is unable to receive to send any packets. > > Following is the output of vpp error and show interface command: > vpp# show errors > Count Node Reason > 1 tuntap-rx unknown packet type > 15 ip6-glean neighbor solicitations sent > 7 ip4-glean ARP requests sent > 46 ip6-input drops due to concurrent > reassemblies limit > 6 ip6-icmp-input router advertisements sent > 11 HundredGigabitEthernet12/0/0-tx Tx packet drops (dpdk tx > failure) > 19 HundredGigabitEthernet12/0/1-tx Tx packet drops (dpdk tx > failure) > > Getting error rte_eth_dev_start[port:0, errno:-12]: Unknown error -12 in the > show hardware-interfaces command as follows: > vpp# show hardware-interfaces > Name Idx Link Hardware > HundredGigabitEthernet12/0/0 2 up HundredGigabitEthernet12/0/0 > Link speed: 100 Gbps > Ethernet address b8:83:03:9e:68:4c > Mellanox ConnectX-4 Family > carrier up full duplex mtu 9206 > flags: admin-up pmd maybe-multiseg subif rx-ip4-cksum > rx: queues 4 (max 1024), desc 4096 (min 0 max 65535 align 1) > tx: queues 4 (max 1024), desc 4096 (min 0 max 65535 align 1) > pci: device 15b3:1013 subsystem 1590:00c8 address 0000:12:00.00 numa 0 > switch info: name 0000:12:00.0 domain id 0 port id 65535 > max rx packet len: 65536 > 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 vlan-filter > jumbo-frame scatter timestamp keep-crc rss-hash > rx offload active: ipv4-cksum udp-cksum tcp-cksum jumbo-frame scatter > tx offload avail: vlan-insert ipv4-cksum udp-cksum tcp-cksum tcp-tso > outer-ipv4-cksum vxlan-tnl-tso gre-tnl-tso > geneve-tnl-tso > multi-segs udp-tnl-tso ip-tnl-tso > tx offload active: multi-segs > rss avail: ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex > ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other > ipv6-ex ipv6 l4-dst-only l4-src-only l3-dst-only > l3-src-only > rss active: ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex > ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other > ipv6-ex ipv6 > tx burst function: removed_tx_burst > rx burst function: removed_rx_burst > > extended stats: > rx port unicast packets 2 > rx port unicast bytes 172 > tx port unicast packets 2 > tx port unicast bytes 172 > rx port multicast packets 10143 > rx port multicast bytes 1120826 > tx port multicast packets 24 > tx port multicast bytes 2408 > rx port broadcast packets 41 > rx port broadcast bytes 13735 > tx port broadcast packets 7 > tx port broadcast bytes 1795 > tx packets phy 36 > rx packets phy 10186 > tx bytes phy 4951 > rx bytes phy 1175477 Errors: > rte_eth_dev_start[port:0, errno:-12]: Unknown error -12 > > HundredGigabitEthernet12/0/1 3 up HundredGigabitEthernet12/0/1 > Link speed: 100 Gbps > Ethernet address b8:83:03:9e:68:4d > Mellanox ConnectX-4 Family > carrier up full duplex mtu 9206 > flags: admin-up pmd maybe-multiseg subif rx-ip4-cksum > rx: queues 4 (max 1024), desc 4096 (min 0 max 65535 align 1) > tx: queues 4 (max 1024), desc 4096 (min 0 max 65535 align 1) > pci: device 15b3:1013 subsystem 1590:00c8 address 0000:12:00.01 numa 0 > switch info: name 0000:12:00.1 domain id 1 port id 65535 > max rx packet len: 65536 > 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 vlan-filter > jumbo-frame scatter timestamp keep-crc rss-hash > rx offload active: ipv4-cksum udp-cksum tcp-cksum jumbo-frame scatter > tx offload avail: vlan-insert ipv4-cksum udp-cksum tcp-cksum tcp-tso > outer-ipv4-cksum vxlan-tnl-tso gre-tnl-tso > geneve-tnl-tso > multi-segs udp-tnl-tso ip-tnl-tso > tx offload active: multi-segs > rss avail: ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex > ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other > ipv6-ex ipv6 l4-dst-only l4-src-only l3-dst-only > l3-src-only > rss active: ipv4-frag ipv4-tcp ipv4-udp ipv4-other ipv4 ipv6-tcp-ex > ipv6-udp-ex ipv6-frag ipv6-tcp ipv6-udp ipv6-other > ipv6-ex ipv6 > tx burst function: removed_tx_burst > rx burst function: removed_rx_burst > > extended stats: > rx port unicast packets 48 > rx port unicast bytes 5664 > tx port unicast packets 5 > tx port unicast bytes 442 > rx port multicast packets 10143 > rx port multicast bytes 1120694 > tx port multicast packets 18 > tx port multicast bytes 1868 > rx port broadcast packets 41 > rx port broadcast bytes 13735 > tx port broadcast packets 5 > tx port broadcast bytes 1675 > tx packets phy 31 > rx packets phy 10232 > tx bytes phy 4541 > rx bytes phy 1181021 Errors: > rte_eth_dev_start[port:1, errno:-12]: Unknown error -12 > > What could be the issue of that vpp is not working here ? > > Thanks and Regards, > Ashish > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18506): https://lists.fd.io/g/vpp-dev/message/18506 Mute This Topic: https://lists.fd.io/mt/79596398/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-