Skip to contentSkip to conversation

Issues starting bnxt on an Arm server

DPDK/bnxt Thierry Herbelot 4 participants 12 messages Mar 2, 2022 – Mar 8, 2022

lore
Share & tools
lore
#0 lore 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
Signature · 9 lines
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
#1 lore raw
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

#2 lore raw

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

Signature · 9 lines
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
#11 lore raw
In reply to Thierry Herbelot
Quoted 9 lines · Thierry Herbelot

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)

Quoted 9 lines

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

Maybe the same as:
http://inbox.dpdk.org/dev/CAJFAV8yezCJ==az6h0k9Wztiia-azs19Ydr9cGjnd+5TYjGOXQ@mail.gmail.com/T/#u

Signature · 1 line
David Marchand
#3 lore raw
In reply to Thierry Herbelot
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

#4 lore raw

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0 bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 61 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

Signature · 9 lines
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
#5 lore raw
Quoted 5 lines · Thierry Herbelot

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

Quoted 87 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 61 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

--
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

#6 lore raw
Quoted 5 lines · Ajit Khaparde
Quoted 3 lines · Thierry Herbelot

Hello Ajit

Quoted 7 lines
Quoted 2 lines

The card is not correctly probed by the kernel, and so the FW version is not visible.

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

This a Huawei server:
TaiShan 200 Server (Model 2180) aarch64, 48 cores, 2.6GHz, 64GB RAM

Thierry

Quoted 89 lines
Quoted 89 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 61 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

--
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

Signature · 9 lines
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
#7 lore raw
Quoted 9 lines · Thierry Herbelot
Quoted 7 lines · Ajit Khaparde
Quoted 5 lines · Thierry Herbelot

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

Quoted 8 lines
Quoted 5 lines

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

This a Huawei server:
TaiShan 200 Server (Model 2180) aarch64, 48 cores, 2.6GHz, 64GB RAM

Ok. I tried this on a HUAWEI Kunpeng 920 running 4.18.0-348.2.1.el8_5.aarch64. I can load the bnxt_en kernel driver and the DPDK PMD without issues. And I did load vfio with enable_unsafe_noiommu_mode=1 .

While we are pursuing this further internally,
I have added Honnappa to see if he can provide any insight.

Ajit

Quoted 103 lines

Thierry

Quoted 85 lines
Quoted 85 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 61 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

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

Quoted 4 lines
Quoted 4 lines

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

--
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

#8 lore raw

+ Ruifeng

<snip>

Quoted 21 lines
Quoted 9 lines · Thierry Herbelot
Quoted 7 lines · Ajit Khaparde
Quoted 5 lines · Thierry Herbelot

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

Quoted 8 lines
Quoted 5 lines

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

This a Huawei server:
TaiShan 200 Server (Model 2180) aarch64, 48 cores, 2.6GHz, 64GB RAM

Quoted 7 lines

Ok. I tried this on a HUAWEI Kunpeng 920 running 4.18.0- 348.2.1.el8_5.aarch64.
I can load the bnxt_en kernel driver and the DPDK PMD without issues. And I did load vfio with enable_unsafe_noiommu_mode=1 .

While we are pursuing this further internally,
I have added Honnappa to see if he can provide any insight.

There is not much information on the error.
Just wondering if it is possible to move the card to x86 machine and check the firmware version and upgrade the firmware version there.

Quoted 106 lines

Ajit

Quoted 103 lines

Thierry

Quoted 85 lines
Quoted 85 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 61 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 51 lines

Best regards

Thierry

Quoted 34 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 26 lines

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

--
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

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

Quoted 4 lines
Quoted 4 lines

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

--
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

#9 lore raw

Hello,

After upgrading the firmware on the bnxt NIC, the NIC is correctly detected by a DPDK application with both DPDK-v20.11 and DPDK-v21.11.

Regards

Thierry

Quoted 98 lines · Honnappa Nagarahalli

+ Ruifeng

<snip>

Quoted 21 lines
Quoted 9 lines · Thierry Herbelot
Quoted 7 lines · Ajit Khaparde
Quoted 5 lines · Thierry Herbelot

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

Quoted 8 lines
Quoted 5 lines

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

This a Huawei server:
TaiShan 200 Server (Model 2180) aarch64, 48 cores, 2.6GHz, 64GB RAM

Quoted 7 lines

Ok. I tried this on a HUAWEI Kunpeng 920 running 4.18.0- 348.2.1.el8_5.aarch64.
I can load the bnxt_en kernel driver and the DPDK PMD without issues. And I did load vfio with enable_unsafe_noiommu_mode=1 .

While we are pursuing this further internally,
I have added Honnappa to see if he can provide any insight.

There is not much information on the error.
Just wondering if it is possible to move the card to x86 machine and check the firmware version and upgrade the firmware version there.

Quoted 63 lines

Ajit

Quoted 60 lines

Thierry

Quoted 57 lines
Quoted 57 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 40 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 30 lines

Best regards

Thierry

Quoted 24 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 16 lines

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
Signature · 9 lines
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
#10 lore raw
Quoted 5 lines · Thierry Herbelot

Hello,

After upgrading the firmware on the bnxt NIC, the NIC is correctly detected by a DPDK application with both DPDK-v20.11 and DPDK-v21.11.

Great. Thanks for the update Thierry.

Quoted 114 lines

Regards

Thierry

Quoted 30 lines · Honnappa Nagarahalli

+ Ruifeng

<snip>

Quoted 26 lines
Quoted 9 lines · Thierry Herbelot
Quoted 7 lines · Ajit Khaparde
Quoted 5 lines · Thierry Herbelot

Hello Ajit

The card is not correctly probed by the kernel, and so the FW version is not visible.

Quoted 8 lines
Quoted 5 lines

Thanks Thierry.
I thought it was just the PMD running into trouble.

Can you give details of the ARM server?
Make, Vendor, etc..?

This a Huawei server:
TaiShan 200 Server (Model 2180) aarch64, 48 cores, 2.6GHz, 64GB RAM

Ok. I tried this on a HUAWEI Kunpeng 920 running 4.18.0- 348.2.1.el8_5.aarch64.
I can load the bnxt_en kernel driver and the DPDK PMD without issues. And I did load vfio with enable_unsafe_noiommu_mode=1 .

Quoted 68 lines
Quoted 2 lines

While we are pursuing this further internally,
I have added Honnappa to see if he can provide any insight.

There is not much information on the error.
Just wondering if it is possible to move the card to x86 machine and check the firmware version and upgrade the firmware version there.

Quoted 63 lines

Ajit

Quoted 60 lines

Thierry

Quoted 57 lines
Quoted 57 lines

I see this in the kernel dmesg:
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Error (timeout: 500015) msg {0x0 0x0} len:0
bnxt_en 0000:03:00.0 (unnamed net_device) (uninitialized): Firmware not responding, status: 0x8ffff

And then there are no bnxt_en netdevices.

Best regards

Thierry

Quoted 40 lines · Ajit Khaparde
Quoted 6 lines · Thierry Herbelot

Hello Ajit

Thanks for the quick response.

Please keep me posted when you check on your side.

Can you tell what is the firmware version on the card?

Quoted 30 lines

Best regards

Thierry

Quoted 24 lines · Ajit Khaparde
Quoted 2 lines

Is this a know issue ?

No.
We have tried the Broadcom PMD on ARM server(s) and have been able to use it without any issues.
But we can try it again and get back to you.

Quoted 16 lines

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