Re: No networking due to "net/mlx5e: Add support for devlink-port in non-representors mode"

From: Moshe Shemesh
Date: Wed Mar 25 2020 - 15:33:43 EST



On 3/25/2020 6:01 AM, Qian Cai wrote:
Reverted the linux-next commit c6acd629ee (ânet/mlx5e: Add support for devlink-port in non-representors modeâ)
and its dependencies,

162add8cbae4 (ânet/mlx5e: Use devlink virtual flavour for VF devlink portâ)
31e87b39ba9d (ânet/mlx5e: Fix devlink port register sequenceâ)

on the top of next-20200324 allowed NICs to obtain an IPv4 address from DHCP again.


These patches should not interfere DHCP.

You might have dependencies on interface name which was changed by this patch, please check.

0b:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
0b:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]

[ 223.280777][ T13] mlx5_core 0000:0b:00.0: firmware version: 14.21.1000
[ 223.287753][ T13] mlx5_core 0000:0b:00.0: 63.008 Gb/s available PCIe bandwidth (8.0 GT/s PCIe x8 link)
[ 226.292153][ C0] mlx5_core 0000:0b:00.0: Port module event: module 0, Cable plugged
[ 226.874100][ T2023] mlx5_core 0000:0b:00.1: Adding to iommu group 2
[ 227.343553][ T13] mlx5_core 0000:0b:00.1: firmware version: 14.21.1000
[ 227.350467][ T13] mlx5_core 0000:0b:00.1: 63.008 Gb/s available PCIe bandwidth (8.0 GT/s PCIe x8 link)
[ 230.026346][ C0] mlx5_core 0000:0b:00.1: Port module event: module 1, Cable unplugged
[ 230.522660][ T2023] mlx5_core 0000:0b:00.0: MLX5E: StrdRq(0) RqSz(1024) StrdSz(256) RxCqeCmprss(0)
[ 231.448493][ T2023] mlx5_core 0000:0b:00.1: MLX5E: StrdRq(0) RqSz(1024) StrdSz(256) RxCqeCmprss(0)
[ 232.436993][ T2007] mlx5_core 0000:0b:00.1 enp11s0f1np1: renamed from eth1
[ 232.690895][ T2013] mlx5_core 0000:0b:00.0 enp11s0f0np0: renamed from eth0