<div dir="ltr"><div>Hello,</div><div><br></div><div dir="ltr">As I am not able to get sufficient support from the intel support team or from the dpdk forum, the support team from intel asked me to raise a ticket in Intel Premium Support. Can someone help me get registered there as it is asking for an intel agent.<br><br>Thanks & Regards<br>--<br>Lokesh Chakka.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 13, 2022 at 12:56 PM Lokesh Chakka <<a href="mailto:lvenkatakumarchakka@gmail.com">lvenkatakumarchakka@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear David,</div><div><br></div><div>following is some more stuff i did</div><div>==================================================</div><div>$ sudo dpdk-devbind.py -b vfio-pci 83:00.0<br>$ sudo dpdk-devbind.py -b vfio-pci 83:00.1<br>$ sudo dpdk-devbind.py -b uio_pci_generic 83:00.0 83:00.1<br>Error: Driver 'uio_pci_generic' is not loaded.<br>$ sudo dpdk-devbind.py -b igb_uio 83:00.0 83:00.1<br>Error: Driver 'igb_uio' is not loaded.<br>$ sudo dpdk-devbind.py -b vfio-pci 83:00.0 83:00.1<br>Notice: 0000:83:00.0 already bound to driver vfio-pci, skipping<br>Notice: 0000:83:00.1 already bound to driver vfio-pci, skipping<br></div><div></div><div>==================================================<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"></div><div>~/Desktop/dpdk_examples/skeleton$ gcc main.c -g `pkg-config --cflags libdpdk --libs libdpdk`<br>lokesh@lokesh-ProLiant-DL385-Gen10:~/Desktop/dpdk_examples/skeleton$ sudo ./a.out <br>EAL: Detected CPU lcores: 64<br>EAL: Detected NUMA nodes: 4<br>EAL: Detected shared linkage of DPDK<br>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>EAL: Selected IOVA mode 'VA'<br>EAL: No available 1048576 kB hugepages reported<br>EAL: VFIO support initialized<br>EAL: Using IOMMU type 1 (Type 1)<br>EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:83:00.0 (socket 2)<br>EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:83:00.1 (socket 2)<br>TELEMETRY: No legacy callbacks, legacy socket not created<br>Port 0 MAC: bc 97 e1 ce 84 f0<br>Port 1 MAC: bc 97 e1 ce 84 f1<br><br>WARNING: Too many lcores enabled. Only 1 used.<br>WARNING, port 0 is on remote NUMA node to polling thread.<br> Performance will not be optimal.<br>WARNING, port 1 is on remote NUMA node to polling thread.<br> Performance will not be optimal.<br><br>Core 0 forwarding packets. [Ctrl+C to quit]<br>^C<br></div><div dir="ltr"><div>==================================================<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>After a few seconds, I presses ctrl+c</div><div><br></div><div>surprisingly cards are not showing up even in ifconfig. <br></div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div><div dir="ltr"><br><br>Thanks & Regards<br>--<br>Lokesh Chakka.<br></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 13, 2022 at 12:43 PM Lokesh Chakka <<a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear David,</div><div><br></div><div>=================================================</div><div>$ lspci | grep -i broadcom<br>83:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508 NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11)<br>83:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508 NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11)</div><div>$ lspci -n -s 83:00.0<br>83:00.0 0200: 14e4:1750 (rev 11)<br></div><div>=================================================</div><div><br></div><div>I am compiling my code like this :</div><div><div>=================================================</div><div>gcc main.c `pkg-config --cflags libdpdk --libs libdpdk`<div>=================================================</div><div><br></div><div>Hence it is statically linked code.</div><div>If I try</div><div>$ dpdk-pmdinfo.py ./a.out</div><div><br></div><div>But I am not seeing any output<br></div></div></div><div><br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><br>Thanks & Regards<br>--<br>Lokesh Chakka.<br></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 13, 2022 at 12:22 PM David Marchand <<a href="mailto:david.marchand@redhat.com" target="_blank">david.marchand@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jul 13, 2022 at 7:35 AM Lokesh Chakka<br>
<<a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>> wrote:<br>
> Would like to understand if I am missing something. I am new to this platform.<br>
> rte_eth_dev_count_avail is returning zero.<br>
> OS is Ubuntu 22.04. DPDK is latest version.<br>
> Cards are being detected by Linux. Ifconfig is showing the cards up. LED is also glowing.<br>
<br>
Indeed, DPDK provides a userspace driver for some NetXtreme nics<br>
(which is net/bnxt).<br>
This userspace driver does not rely on the bnxt Linux kernel driver.<br>
IOW, this card being detecting and working with the Linux kernel does<br>
not automatically mean that this nic can work with DPDK.<br>
<br>
We need more info on your nic, first.<br>
<br>
Can you share the pci id of this nic (like running lspci -n -s $pci_address)?<br>
It should be a 14e4:XXXX.<br>
<br>
Then you can check this XXXX against what your dpdk application supports.<br>
<br>
If it is a statically linked application, you can run:<br>
$ dpdk-pmdinfo.py /path/to/your/application<br>
<br>
Else, if your application is dynamically linked against DPDK driver,<br>
you can run this command against the net/bnxt driver .so.22 (for 21.11<br>
and later releases):<br>
$ dpdk-pmdinfo.py /path/to/your/dpdk/drivers/librte_net_bnxt.so.22<br>
<br>
You should get a list of supported NetXtreme nics, like:<br>
<br>
[snipped some other drivers compiled in my application]<br>
PMD NAME: net_bnxt<br>
PMD HW SUPPORT:<br>
Broadcom Inc. and subsidiaries (14e4) : BCM5745X NetXtreme-E RDMA<br>
Virtual Function (1606) (All Subdevices)<br>
Broadcom Inc. and subsidiaries (14e4) : BCM5745X NetXtreme-E Ethernet<br>
Virtual Function (1609) (All Subdevices)<br>
Broadcom Inc. and subsidiaries (14e4) : BCM57454 NetXtreme-E<br>
10Gb/25Gb/40Gb/50Gb/100Gb Ethernet (1614) (All Subdevices)<br>
Broadcom Inc. and subsidiaries (14e4) : NetXtreme-E RDMA Virtual<br>
Function (16c1) (All Subdevices)<br>
Broadcom Inc. and subsidiaries (14e4) : NetXtreme-C Ethernet Virtual<br>
Function (16cb) (All Subdevices)<br>
[snipped the rest]<br>
<br>
I hope you can find a (XXXX) corresponding to your NIC.<br>
<br>
<br>
-- <br>
David Marchand<br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>