From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D927CA0351 for ; Sun, 16 Jan 2022 12:08:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 879BD40E50; Sun, 16 Jan 2022 12:08:48 +0100 (CET) Received: from server907.appriver.com (server907a.appriver.com [204.232.250.39]) by mails.dpdk.org (Postfix) with ESMTP id 6421540040 for ; Wed, 12 Jan 2022 14:28:47 +0100 (CET) X-Note: This Email was scanned by AppRiver SecureTide X-Note-AR-ScanTimeLocal: 01/12/2022 8:28:46 AM X-Note: SecureTide Build: 1/5/2022 5:30:20 PM UTC (2.19.15.0) X-Note: Filtered by 10.246.1.77 X-Note-AR-Scan: None - PIPE Received: by server907.appriver.com (CommuniGate Pro PIPE 6.2.15) with PIPE id 190322419; Wed, 12 Jan 2022 08:28:46 -0500 Received: from [10.246.0.39] (HELO smtp.us.exg7.exghost.com) by server907.appriver.com (CommuniGate Pro SMTP 6.2.15) with ESMTPS id 190322409 for users@dpdk.org; Wed, 12 Jan 2022 08:28:45 -0500 Received: from E16DN38B-S1E7.exg7.exghost.local (192.168.244.51) by E16DN68A-S1E7.exg7.exghost.local (192.168.245.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.17; Wed, 12 Jan 2022 08:28:10 -0500 Received: from E16DN38B-S1E7.exg7.exghost.local ([192.168.244.51]) by E16DN38B-S1E7.exg7.exghost.local ([192.168.244.51]) with mapi id 15.01.2375.017; Wed, 12 Jan 2022 08:28:10 -0500 From: Sindhura Bandi To: "users@dpdk.org" CC: Venugopal Thacahappilly Subject: Trouble bringing up dpdk testpmd with Mellanox ports Thread-Topic: Trouble bringing up dpdk testpmd with Mellanox ports Thread-Index: AQHYB6LXoVgEN7vKZEqg/LWWeCrUKw== Date: Wed, 12 Jan 2022 13:28:10 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [27.59.186.244] x-rerouted-by-exchange: MIME-Version: 1.0 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_adb4154394c94a549fc294fda3db9593certesnetworkscom_" X-Note: This Email was scanned by AppRiver SecureTide X-Note-AR-ScanTimeLocal: 01/12/2022 8:28:45 AM X-Note: SecureTide Build: 1/5/2022 5:30:20 PM UTC (2.19.15.0) X-Note: Filtered by 10.246.1.77 X-Policy: certesnetworks.com X-Primary: certesnetworks.com@certesnetworks.com X-Note-Sender: sindhura.bandi@certesnetworks.com X-Note-Envelope-Recip: FAILURE,DELAY, X-Virus-Scan: V- X-Note-SnifferID: 0 X-GBUdb-Analysis: 1, 192.168.244.51, Ugly c=0.655534 p=-0.944732 Source White X-Signature-Violations: 0-0-0-17204-c X-Note-419: 0 ms. Fail:0 Chk:1434 of 1434 total X-Note: VSCH-CT/SI: 0-1434/SG:1 1/12/2022 8:28:16 AM X-Note: Spam Tests Failed: X-Country-Path: India->PRIVATE->PRIVATE-> X-Note-Sending-IP: 10.246.0.39 X-Note-Reverse-DNS: X-Note-Return-Path: sindhura.bandi@certesnetworks.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G914 G916 G917 G918 G919 G937 G938 G939 G1382 X-Note: Encrypt Rule Hits: X-Note: Mail Class: VALID X-Mailman-Approved-At: Sun, 16 Jan 2022 12:08:47 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_adb4154394c94a549fc294fda3db9593certesnetworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to bring up dpdk-testpmd application using Mellanox connectX-5 p= orts. With a custom built dpdk, testpmd is not able to detect the ports. OS & Kernel: Linux debian-10 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_6= 4 GNU/Linux The steps followed: * Installed MLNX_OFED_LINUX-4.9-4.0.8.0-debian10.0-x86_64 (./mlnxofedin= stall --skip-distro-check --upstream-libs --dpdk) * Downloaded dpdk-18.11 source, and built it after making following cha= nges in config CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=3Dy CONFIG_RTE_BUILD_SHARED_LIB=3Dy * When I run testpmd, it is not recognizing any Mellanox ports ######### root@debian-10:~/dpdk-18.11/myinstall# ./bin/testpmd -l 1-3 -w 82:00.0 --n= o-pci -- --total-num-mbufs 1025 EAL: Detected 24 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... testpmd: No probed ethernet devices testpmd: create a new mbuf pool : n=3D1025, size=3D2176= , socket=3D0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool : n=3D1025, size=3D2176= , socket=3D1 testpmd: preferred mempool ops selected: ring_mp_mc Done No commandline core given, start packet forwarding io packet forwarding - ports=3D0 - cores=3D0 - streams=3D0 - NUMA support e= nabled, MP allocation mode: native io packet forwarding packets/burst=3D32 nb forwarding cores=3D1 - nb forwarding ports=3D0 Press enter to exit ########## root@debian-10:~# lspci | grep Mellanox 82:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex] 82:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex] root@debian-10:~# ibv_devinfo hca_id: mlx5_0 transport: InfiniBand (0) fw_ver: 16.28.4512 node_guid: b8ce:f603:00f2:7952 sys_image_guid: b8ce:f603:00f2:7952 vendor_id: 0x02c9 vendor_part_id: 4121 hw_ver: 0x0 board_id: DEL0000000004 phys_port_cnt: 1 port: 1 state: PORT_ACTIVE (4) max_mtu: 4096 (5) active_mtu: 1024 (3) sm_lid: 0 port_lid: 0 port_lmc: 0x00 link_layer: Ethernet hca_id: mlx5_1 transport: InfiniBand (0) fw_ver: 16.28.4512 node_guid: b8ce:f603:00f2:7953 sys_image_guid: b8ce:f603:00f2:7952 vendor_id: 0x02c9 vendor_part_id: 4121 hw_ver: 0x0 board_id: DEL0000000004 phys_port_cnt: 1 port: 1 state: PORT_ACTIVE (4) max_mtu: 4096 (5) active_mtu: 1024 (3) sm_lid: 0 port_lid: 0 port_lmc: 0x00 link_layer: Ethernet I'm not sure where I'm going wrong. Any hints will be much appreciated. Thanks, Sindhu --_000_adb4154394c94a549fc294fda3db9593certesnetworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,


I'm trying to bring up dpdk-testpmd application using Mellanox connectX-= 5 ports. With a custom built dpdk, testpmd is not able to detect the ports.


OS & Kernel:

Linux debian-10 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) = x86_64 GNU/Linux

