diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-02-20 22:43:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-20 17:11:54 -0500 |
commit | 33b2fbd0a8d3c556b802d8753ac5bb3e8f90e988 (patch) | |
tree | 74b8cbc4f069899a3b95cc2c958b5f2753d13595 /drivers/net/ethernet/qlogic/qede/qede_ethtool.c | |
parent | qede: Free netdevice only after stoping slowpath (diff) | |
download | linux-dev-33b2fbd0a8d3c556b802d8753ac5bb3e8f90e988.tar.xz linux-dev-33b2fbd0a8d3c556b802d8753ac5bb3e8f90e988.zip |
qed: Reflect PF link when initializing VF
VF learns of the current link state via its bulletin board,
which might reflect either the physical link state or some
user-configured logical state.
Whenever the physical link changes or whnever such a configuration
is explicitly made by user the PF driver would update the bulletin
that the VF reads. But if neither has happened - i.e., PF still
hasn't got a physical link up and no additional configuration was
done the VF wouldn't have a valid link information available.
Simply reflect the physical link state whenever the VF is
initialized. The user could then affect it however he wants.
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions