DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thierry Herbelot <thierry.herbelot@6wind.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: Somnath Kotur <somnath.kotur@broadcom.com>,
	Ajit Khaparde <ajit.khaparde@broadcom.com>
Subject: [DPDK/bnxt] Issues starting bnxt on an Arm server
Date: Wed, 2 Mar 2022 15:51:06 +0100	[thread overview]
Message-ID: <e2e9dbb3-87ad-c8bb-1de8-78258c33bedf@6wind.com> (raw)

Hello,

I would like to start testpmd with bnxt ports, when running on an Arm 
server.

This is the log at startup (with testpmd from DPDK v20.11.4):

dpdk-devbind.py -b vfio-pci 03:00.0
dpdk-devbind.py -b vfio-pci 03:00.1

dpdk-testpmd -l 1,3,5 --main-lcore 1
EAL: Detected 48 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-16777216kB
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:03:00.0 (socket 0)
bnxt_hwrm_send_message(): Error(timeout) sending msg 0x0000, seq_id 0
bnxt_hwrm_ver_get(): failed rc:-110
ethdev initialisation failed
EAL: Releasing pci mapped resource for 0000:03:00.0
EAL: Calling pci_unmap_resource for 0000:03:00.0 at 0x4180000000
EAL: Calling pci_unmap_resource for 0000:03:00.0 at 0x4180010000
EAL: Requested device 0000:03:00.0 cannot be used
EAL:   using IOMMU type 8 (No-IOMMU)
EAL: Probe PCI driver: net_bnxt (14e4:1750) device: 0000:03:00.1 (socket 0)
bnxt_hwrm_send_message(): Error(timeout) sending msg 0x0000, seq_id 0
bnxt_hwrm_ver_get(): failed rc:-110
ethdev initialisation failed
EAL: Releasing pci mapped resource for 0000:03:00.1
EAL: Calling pci_unmap_resource for 0000:03:00.1 at 0x4180110000
EAL: Calling pci_unmap_resource for 0000:03:00.1 at 0x4180120000
EAL: Requested device 0000:03:00.1 cannot be used

The server is running Redhat-8 with the following kernel:
4.18.0-348.7.1.el8_5.aarch64 #1 SMP Wed Dec 8 21:35:15 EST 2021

As the IOMMU on this server is not working, the kernel is started with 
the following option:
vfio.enable_unsafe_noiommu_mode=1

A similar testpmd log is obtained with DPDK v21.11.0.


Is this a know issue ?

	Thanks

	Thierry Herbelot

PS: a similar error is seen for the Ethernet ports, when handled by the 
kernel:
dmesg|grep bnxt
[   57.823746] bnxt_en 0000:03:00.0 (unnamed net_device) 
(uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
[   59.202255] bnxt_en: probe of 0000:03:00.0 failed with error -16
[   60.641519] bnxt_en 0000:03:00.1 (unnamed net_device) 
(uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
[   61.502237] bnxt_en: probe of 0000:03:00.1 failed with error -16


-- 
Thierry Herbelot
Senior Software Engineer
Tel: +33 1 39 30 92 61
http://www.6wind.com/

Follow us:
https://www.linkedin.com/company/6wind/
https://twitter.com/6WINDsoftware
https://www.youtube.com/user/6windsoftware

             reply	other threads:[~2022-03-02 14:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 14:51 Thierry Herbelot [this message]
2022-03-02 15:08 ` Ajit Khaparde
2022-03-02 15:13   ` Thierry Herbelot
2022-03-02 17:13     ` Ajit Khaparde
2022-03-02 17:16       ` Thierry Herbelot
2022-03-02 17:26         ` Ajit Khaparde
2022-03-02 17:28           ` Thierry Herbelot
2022-03-03 21:12             ` Ajit Khaparde
2022-03-04  0:56               ` Honnappa Nagarahalli
2022-03-08  8:19                 ` Thierry Herbelot
2022-03-08 17:13                   ` Ajit Khaparde
2022-03-02 15:16 ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2e9dbb3-87ad-c8bb-1de8-78258c33bedf@6wind.com \
    --to=thierry.herbelot@6wind.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.org \
    --cc=somnath.kotur@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).