]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa/mlx5: Fix failure to bring link up
authorEli Cohen <elic@nvidia.com>
Thu, 17 Sep 2020 12:15:40 +0000 (15:15 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Oct 2020 14:34:07 +0000 (10:34 -0400)
commit5d82e5c216c118ea02782f37996053736a2ff61a
treec45c63f269fde00331410fb2fdb5b0ef10c4f9b4
parent8454836b7582b79637a32a72c96e9b900182f502
vdpa/mlx5: Fix failure to bring link up

Set VIRTIO_NET_S_LINK_UP in config status to allow the get the bring the
net device's link up.

Fixes: 89495935b0eb ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20200917121540.GA98184@mtl-vdi-166.wap.labs.mlnx
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c