Charm doesn't install necessary DPDK drivers for hinic (Huawei) NICs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-layer-ovn |
Fix Released
|
Wishlist
|
Unassigned | ||
charm-ovn-chassis |
Fix Released
|
Wishlist
|
Unassigned | ||
charm-ovn-dedicated-chassis |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
[Expected result]
Given the below environment and config, the DPDK bond will be initialized successfully.
[Actual result]
ovs-vsctl show has errors:
Bridge br-dpdk
fail_mode: standalone
Port dpdk-bond0
Port br-dpdk
ovs-vswitchd.log:
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
2021-07-
== Environment
focal/ussuri, hardware: Huawei CH121 V5 blade servers
cat /proc/cmdline
BOOT_IMAGE=
# grep HugePages_ /proc/meminfo
HugePages_Total: 1480
HugePages_Free: 1472
HugePages_Rsvd: 0
HugePages_Surp: 0
# lspci | grep Ethernet
1b:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE backplane (rev 09)
1b:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE backplane (rev 09)
3d:00.0 Ethernet controller: Huawei Technologies Co., Ltd. Hi1822 Family (4*25GE) (rev 45)
3e:00.0 Ethernet controller: Huawei Technologies Co., Ltd. Hi1822 Family (4*25GE) (rev 45)
3f:00.0 Ethernet controller: Huawei Technologies Co., Ltd. Hi1822 Family (4*25GE) (rev 45)
40:00.0 Ethernet controller: Huawei Technologies Co., Ltd. Hi1822 Family (4*25GE) (rev 45)
# sudo dmesg | grep -e IOMMU
[ 5.744179] DMAR: IOMMU enabled
[ 12.605696] DMAR-IR: IOAPIC id 12 under DRHD base 0xc5ffc000 IOMMU 6
[ 12.612122] DMAR-IR: IOAPIC id 11 under DRHD base 0xb87fc000 IOMMU 5
[ 12.618549] DMAR-IR: IOAPIC id 10 under DRHD base 0xaaffc000 IOMMU 4
[ 12.624977] DMAR-IR: IOAPIC id 18 under DRHD base 0xfbffc000 IOMMU 3
[ 12.631404] DMAR-IR: IOAPIC id 17 under DRHD base 0xee7fc000 IOMMU 2
[ 12.637830] DMAR-IR: IOAPIC id 16 under DRHD base 0xe0ffc000 IOMMU 1
[ 12.644259] DMAR-IR: IOAPIC id 15 under DRHD base 0xd37fc000 IOMMU 0
[ 12.650687] DMAR-IR: IOAPIC id 8 under DRHD base 0x9d7fc000 IOMMU 7
[ 12.657027] DMAR-IR: IOAPIC id 9 under DRHD base 0x9d7fc000 IOMMU 7
"dpdk-devbind.py -s" : https:/
ovs-vsctl show: https:/
ovs-vsctl list Open_Vswitch: https:/
overlay used for ovn-chassis deployment: https:/
ovs-vswitchd.log: https:/
extract from lspci -nnv: https:/
For the record, we've tried changing dpdk-driver from "vfio-pci" to "uio_pci_generic", but that didn't help.
Please, advise, what could be our next steps in troubleshooting this?
description: | updated |
tags: | added: field-critical |
Changed in charm-layer-ovn: | |
status: | Triaged → In Progress |
Changed in charm-ovn-dedicated-chassis: | |
status: | New → In Progress |
importance: | Undecided → Wishlist |
Adding field-critical as there's no clear/known workaround yet and this issue affects an ongoing project.