Setting NIC speed | Nutanix Community
Skip to main content

Hi community,

 

I have some Qlogic 10G/25G NIC cards in my cluster which as I understand are not “supported” however seem to be detected correctly to some extent.

 

Manage_ovs show-interfaces displays the output below which leads me to belive that the driver is loaded. However, currently those ports are connected to a 10G switch and so the speed and the operational status are not correctly working. Is there a way to set these by hand?

 

 manage_ovs show_interfaces
    name  mode  link speed
enp5s0f0 25000 False  None
enp5s0f1 25000 False  None
    eth0  1000 False  None
    eth1  1000 False  None
    eth2  1000 False  None
    eth3  1000 False  None
    eth4  1000 False  None
    eth5  1000 False  None
    eth6  1000 False  None
    eth7  1000  True  1000

 

When I add those cards to a vritual bridge I get the error message below.

 

manage_ovs --bridge_name br1 --bond_name bond1 --interfaces 25g update_uplinks
2021-03-31 18:05:50,402Z WARNING manage_ovs:437 Interface enp5s0f1 does not have link state
2021-03-31 18:05:50,403Z WARNING manage_ovs:437 Interface enp5s0f0 does not have link state

 

And manage_ovs show_uplinks shows me those ports have not been added.

 

manage_ovs show_uplinks
Bridge: br0
  Bond: eth7
    bond_mode: active-backup
    interfaces: eth7
    lacp: off
    lacp-fallback: false
    lacp_speed: slow
Bridge: br1

 

I’m running CE2020.09.16

Your help is appreciated.

Hello @Patricio Martelo  

This is correct, Qlogic was never tested/qualified with AHV. Can you share the below output from AHV to see if the NICs are even being identified.

lspci -nn | grep -i ethernet
cat /etc/udev/rules.d/70-persistent-net.rules

You may want to give the NIC replacement process a try to see if these nics can be identified correctly. 


Thanks Sudhir I’ll give that process a go. Meanwhile, here’s the output.

 

proot@NTNX-d53cd165-A ~]# lspci -nn | grep -i ethernet
cat /etc/udev/rules.d/70-persistent-net.rules02:00.0 Ethernet controller l0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe P14e4:1657] (rev 01)
02:00.1 Ethernet controller l0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe P14e4:1657] (rev 01)
02:00.2 Ethernet controller l0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe P14e4:1657] (rev 01)
02:00.3 Ethernet controller l0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe P14e4:1657] (rev 01)
04:00.0 Ethernet controller l0200]: Intel Corporation I350 Gigabit Network Connection t8086:1521] (rev 01)
04:00.1 Ethernet controller l0200]: Intel Corporation I350 Gigabit Network Connection t8086:1521] (rev 01)
04:00.2 Ethernet controller l0200]: Intel Corporation I350 Gigabit Network Connection t8086:1521] (rev 01)
04:00.3 Ethernet controller l0200]: Intel Corporation I350 Gigabit Network Connection t8086:1521] (rev 01)
05:00.0 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller l1077:8070] (rev 02)
05:00.1 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller l1077:8070] (rev 02)
05:00.2 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller (FCoE) C1077:8080] (rev 02)
05:00.3 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller (FCoE) C1077:8080] (rev 02)
05:00.4 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller (iSCSI) C1077:8084] (rev 02)
05:00.5 Ethernet controller l0200]: QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller (iSCSI) C1077:8084] (rev 02)
broot@NTNX-d53cd165-A ~]# cat /etc/udev/rules.d/70-persistent-net.rules
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory

 

Regards,

 

Patricio


In case others need to use the same NIC, I got this working.

I simply had to create entries under /etc/sysconfig/network-scripts

I created one entry for each card as below:

 

>root@NTNX-d53cd165-A network-scripts]# cat ifcfg-enp5s0f0
# Auto generated by Phoenix
DEVICE=enp5s0f0
TYPE=Ethernet
NM_CONTROLLED=no
NOZEROCONF=yes
ONBOOT=yes
BOOTPROTO=none
HWADDR=f4:e9:d4:3f:05:8e

 

The rebooted AHV and the links came up, changed the uplinks using manage_ovs and it started working.

Thanks for the help.