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 6912845BCD for ; Wed, 30 Oct 2024 06:19:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5A2542FB9; Wed, 30 Oct 2024 06:19:45 +0100 (CET) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 7E79B42EC5 for ; Wed, 30 Oct 2024 06:19:44 +0100 (CET) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-539983beb19so7345599e87.3 for ; Tue, 29 Oct 2024 22:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730265582; x=1730870382; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=aAQCHFXmnUyDM8BmDPsGI2tJh0xhsIRhir5KPgYjaTI=; b=S0mAXEYOdU6AnyijnhrMmE1BYH4ft86NN3y7zJQfXQnT72Nw6CWI1JJlGNz2iIwf3r 3eoQ2iqMbgF7XsNovq9dUCAZZACCF6MrA8mENnJyQ+SAQPfhwNswjSMG+v+svWsQSLs+ KYdnP5VqDgIUY4gnZy4/xpaKalWdeIK0YqQEVJ0RhHEEQVXddKI7njQtV50QiFzUUILo FTX1lZ/u8XdQR6NgoIp1KACTTMaboO3V93/bIYj/SuGVuHqERc1lhpuUtn2ffST1dytz +tIwibYeGjcLd6nAWWWx3DYqa/wEhLgbSisw/CprZX4muzdC7D915OjD97EO84PfzGMb kwNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730265582; x=1730870382; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aAQCHFXmnUyDM8BmDPsGI2tJh0xhsIRhir5KPgYjaTI=; b=USqbiseeVt0XpPAH5fDth+uOMiHMvL/TxQJAYyHNf83wITNtGMycWGiv0fSqYg54F+ xu/+3vQkILh91wmg12Hs83WBbTTF52m7l6YAd8RSriAx3v57imNpWkKU6wYSEvlxgeVY 6Evo/jsmpdw28AA+xSPqC2MKWcXBgHK1LXJ4Dn8Y2LM//gEqSJ5D3+e8TxqLknLqp3Rl fZjDq08ATk6q1BSmMMLncfwiiveHvdRZCi46/e1c5Lv0D0eAHqPDU7AWWfNIN6kSbSfL CxJf6KnsICYScROKD9fJa44+LzY/JBeUJfGgSXkgG7CdIP0sXL+zJLiYbbMUze6fwGmH qXHg== X-Gm-Message-State: AOJu0Ywli3EyPpWRiwl1Cpm+NhF/e3hbwf0emueqKWaObKS1Hd+m2jVk AOHw3/jkAEC0CfPHgx+IoAItIpsuruF3QOiQqITOQRNmMPydGGqLYg5CB4oAGSFM048cPU5rGvB YgrrsGwcdBy7ea6jUjfczlhsz2ictaK9/ X-Google-Smtp-Source: AGHT+IEWvArNIrqRVPR2q/Oy8sUc2ahLqwk/udkX6bbZnU2aBDqyEQU3ByhKGyso/0p94lQW/5dUYL+/XjDJJFlNwLE= X-Received: by 2002:a05:6512:3b08:b0:539:896e:46c9 with SMTP id 2adb3069b0e04-53b3490f24fmr6692298e87.45.1730265582249; Tue, 29 Oct 2024 22:19:42 -0700 (PDT) MIME-Version: 1.0 From: Baptiste Wicht Date: Wed, 30 Oct 2024 06:19:33 +0100 Message-ID: Subject: net/bnxt: message timeout with optimization level 2 To: users@dpdk.org Content-Type: multipart/alternative; boundary="00000000000065b4c50625aad9fa" 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 --00000000000065b4c50625aad9fa Content-Type: text/plain; charset="UTF-8" Hi, We are testing BNXT PMD with a P2100G on FreeBSD and are having issues depending on how we compile DPDK. We compile from sources. When using optimization level g or 1, everything works. However, as soon as we use the default optimization level or the level 2, we get errors and we cannot get the PMD to load for this device. We have tested 23.11 and 24.07 and see the same issues with both. Looking into the debugger, not all messages fail. The first one to fail is the one for the backing store cfg. Here are the logs we get with optimization level 2: ERROR: bnxt_hwrm_send_message(): Error(timeout) sending msg 0x0193, seq_id 8 ERROR: bnxt_hwrm_func_backing_store_cfg(): failed rc:-60 ERROR: bnxt_alloc_ctx_mem(): Failed to configure context mem: rc = -60 ERROR: ETHDEV: ethdev initialisation failed ERROR: PCI_BUS: Requested device 0000:c1:00.0 cannot be used We are using firmware 231.0.162.1 Does that ring a bell? Thanks Baptiste Wicht --00000000000065b4c50625aad9fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

We are testing BNXT PMD with a P2100G on FreeBSD and are hav= ing issues depending on how we compile DPDK. We compile from sources. When = using optimization level g or 1, everything works. However, as soon as we u= se the default optimization level or the level 2, we get errors and we cann= ot get the PMD to load for this device.

We have tested 23.11 and 24.07 and see the same issues with= both.

Looking into the = debugger, not all messages fail. The first one to fail is the one for the b= acking store cfg.

Here a= re the logs we get with optimization level 2:

ERROR: bnxt_hwrm_send_message(): Error(timeout) sendi= ng msg 0x0193, seq_id 8
ERROR: bnxt_hwrm_func_backin= g_store_cfg(): failed rc:-60
ERROR: bnxt_alloc_ctx_m= em(): Failed to configure context mem: rc =3D -60
ER= ROR: ETHDEV: ethdev initialisation failed
ERROR: PCI= _BUS: Requested device 0000:c1:00.0 cannot be used
<= br>
We are using firmware 231.0.162.1

Does that ring a bell?

Thanks

Baptiste Wicht
--00000000000065b4c50625aad9fa--