<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div dir="auto">Although inbox drivers come with a pre installed DPDK, you can manually download, compile, install, and work with whatever version you wish.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Let us know the results, and we'll continue from there.</div>
<div><br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">
<div>Regards,</div>
<div dir="auto">Asaf Penso</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Rocio Dominguez <rocio.dominguez@ericsson.com><br>
<b>Sent:</b> Monday, January 17, 2022 10:20:58 PM<br>
<b>To:</b> Asaf Penso <asafp@nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL) <thomas@monjalon.net><br>
<b>Cc:</b> users@dpdk.org <users@dpdk.org>; Matan Azrad <matan@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com><br>
<b>Subject:</b> RE: net_mlx5: unable to recognize master/representors on the multiple IB devices</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Asaf,<br>
<br>
Thanks for the prompt answer.<br>
<br>
I have checked that the latest 19.11 LTS is 19.11.11, but in OpenSUSE repositories the corresponding RPM package for SLES 15 SP2 is not available, the latest one is DPDK 19.11.10.<br>
<br>
I have installed it but the problem persists. It's probably solved in 19.11.11.<br>
<br>
There is a RPM package in SLES 15 SP3 for DPDK 20.11.3, which is LTS also, not sure if it could be a problem to install it in SLES 15 SP2. I will try it anyway.<br>
<br>
Also I will try to find other way to load the 19.11.11 in SLES 15 SP2 apart from using RPM or zipper, any suggestion is appreciated.<br>
<br>
Thanks,<br>
<br>
Rocío<br>
<br>
-----Original Message-----<br>
From: Asaf Penso <asafp@nvidia.com> <br>
Sent: Sunday, January 16, 2022 4:31 PM<br>
To: NBU-Contact-Thomas Monjalon (EXTERNAL) <thomas@monjalon.net>; Rocio Dominguez <rocio.dominguez@ericsson.com><br>
Cc: users@dpdk.org; Matan Azrad <matan@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com><br>
Subject: RE: net_mlx5: unable to recognize master/representors on the multiple IB devices<br>
<br>
Hello Rocio,<br>
IIRC, there was a fix in a recent stable version.<br>
Would you please try taking latest 19.11 LTS and tell whether you still see the issue?<br>
<br>
Regards,<br>
Asaf Penso<br>
<br>
>-----Original Message-----<br>
>From: Thomas Monjalon <thomas@monjalon.net><br>
>Sent: Sunday, January 16, 2022 3:24 PM<br>
>To: Rocio Dominguez <rocio.dominguez@ericsson.com><br>
>Cc: users@dpdk.org; Matan Azrad <matan@nvidia.com>; Slava Ovsiienko <br>
><viacheslavo@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com><br>
>Subject: Re: net_mlx5: unable to recognize master/representors on the <br>
>multiple IB devices<br>
><br>
>+Cc mlx5 experts<br>
><br>
><br>
>14/01/2022 11:10, Rocio Dominguez:<br>
>> Hi,<br>
>><br>
>> I'm doing a setup with Mellanox ConnectX-4 (MCX416A-CCA) NICs.<br>
>><br>
>> I'm using:<br>
>><br>
>> OS SLES 15 SP2<br>
>> DPDK 19.11.4 (the official supported version for SLES 15 SP2)<br>
>> MLNX_OFED_LINUX-5.5-1.0.3.2-sles15sp2-x86_64 (the latest one) <br>
>> Mellanox adapters firmware 12.28.2006 (corresponding to this <br>
>> MLNX_OFED version) kernel 5.3.18-24.34-default<br>
>><br>
>><br>
>> This is my SRIOV configuration for DPDK capable PCI slots:<br>
>><br>
>> {<br>
>> "resourceName": "mlnx_sriov_netdevice",<br>
>> "resourcePrefix": "mellanox.com",<br>
>> "isRdma": true,<br>
>> "selectors": {<br>
>> "vendors": ["15b3"],<br>
>> "devices": ["1014"],<br>
>> "drivers": ["mlx5_core"],<br>
>> "pciAddresses": ["0000:d8:00.2", "0000:d8:00.3", <br>
>> "0000:d8:00.4",<br>
>"0000:d8:00.5"],<br>
>> "isRdma": true<br>
>> }<br>
>><br>
>> The sriov device plugin starts without problems, the devices are <br>
>> correctly<br>
>allocated:<br>
>><br>
>> {<br>
>> "cpu": "92",<br>
>> "ephemeral-storage": "419533922385",<br>
>> "hugepages-1Gi": "8Gi",<br>
>> "hugepages-2Mi": "4Gi",<br>
>> "intel.com/intel_sriov_dpdk": "0",<br>
>> "intel.com/sriov_cre": "3",<br>
>> "mellanox.com/mlnx_sriov_netdevice": "4",<br>
>> "mellanox.com/sriov_dp": "0",<br>
>> "memory": "183870336Ki",<br>
>> "pods": "110"<br>
>> }<br>
>><br>
>> The Mellanox NICs are binded to the kernel driver mlx5_core:<br>
>><br>
>> pcgwpod009-c04:~ # dpdk-devbind --status<br>
>><br>
>> Network devices using kernel driver<br>
>> ===================================<br>
>> 0000:18:00.0 'Ethernet Controller 10G X550T 1563' if=em1 drv=ixgbe <br>
>> unused=vfio-pci<br>
>> 0000:18:00.1 'Ethernet Controller 10G X550T 1563' if=em2 drv=ixgbe <br>
>> unused=vfio-pci<br>
>> 0000:19:00.0 'Ethernet Controller 10G X550T 1563' if=em3 drv=ixgbe <br>
>> unused=vfio-pci<br>
>> 0000:19:00.1 'Ethernet Controller 10G X550T 1563' if=em4 drv=ixgbe <br>
>> unused=vfio-pci<br>
>> 0000:3b:00.0 'MT27700 Family [ConnectX-4] 1013' if=enp59s0f0 <br>
>> drv=mlx5_core unused=vfio-pci<br>
>> 0000:3b:00.1 'MT27700 Family [ConnectX-4] 1013' if=enp59s0f1 <br>
>> drv=mlx5_core unused=vfio-pci<br>
>> 0000:5e:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb'<br>
>> if=p3p1 drv=ixgbe unused=vfio-pci<br>
>> 0000:5e:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb'<br>
>> if=p3p2 drv=ixgbe unused=vfio-pci<br>
>> 0000:5e:10.0 '82599 Ethernet Controller Virtual Function 10ed' if= <br>
>> drv=ixgbevf unused=vfio-pci<br>
>> 0000:5e:10.2 '82599 Ethernet Controller Virtual Function 10ed'<br>
>> if=p3p1_1 drv=ixgbevf unused=vfio-pci<br>
>> 0000:5e:10.4 '82599 Ethernet Controller Virtual Function 10ed' if= <br>
>> drv=ixgbevf unused=vfio-pci<br>
>> 0000:5e:10.6 '82599 Ethernet Controller Virtual Function 10ed'<br>
>> if=p3p1_3 drv=ixgbevf unused=vfio-pci<br>
>> 0000:af:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb'<br>
>> if=p4p1 drv=ixgbe unused=vfio-pci<br>
>> 0000:af:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb'<br>
>> if=p4p2 drv=ixgbe unused=vfio-pci<br>
>> 0000:d8:00.0 'MT27700 Family [ConnectX-4] 1013' if=enp216s0f0 <br>
>> drv=mlx5_core unused=vfio-pci<br>
>> 0000:d8:00.1 'MT27700 Family [ConnectX-4] 1013' if=enp216s0f1 <br>
>> drv=mlx5_core unused=vfio-pci<br>
>> 0000:d8:00.2 'MT27700 Family [ConnectX-4 Virtual Function] 1014'<br>
>> if=enp216s0f2 drv=mlx5_core unused=vfio-pci<br>
>> 0000:d8:00.3 'MT27700 Family [ConnectX-4 Virtual Function] 1014'<br>
>> if=enp216s0f3 drv=mlx5_core unused=vfio-pci<br>
>> 0000:d8:00.4 'MT27700 Family [ConnectX-4 Virtual Function] 1014'<br>
>> if=enp216s0f4 drv=mlx5_core unused=vfio-pci<br>
>> 0000:d8:00.5 'MT27700 Family [ConnectX-4 Virtual Function] 1014'<br>
>> if=enp216s0f5 drv=mlx5_core unused=vfio-pci<br>
>><br>
>> The interfaces are up:<br>
>><br>
>> pcgwpod009-c04:~ # ibdev2netdev -v<br>
>> 0000:3b:00.0 mlx5_0 (MT4115 - MT1646K01301) CX416A - ConnectX-4<br>
>QSFP28<br>
>> fw 12.28.2006 port 1 (ACTIVE) ==> enp59s0f0 (Up)<br>
>> 0000:3b:00.1 mlx5_1 (MT4115 - MT1646K01301) CX416A - ConnectX-4<br>
>QSFP28<br>
>> fw 12.28.2006 port 1 (ACTIVE) ==> enp59s0f1 (Up)<br>
>> 0000:d8:00.0 mlx5_2 (MT4115 - MT1646K00538) CX416A - ConnectX-4<br>
>QSFP28<br>
>> fw 12.28.2006 port 1 (ACTIVE) ==> enp216s0f0 (Up)<br>
>> 0000:d8:00.1 mlx5_3 (MT4115 - MT1646K00538) CX416A - ConnectX-4<br>
>QSFP28<br>
>> fw 12.28.2006 port 1 (ACTIVE) ==> enp216s0f1 (Up)<br>
>> 0000:d8:00.2 mlx5_4 (MT4116 - NA) fw 12.28.2006 port 1 (ACTIVE) ==><br>
>> enp216s0f2 (Up)<br>
>> 0000:d8:00.3 mlx5_5 (MT4116 - NA) fw 12.28.2006 port 1 (ACTIVE) ==><br>
>> enp216s0f3 (Up)<br>
>> 0000:d8:00.4 mlx5_6 (MT4116 - NA) fw 12.28.2006 port 1 (ACTIVE) ==><br>
>> enp216s0f4 (Up)<br>
>> 0000:d8:00.5 mlx5_7 (MT4116 - NA) fw 12.28.2006 port 1 (ACTIVE) ==><br>
>> enp216s0f5 (Up) pcgwpod009-c04:~ #<br>
>><br>
>><br>
>> But when I run my application the Mellanox adapters are probed and I<br>
>obtain the following error:<br>
>><br>
>> {"proc_id":"6"},"message":"[pio] EAL: Probe PCI driver: mlx5_pci<br>
>> (15b3:1014) device: 0000:d8:00.4 (socket 1)"} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.826+00:00","sever<br>
>> i<br>
>> ty":"info","service_id":"eric-pc-up-data-plane","metadata":{"proc_id":<br>
>> "6"},"message":"[pio] net_mlx5: unable to recognize <br>
>> master/representors on the multiple IB devices"} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.826+00:00","sever<br>
>> i<br>
>> ty":"info","service_id":"eric-pc-up-data-plane","metadata":{"proc_id":<br>
>> "6"},"message":"[pio] common_mlx5: Failed to load driver = <br>
>> net_mlx5."} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.826+00:00","sever<br>
>> i<br>
>> ty":"info","service_id":"eric-pc-up-data-plane","metadata":{"proc_id":<br>
>> "6"},"message":"[pio] EAL: Requested device 0000:d8:00.4 cannot be <br>
>> used"} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.826+00:00","sever<br>
>> i<br>
>> ty":"info","service_id":"eric-pc-up-data-plane","metadata":{"proc_id":<br>
>> "6"},"message":"[pio] EAL: Bus (pci) probe failed."} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.890+00:00","sever<br>
>> i<br>
>> ty":"info","service_id":"eric-pc-up-data-plane","metadata":{"proc_id":<br>
>> "6"},"message":"[pio] USER1: ports init fail in DPDK, expect 1 ports, <br>
>> actual 0 ports."} <br>
>> {"version":"0.2.0","timestamp":"2022-01-14T09:51:39.890+00:00","sever<br>
>> i <br>
>> ty":"error","service_id":"eric-pc-up-data-plane","metadata":{"proc_id"<br>
>> :"6"},"message":"[pktio_libpio_init] No network ports could be <br>
>> enabled!"}<br>
>><br>
>> Could you please help me with this issue?<br>
>><br>
>><br>
>> Thanks,<br>
>><br>
>> Rocío<br>
>><br>
><br>
><br>
><br>
><br>
</div>
</span></font></div>
</body>
</html>