The steps followed:
  • Installed MLNX_OFED_LINUX-4.9-4.0.8.0-debian10.0-x86_64 (<= span>./mlnxofedinstall --skip-distro-check --upstream-libs --dpdk)
  • Downloaded dpdk-18.11 source, and built it after making following ch= anges in config
           CONFIG_RT= E_LIBRTE_MLX5_PMD=3Dy
           CONFIG_RTE_TES= T_PMD_RECORD_CORE_CYCLES=3Dy
           CONFIG_RTE_BUI= LD_SHARED_LIB=3Dy
  • When I run testpmd, it is not recognizing any Mellanox ports 
 
#########
root@debian-10:~/dpdk-18.11/myinstall# ./bin/testpmd -l 1-3  -w 8= 2:00.0 --no-pci -- --total-num-mbufs 1025
EAL: Detected 24 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
testpmd: No probed ethernet devices
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=3D1025, size= =3D2176, socket=3D0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=3D1025, size= =3D2176, socket=3D1
testpmd: preferred mempool ops selected: ring_mp_mc
Done
No commandline core given, start packet forwarding
io packet forwarding - ports=3D0 - cores=3D0 - streams=3D0 - NUMA support e= nabled, MP allocation mode: native

  io packet forwarding packets/burst=3D32
  nb forwarding cores=3D1 - nb forwarding ports=3D0
Press enter to exit
##########

root@debian-10:~# lspci | grep Mellanox
82:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex]
82:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX= -5 Ex]
root@debian-10:~# ibv_devinfo
hca_id:    mlx5_0
    transport:         &n= bsp;  InfiniBand (0)
    fw_ver:          = ;      16.28.4512
    node_guid:         &n= bsp;  b8ce:f603:00f2:7952
    sys_image_guid:        &nb= sp;   b8ce:f603:00f2:7952
    vendor_id:         &n= bsp;  0x02c9
    vendor_part_id:        &nb= sp;   4121
    hw_ver:          = ;      0x0
    board_id:         &nb= sp;  DEL0000000004
    phys_port_cnt:        &nbs= p;   1
        port:    1
            state:  =          PORT_ACTIVE (4)
            max_mtu: &nbs= p;      4096 (5)
            active_mtu: &= nbsp;      1024 (3)
            sm_lid:  = ;          0
            port_lid: &nb= sp;      0
            port_lmc: &nb= sp;      0x00
            link_layer: &= nbsp;      Ethernet

hca_id:    mlx5_1
    transport:         &n= bsp;  InfiniBand (0)
    fw_ver:          = ;      16.28.4512
    node_guid:         &n= bsp;  b8ce:f603:00f2:7953
    sys_image_guid:        &nb= sp;   b8ce:f603:00f2:7952
    vendor_id:         &n= bsp;  0x02c9
    vendor_part_id:        &nb= sp;   4121
    hw_ver:          = ;      0x0
    board_id:         &nb= sp;  DEL0000000004
    phys_port_cnt:        &nbs= p;   1
        port:    1
            state:  =          PORT_ACTIVE (4)
            max_mtu: &nbs= p;      4096 (5)
            active_mtu: &= nbsp;      1024 (3)
            sm_lid:  = ;          0
            port_lid: &nb= sp;      0
            port_lmc: &nb= sp;      0x00
            link_layer: &= nbsp;      Ethernet


I'm not sure where I'm going wrong. Any hints will be much appreciated.

Thanks,
Sindhu

--_000_adb4154394c94a549fc294fda3db9593certesnetworkscom_--