<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
p.gmail-m-4714895321182063114msipheaderdf3d92d6, li.gmail-m-4714895321182063114msipheaderdf3d92d6, div.gmail-m-4714895321182063114msipheaderdf3d92d6
        {mso-style-name:gmail-m_-4714895321182063114msipheaderdf3d92d6;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msipheaderc10f11a2, li.msipheaderc10f11a2, div.msipheaderc10f11a2
        {mso-style-name:msipheaderc10f11a2;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="msipheaderc10f11a2" style="margin:0in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:green">[Public]</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[LC] I am having is <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.broadcom.com%2Fproducts%2Fethernet-connectivity%2Fnetwork-adapters%2Fp2100g&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GInrRYkg8qTsJ02CbjPSl%2FLT6C4cJ4Yt2fMkNfGmFho%3D&reserved=0">
https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p2100g</a> However, cards are up after waiting for around 10 minutes.<o:p></o:p></p>
<pre style="background:white"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">[VV] I do face similar issue, hence I have recommended ` Observation: due some hardware or firmware bug auto-neg take more time with the current DPDK BXNT PMD. Hence my advice is try to wait longer for link state up in DPDK.`. Please try reaching out to Broadcom PMD maintainer `ajit.khaparde@broadcom.com`. Once the solution is identified please share too  <o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[LC] If netdevice is not available, how can I capture the packets using wireshark?<o:p></o:p></p>
<p class="MsoNormal">[VV] Please explore DPDK tool PDUMP. <a href="https://doc.dpdk.org/guides/tools/pdump.html">
https://doc.dpdk.org/guides/tools/pdump.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[LC] Interfaces are not visible to the wireshark. Very basic requirement is to send the packets, capture them and see the contents.<o:p></o:p></p>
<p class="MsoNormal">[VV] If you want the kernel netdev visible and use it under DPDK, I recommend using LIBPCAP PMD by sacrificing performance and higher functionality.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Lokesh Chakka <lvenkatakumarchakka@gmail.com> <br>
<b>Sent:</b> Thursday, July 14, 2022 12:56 PM<br>
<b>To:</b> Varghese, Vipin <Vipin.Varghese@amd.com><br>
<b>Cc:</b> users@dpdk.org; Yigit, Ferruh <Ferruh.Yigit@amd.com>; Tummala, Sivaprasad <Sivaprasad.Tummala@amd.com><br>
<b>Subject:</b> Re: skeleton code failing (Lokesh Chakka)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[CAUTION: External Email] <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">The card I am having is <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.broadcom.com%2Fproducts%2Fethernet-connectivity%2Fnetwork-adapters%2Fp2100g&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GInrRYkg8qTsJ02CbjPSl%2FLT6C4cJ4Yt2fMkNfGmFho%3D&reserved=0">
https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p2100g</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">However, cards are up after waiting for around 10 minutes.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks for the valuable input. skeleton code is running till I press ctrl+c.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Now I have a big concern.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">If netdevice is not available, how can I capture the packets using wireshark?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Interfaces are not visible to the wireshark. Very basic requirement is to send the packets, capture them and see the contents.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
Thanks & Regards<br>
--<br>
Lokesh Chakka.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 14, 2022 at 11:46 AM Varghese, Vipin <<a href="mailto:Vipin.Varghese@amd.com">Vipin.Varghese@amd.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="gmail-m-4714895321182063114msipheaderdf3d92d6" style="margin:0in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue">[AMD Official Use Only - General]</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Is this not Broadcom extreme net card? Please refer
<a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdoc.dpdk.org%2Fguides%2Fnics%2Fbnxt.html&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qsqUSFyPvnm%2Frqqy5RkOfMu2WREnXXNPAoQNrBb09ig%3D&reserved=0" target="_blank">
http://doc.dpdk.org/guides/nics/bnxt.html</a>, once you bind with `igb_uio, vfio_pci or uio_pci_generic` all linux netdevice instance will be no longer available. This is because it is not a `port representator`<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Observation: due some hardware or firmware bug auto-neg take more time with the current DPDK BXNT PMD. Hence my advice is try to wait longer for link state up in DPDK.
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">You can verify the same with testpmd.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;border-color:currentcolor currentcolor currentcolor blue">
<div>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:currentcolor currentcolor">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> Lokesh Chakka <<a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>>
<br>
<b>Sent:</b> Thursday, July 14, 2022 11:11 AM<br>
<b>To:</b> Varghese, Vipin <<a href="mailto:Vipin.Varghese@amd.com" target="_blank">Vipin.Varghese@amd.com</a>><br>
<b>Cc:</b> <a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a>; Yigit, Ferruh <<a href="mailto:Ferruh.Yigit@amd.com" target="_blank">Ferruh.Yigit@amd.com</a>>; Tummala, Sivaprasad <<a href="mailto:Sivaprasad.Tummala@amd.com" target="_blank">Sivaprasad.Tummala@amd.com</a>><br>
<b>Subject:</b> Re: skeleton code failing (Lokesh Chakka)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[CAUTION: External Email]
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have one more observation here.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">After "$ sudo dpdk-devbind.py -b vfio-pci 83:00.0 83:00.1"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cards are shutting down. ifconfig is not showing the cards. reinsert of sfp is also not bringing the cards up. I had to restart the server. Not sure why the cards are going down.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks & Regards<br>
--<br>
Lokesh Chakka.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Thu, Jul 14, 2022 at 8:50 AM Varghese, Vipin <<a href="mailto:Vipin.Varghese@amd.com" target="_blank">Vipin.Varghese@amd.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt;border-color:currentcolor currentcolor currentcolor rgb(204,204,204)">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[AMD Official Use Only - General]<br>
<br>
Based on the compilation command shared it looks like you are using the build in shared library mode ` gcc main.c -g `pkg-config --cflags libdpdk --libs libdpdk`<br>
Hence in EAL PCIe probe, the BNXT PMD is not triggered to identify the NIC. <br>
<br>
Solutions for these can be<br>
1. Build with static library ` gcc main.c -g `pkg-config --cflags libdpdk --libs --static libdpdk`<br>
2. pass the bxnt_en PMD shared library to eal args by ` sudo ./a.out -l 1 -d librte_net_bnxt.so`<br>
<br>
Can you try any of the above ?<br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:users-request@dpdk.org" target="_blank">users-request@dpdk.org</a> <<a href="mailto:users-request@dpdk.org" target="_blank">users-request@dpdk.org</a>><br>
> Sent: Wednesday, July 13, 2022 3:30 PM<br>
> To: <a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a><br>
> Subject: users Digest, Vol 347, Issue 6<br>
> <br>
> [CAUTION: External Email]<br>
> <br>
> Send users mailing list submissions to<br>
>         <a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a><br>
> <br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.dp%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sRwPMJBmusuk53CQJeL5Ul%2BKaJq1XC3PjqtOCkSC5vY%3D&reserved=0" target="_blank">
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.dp</a><br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdk.org%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p7tLWYu7vQDf%2Bpi%2FYxUPM1pu7HfWunI14n2XQqPAmAQ%3D&reserved=0" target="_blank">
dk.org</a>%2Flistinfo%2Fusers&amp;data=05%7C01%7Cvipin.varghese%<a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2F40amd.co%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=J8sevycMs8Nd1uTlw0adu5Pt5R3ikhOitLYWGfT9kEQ%3D&reserved=0" target="_blank">40amd.co</a><br>
> m%7C55465d0d4faa4cd8496a08da64b674f4%7C3dd8961fe4884e608e11a82d9<br>
> 94e183d%7C0%7C0%7C637933032067208770%7CUnknown%7CTWFpbGZsb3d8<br>
> eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D<br>
> %7C3000%7C%7C%7C&amp;sdata=6JHjf2Fu%2BkQ56CF9xTZvBS%2Bh8Uomlqv<br>
> E9dq9M7VefiU%3D&amp;reserved=0<br>
> or, via email, send a message with subject or body 'help' to<br>
>         <a href="mailto:users-request@dpdk.org" target="_blank">users-request@dpdk.org</a><br>
> <br>
> You can reach the person managing the list at<br>
>         <a href="mailto:users-owner@dpdk.org" target="_blank">users-owner@dpdk.org</a><br>
> <br>
> When replying, please edit your Subject line so it is more specific than "Re:<br>
> Contents of users digest..."<br>
> <br>
> <br>
> Today's Topics:<br>
> <br>
>    1. Re: skeleton code failing (Lokesh Chakka)<br>
> <br>
> <br>
> ----------------------------------------------------------------------<br>
> <br>
> Message: 1<br>
> Date: Wed, 13 Jul 2022 12:56:37 +0530<br>
> From: Lokesh Chakka <<a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>><br>
> To: David Marchand <<a href="mailto:david.marchand@redhat.com" target="_blank">david.marchand@redhat.com</a>><br>
> Cc: users <<a href="mailto:users@dpdk.org" target="_blank">users@dpdk.org</a>><br>
> Subject: Re: skeleton code failing<br>
> Message-ID:<br>
>         <CACh--sgKJ9B2=Nd-EUUx4D7Kz87-<br>
> <a href="mailto:Nm_pwq59fY9QVNH%2BGBgwRg@mail.gmail.com" target="_blank">Nm_pwq59fY9QVNH+GBgwRg@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
> <br>
> Dear David,<br>
> <br>
> following is some more stuff i did<br>
> ==================================================<br>
> $ sudo dpdk-devbind.py -b vfio-pci 83:00.0 $ sudo dpdk-devbind.py -b vfio-pci<br>
> 83:00.1 $ 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>
> ==================================================<br>
> ~/Desktop/dpdk_examples/skeleton$ gcc main.c -g `pkg-config --cflags libdpdk<br>
> --libs libdpdk` lokesh@lokesh-ProLiant-DL385-<br>
> 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 Port 0 MAC: bc 97<br>
> e1 ce 84 f0 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] ^C<br>
> ==================================================<br>
> After a few seconds, I presses ctrl+c<br>
> <br>
> surprisingly cards are not showing up even in ifconfig.<br>
> <br>
> <br>
> <br>
> Thanks & Regards<br>
> --<br>
> Lokesh Chakka.<br>
> <br>
> <br>
> On Wed, Jul 13, 2022 at 12:43 PM Lokesh Chakka <<br>
> <a href="mailto:lvenkatakumarchakka@gmail.com" target="_blank">lvenkatakumarchakka@gmail.com</a>> wrote:<br>
> <br>
> > Dear David,<br>
> ><br>
> > =================================================<br>
> > $ lspci | grep -i broadcom<br>
> > 83:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508<br>
> > NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11)<br>
> > 83:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57508<br>
> > NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet (rev 11) $ lspci<br>
> > -n -s 83:00.0<br>
> > 83:00.0 0200: 14e4:1750 (rev 11)<br>
> > =================================================<br>
> ><br>
> > I am compiling my code like this :<br>
> > =================================================<br>
> > gcc main.c `pkg-config --cflags libdpdk --libs libdpdk`<br>
> > =================================================<br>
> ><br>
> > Hence it is statically linked code.<br>
> > If I try<br>
> > $ dpdk-pmdinfo.py ./a.out<br>
> ><br>
> > But I am not seeing any output<br>
> ><br>
> ><br>
> ><br>
> > Thanks & Regards<br>
> > --<br>
> > Lokesh Chakka.<br>
> ><br>
> ><br>
> > On Wed, Jul 13, 2022 at 12:22 PM David Marchand<br>
> > <<a href="mailto:david.marchand@redhat.com" target="_blank">david.marchand@redhat.com</a>><br>
> > wrote:<br>
> ><br>
> >> 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<br>
> >> > this<br>
> >> 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.<br>
> >> 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<br>
> >> $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<br>
> >> 21.11 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] PMD NAME:<br>
> >> net_bnxt PMD HW SUPPORT:<br>
> >>  Broadcom Inc. and subsidiaries (14e4) : BCM5745X NetXtreme-E RDMA<br>
> >> Virtual Function (1606) (All Subdevices)  Broadcom Inc. and<br>
> >> subsidiaries (14e4) : BCM5745X NetXtreme-E Ethernet Virtual Function<br>
> >> (1609) (All Subdevices)  Broadcom Inc. and subsidiaries (14e4) :<br>
> >> BCM57454 NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb Ethernet (1614) (All<br>
> >> Subdevices)  Broadcom Inc. and subsidiaries (14e4) : NetXtreme-E RDMA<br>
> >> Virtual Function (16c1) (All Subdevices)  Broadcom Inc. and<br>
> >> subsidiaries (14e4) : NetXtreme-C Ethernet Virtual Function (16cb)<br>
> >> (All Subdevices) [snipped the rest]<br>
> >><br>
> >> I hope you can find a (XXXX) corresponding to your NIC.<br>
> >><br>
> >><br>
> >> --<br>
> >> David Marchand<br>
> >><br>
> >><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL:<br>
> <<a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmails.dp%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GiimqiLieVwujxLIiPTyBAxVLa3WL24fKBSnVccmeUo%3D&reserved=0" target="_blank">https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmails.dp</a><br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdk.org%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=p7tLWYu7vQDf%2Bpi%2FYxUPM1pu7HfWunI14n2XQqPAmAQ%3D&reserved=0" target="_blank">
dk.org</a>%2Farchives%2Fusers%2Fattachments%2F20220713%2Fa362f7fe%2Fatta<br>
> chment-<br>
> 0001.htm&amp;data=05%7C01%7Cvipin.varghese%<a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2F40amd.com%2F&data=05%7C01%7CVipin.Varghese%40amd.com%7C255e189a10194e84dab008da656a11ed%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637933803507082842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ddHB8XShDZ32JF2bDLRQKWc1ZGSYo%2BVFFj%2FS8fZI%2Fdw%3D&reserved=0" target="_blank">40amd.com</a>%7C55465d0d4f<br>
> aa4cd8496a08da64b674f4%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C<br>
> 0%7C637933032067208770%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjA<br>
> wMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C<br>
> %7C&amp;sdata=jXnaf1qrCA5VSCMyrPPc5S5WYsHveR1tNBL4lczkGVE%3D&am<br>
> p;reserved=0><br>
> <br>
> End of users Digest, Vol 347, Issue 6<br>
> *************************************<o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>