------- Comment From [email protected] 2021-06-01 13:57 EDT-------
This is the actual configuration of HBA assigned to the Host:

root@ilabg13:~# znetconf -c
Device IDs                 Type    Card Type      CHPID Drv. Name             
State
-------------------------------------------------------------------------------------
0.0.0e0f,0.0.0e10,0.0.0e11 1731/01 OSD_1000          EE qeth ence0f           
online
0.0.0dc0,0.0.0dc1,0.0.0dc2 1731/01 OSD_25GIG         DA qeth encdc0           
online
0.0.0db0,0.0.0db1,0.0.0db2 1731/01 OSD_25GIG         D9 qeth encdb0           
online

root@ilabg13:~# lspci
0032:00:00.0 Ethernet controller: Mellanox Technologies MT27710 Family 
[ConnectX-4 Lx Virtual Function]
0035:00:00.0 Ethernet controller: Mellanox Technologies MT27710 Family 
[ConnectX-4 Lx Virtual Function]

The RoCE adapters are:
enP50s3832  <- working ok
enP53p0s0   <- vLan not getting IP assigned

The full output of lshw is in the attachments, here the reduced output for 
network class:
root@ilabg13:~# lshw -class network
*-network:0
description: Ethernet interface
product: MT27710 Family [ConnectX-4 Lx Virtual Function]
vendor: Mellanox Technologies
physical id: 5
bus info: pci@0032:00:00.0
logical name: enP50s3832
version: 00
serial: 82:0c:9b:a8:a1:b2
capacity: 25Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pciexpress msix bus_master cap_list ethernet physical fibre 
1000bt-fd 10000bt-fd 25000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=mlx5_core 
driverversion=5.0-0 duplex=full firmware=14.25.1020 (IBM0000000016) 
ip=11.111.112.214 latency=0 link=yes multicast=yes port=fibre
resources: iomemory:ffffd0000-ffffcffff irq:0 
memory:8000000000000000-80000000000fffff
*-network:1
description: Ethernet interface
product: MT27710 Family [ConnectX-4 Lx Virtual Function]
vendor: Mellanox Technologies
physical id: 6
bus info: pci@0035:00:00.0
logical name: enP53p0s0
version: 00
serial: 82:0c:9b:c9:78:f8
capacity: 25Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pciexpress msix bus_master cap_list ethernet physical fibre 
1000bt-fd 10000bt-fd 25000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=mlx5_core 
driverversion=5.0-0 duplex=full firmware=14.25.1020 (IBM0000000016) 
ip=11.111.112.215 latency=0 link=yes multicast=yes port=fibre
resources: iomemory:fffffc000-fffffbfff irq:0 
memory:8001000000000000-80010000000fffff
*-device:7
description: Ethernet interface
product: 1732/01
physical id: 8
bus info: [email protected]
logical name: encdb0
serial: 02:76:54:00:00:03
capabilities: ethernet physical fibre autonegotiation
configuration: autonegotiation=on broadcast=yes driver=qeth_l2 
driverversion=1.0 duplex=full firmware=0165 ip=11.111.114.213 link=yes 
multicast=yes port=fibre
*-device:8
description: OSA-Express QDIO channel
product: 1732/01
physical id: 9
bus info: [email protected]
configuration: driver=qeth
*-device:9
description: OSA-Express QDIO channel
product: 1732/01
physical id: a
bus info: [email protected]
configuration: driver=qeth
*-device:10
description: Ethernet interface
product: 1732/01
physical id: b
bus info: [email protected]
logical name: encdc0
serial: 02:76:54:00:00:04
capabilities: ethernet physical fibre autonegotiation
configuration: autonegotiation=on broadcast=yes driver=qeth_l2 
driverversion=1.0 duplex=full firmware=0165 ip=11.111.112.213 link=yes 
multicast=yes port=fibre
*-device:11
description: OSA-Express QDIO channel
product: 1732/01
physical id: c
bus info: [email protected]
configuration: driver=qeth
*-device:12
description: OSA-Express QDIO channel
product: 1732/01
physical id: d
bus info: [email protected]
configuration: driver=qeth
*-device:13
description: Ethernet interface
product: 1732/01
physical id: e
bus info: [email protected]
logical name: ence0f
serial: 02:76:54:00:00:08
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt 
1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=qeth_l2 
driverversion=1.0 duplex=full firmware=0165 ip=9.11.116.213 link=yes 
multicast=yes port=fibre speed=1Gbit/s
*-device:14
description: OSA-Express QDIO channel
product: 1732/01
physical id: f
bus info: [email protected]
configuration: driver=qeth
*-device:15
description: OSA-Express QDIO channel
product: 1732/01
physical id: 10
bus info: [email protected]
configuration: driver=qeth
*-device:16
description: Network adapter
product: 1732/03
physical id: 11
bus info: [email protected]
configuration: driver=zfcp
*-device:17
description: Network adapter
product: 1732/03
physical id: 12
bus info: [email protected]
configuration: driver=zfcp
*-device:18
description: Network adapter
product: 1732/03
physical id: 13
bus info: [email protected]
configuration: driver=zfcp
*-device:19
description: Network adapter
product: 1732/03
physical id: 14
bus info: [email protected]
configuration: driver=zfcp
*-network:0
description: Ethernet interface
physical id: 5b
logical name: enP53p0s0.171
serial: 82:0c:9b:c9:78:f8
capacity: 25Gbit/s
capabilities: ethernet physical fibre 1000bt-fd 10000bt-fd 25000bt-fd 
autonegotiation
configuration: autonegotiation=on broadcast=yes driver=802.1Q VLAN Support 
driverversion=1.8 duplex=full firmware=N/A link=yes multicast=yes port=fibre
*-network:1
description: Ethernet interface
physical id: 5c
logical name: enP50s3832.170
serial: 82:0c:9b:a8:a1:b2
capacity: 25Gbit/s
capabilities: ethernet physical fibre 1000bt-fd 10000bt-fd 25000bt-fd 
autonegotiation
configuration: autonegotiation=on broadcast=yes driver=802.1Q VLAN Support 
driverversion=1.8 duplex=full firmware=N/A ip=192.168.170.53 link=yes 
multicast=yes port=fibre
*-network:2
description: Ethernet interface
physical id: 5d
logical name: encdc0.150
serial: 02:76:54:00:00:04
capabilities: ethernet physical fibre autonegotiation
configuration: autonegotiation=on broadcast=yes driver=802.1Q VLAN Support 
driverversion=1.8 duplex=full firmware=N/A ip=192.168.150.53 link=yes 
multicast=yes port=fibre
*-network:3
description: Ethernet interface
physical id: 5e
logical name: encdb0.160
serial: 02:76:54:00:00:03
capabilities: ethernet physical fibre autonegotiation
configuration: autonegotiation=on broadcast=yes driver=802.1Q VLAN Support 
driverversion=1.8 duplex=full firmware=N/A ip=192.168.160.53 link=yes 
multicast=yes port=fibre

Right now the naming is being handle with an udev rule to make it
consistent base on the MACs due using netplan a lot of issue were hit.

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="82:0c:9b:a8:a1:b2",
DRIVERS=="?*", ATTR{type}=="1", NAME:="enP50s3832"

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="82:0c:9b:c9:78:f8",
DRIVERS=="?*", ATTR{type}=="1", NAME:="enP53p0s0"

This configuration was working before without problems and was created
base in the naming provided automatically by the OS.

I also try commenting this rules to see if something changed but
behaviour is the same

To confirm that those adapters names correspond to the RoCE adapters:

root@ilabg13:~# systool -c net
Class = "net"

Class Device = "enP50s3832"
Device = "0032:00:00.0"

Class Device = "enP50s3832.170"

Class Device = "enP53p0s0"
Device = "0035:00:00.0"

Class Device = "enP53p0s0.171"

Class Device = "encdb0.160"

Class Device = "encdc0.150"

Class Device = "ence0f"
Device = "0.0.0e0f"

Class Device = "lo"

Here we can see that the devices correspond to the adapter names.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929657

Title:
  [Ubuntu 20.4.2]  vLan not getting static IP assigned (on s390x)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1929657/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to