]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.c
net/mlx5: fix link status report
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index 3678aad8590b16d00576c03271dac2852ac0f3a9..90cc35e4beb0a8c59f95f9cd30c4dc361f16d9cb 100644 (file)
@@ -668,6 +668,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
                /* Bring Ethernet device up. */
                DEBUG("forcing Ethernet interface up");
                priv_set_flags(priv, ~IFF_UP, IFF_UP);
+               mlx5_link_update_unlocked(priv->dev, 1);
                continue;
 
 port_error: