diff options
author | Lama Kayal <lkayal@nvidia.com> | 2021-09-19 14:55:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-07 07:53:03 +0200 |
commit | 946aa1b742df4fc6cbc70d293b55948068518d4e (patch) | |
tree | 12b280efb4bffeb4117a89bdc696fdcd366b4c40 /drivers/s390 | |
parent | 262468353f59a38c23f0dbeef372bde04d71ab40 (diff) |
net/mlx4_en: Resolve bad operstate value
[ Upstream commit 72a3c58d18fd780eecd80178bb2132ce741a0a74 ]
Any link state change that's done prior to net device registration
isn't reflected on the state, thus the operational state is left
obsolete, with 'UNKNOWN' status.
To resolve the issue, query link state from FW upon open operations
to ensure operational state is updated.
Fixes: c27a02cd94d6 ("mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC")
Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions