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 F3FA042ADF; Fri, 12 May 2023 09:54:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A32942686; Fri, 12 May 2023 09:54:04 +0200 (CEST) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mails.dpdk.org (Postfix) with ESMTP id 01A58406B7 for ; Fri, 12 May 2023 09:54:03 +0200 (CEST) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-94a342f7c4cso1721951066b.0 for ; Fri, 12 May 2023 00:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683878043; x=1686470043; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=mAhlTzZ5D00zP7UXpYiO8rKpiNkZn1st9Lp4PK59mWQ=; b=BRXXYAPzVmvsWL2YH4dwy7Rh5zpr+7ZJXb8PnNzl7aBWkiYIc30Vbhk3n0JwkumkVe nand6wjeXrB1OpYJas/RylfB9dBgE5inpEC69hVSkOXS/enKviaAgxnoBB4AIH9VE1j3 /k3repi8fK8kQ0O4a2z3+qOnBGSZ5URmLu+ECJeJA60+I0iMgJrknzXdMk2HNn5SGSiY 7OJB0isWLJZnOa/3kzrXZBbfffan9Bf0X9y1Xfhd/ANMBkwjqPdr7xMLyRb+JemVnSRJ cTR0mYEZwlM8sTlTh8uwTrGXuUzjFMd6BQnkJr0+O89e5XFoiEuz6AfxJ5MWg41RpzyM DsoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683878043; x=1686470043; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mAhlTzZ5D00zP7UXpYiO8rKpiNkZn1st9Lp4PK59mWQ=; b=FtHO5ttufM4D5PRG8tZ/neKli4wFET7jfF8+3WSJeCos+O87k/YAd5wP0ThdzNUfv5 a0KFVITP5ELaZrIMLaeVY97S1TvjJSAW1TB7WxIGZG83MCB6B1xHo1/3qb/az1FuhLqs 5UymcO8OKHKAlSD8Xd5BR1Aw2A4vbu5a0JwpdY5zFPNMbiV7rv01hnbQARIeZBZ/+msM If5SZnUER7CmoJalmadBqKtqOtJOyONcA0a1pP84jwIKm5RXF5aVj2dytb4vjMQk2cvT UlFmmo2q43SMiu8jvmf8Xx4xTHhrTQ+OwjZpT+g16Bu2/u5we86TnLhr8/gEZRH9BfeT H5LA== X-Gm-Message-State: AC+VfDxQ0XI2evSxf0RBXqG0nXChwrK67r2f+KgsINCjjeeT/U3Mmtmd q8fLe4M7nZNTfJkuU6EhHP5iIwnaJMmvfxrcyyJjJrx+ X-Google-Smtp-Source: ACHHUZ4/qhS2EgnwLd7awZ5gQxeWcdPHbfSjsI2tbHGDPdLbnKPvi2Prb9/AM34QPC0lhg90+5wt5UPCVz4YBTtX9CQ= X-Received: by 2002:a17:907:9281:b0:960:ddba:e5c5 with SMTP id bw1-20020a170907928100b00960ddbae5c5mr24889698ejc.11.1683878043036; Fri, 12 May 2023 00:54:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: chetan bhasin Date: Fri, 12 May 2023 13:23:45 +0530 Message-ID: Subject: Photon OS + MLX not coming up To: dev@dpdk.org Content-Type: multipart/alternative; boundary="00000000000099cad605fb7a6842" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --00000000000099cad605fb7a6842 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, We are using DPDK version =E2=80=9C*21.02*=E2=80=9D and facing issue while = doing port start of MLX (ConnectX-4 Lx Virtual Function) *0000:0b:00.0 'MT27710 Family [ConnectX-4 Lx Virtual Function]* 1016' if=3Deth2 drv=3Dmlx5_core unused=3D *Photon kernel version* - 4.19.277-3.ph3 *Firmware version =E2=80=93 * ]# ethtool -i eth2 driver: mlx5_core version: 5.0-0 firmware-version: 14.26.1040 (HP_2690110034) expansion-rom-version: bus-info: 0000:0b:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: no supports-priv-flags: yes *modinfo mlx5_core * filename: /lib/modules/4.19.277-3.ph3/kernel/drivers/net/ethernet/mellanox/mlx5/core/= mlx5_core.ko.xz version: 5.0-0 license: Dual BSD/GPL description: Mellanox 5th generation network adapters (ConnectX series) core driver author: Eli Cohen eli@mellanox.com srcversion: 981FA6D58D2B017B197F177 We are seeing following errors in dpdk when we start the port 2023/05/12 06:00:57:497 notice dpdk EAL: Couldn't map new region for DMA 2023/05/12 06:01:29:966 error dpdk Interface TwentyFiveGigabitEthernetb/0/0 error -12: Unknown error -12 2023/05/12 06:01:29:966 error interface sw_set_flags_helper: dpdk_interface_admin_up_down: Interface start failed 2023/05/12 06:01:29:966 notice dpdk common_mlx5: Unable to find virtually contiguous chunk for address (0x1000000000). rte_memseg_contig_walk() failed. 2023/05/12 06:01:29:966 notice dpdk mlx5_pci: Failed to init cache list NIC_ingress_0_matcher_cache entry (nil). 2023/05/12 06:01:29:966 notice dpdk mlx5_pci: port 0 failed to set defaults flows --00000000000099cad605fb7a6842 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

=C2=A0

We are using DPDK version =E2=80=9C21.02=E2= =80=9D and facing issue while doing port start of MLX (ConnectX-4 Lx Virtua= l Function)

=C2=A0

0000:0b:00.0 'MT27710 Family [ConnectX-4 Lx V= irtual Function] 1016' if=3Deth2 drv=3Dmlx5_core unused=3D

=C2=A0

Photon kernel version - 4.19.277-3.ph3=

=C2=A0

Firmware version =E2=80=93

]# ethtool -i eth2

driver: mlx5_core

version: 5.0-0

firmware-version: 14.26.1040 (HP_2690110034)<= u>

expansion-rom-version:

bus-info: 0000:0b:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: no

supports-register-dump: no

supports-priv-flags: yes

=C2=A0

modinfo mlx5_core

filename:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /lib/m= odules/4.19.277-3.ph3/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_c= ore.ko.xz

version:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 5= .0-0

license:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 D= ual BSD/GPL

description:=C2=A0=C2=A0=C2=A0 Mellanox 5th generati= on network adapters (ConnectX series) core driver

author:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 Eli Cohen eli@mellanox.com

srcversion:=C2=A0=C2=A0=C2=A0=C2=A0 981FA6D58D2B017B= 197F177

=C2=A0

We are seeing following errors in dpdk when we start= the port

=C2=A0

2023/05/12 06:00:5= 7:497 notice=C2=A0=C2=A0=C2=A0=C2=A0 dpdk=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 EAL: Couldn't map new region for DMA=

2023/05/12 06:01:2= 9:966 error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dpdk=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Interface TwentyFiveGigabitEthernetb/0/0 = error -12: Unknown error -12

2023/05/12 06:01:2= 9:966 error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 interface=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 sw_set_flags_helper: dpdk_interface_admin_up_down: Interface start f= ailed

2023/05/12 06:01:2= 9:966 notice=C2=A0=C2=A0=C2=A0=C2=A0 dpdk=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 common_mlx5: Unable to find virtually contiguou= s chunk for address (0x1000000000). rte_memseg_contig_walk() failed.=

2023/05/12 06:01:2= 9:966 notice=C2=A0=C2=A0=C2=A0=C2=A0 dpdk=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 mlx5_pci: Failed to init cache list NIC_ingress= _0_matcher_cache entry (nil).

2023/05/12 06:01:2= 9:966 notice=C2=A0=C2=A0=C2=A0=C2=A0 dpdk=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 mlx5_pci: port 0 failed to set defaults flows

--00000000000099cad605fb7a6842--