<div dir="auto">I would suggest re-installation of MELLANOX OFED, and/or upgrading NIC firmware (can be done using OFED tools).</div><div dir="auto"><br></div><div dir="auto">Yes, warning on only 1 port is odd. I suspect some kind of mismatch, like older version of the NIC had only 1 port versions and the soft assumed it, for example.</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2024年11月14日(木) 5:43 CJ Sculti <<a href="mailto:cj@cj.gy">cj@cj.gy</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr">I'm not using vfio, I just bound interfaces on there one time to test. Shouldn't I be able to just use the default mlx5_core driver, without binding to uio_pci_generic?</div><div style="outline:currentcolor;padding:10px 0px;width:22px;margin:2px 0px 0px"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 13, 2024 at 4:26 PM Thomas Monjalon <<a href="mailto:thomas@monjalon.net" target="_blank">thomas@monjalon.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">13/11/2024 21:10, CJ Sculti:<br>
> I've been running my application for years on igb_uio with Intel NICs. I<br>
> recently replaced them with a Mellanox ConnectX-5 2x 40gbps NIC, updated<br>
> the DPDK version my application uses, and compiled with support for mlx5<br>
> PMDs. Both 40Gbps ports are up with link, and both are in Ethernet mode,<br>
> not Infiniband mode. However, I'm getting complaints when I start my<br>
> application about trying to load 'mlx5_eth'? Both are bound to mlx5_core<br>
> driver at the moment. When I bind them to vfio-pci, or uio_pci_generic, my<br>
> application fails to recognize them at all as valid DPDK devices. Anyone<br>
> have any ideas? Also, strange that it only complains about one? I have them<br>
> configured in a bond on the kernel, as my application requires that.<br>
<br>
You must not bind mlx5 devices with VFIO.<br>
I recommend reading documentation.<br>
You can start here:<br>
<a href="https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#bifurcated-driver" rel="noreferrer" target="_blank">https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#bifurcated-driver</a><br>
then<br>
<a href="https://doc.dpdk.org/guides/platform/mlx5.html#design" rel="noreferrer" target="_blank">https://doc.dpdk.org/guides/platform/mlx5.html#design</a><br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div></div>