diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2015-12-06 19:07:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-07 06:40:44 +0300 |
commit | e34305c85f86112838cb332696513bed8e04a211 (patch) | |
tree | 175141190f3112938775cf8d1334a5f2a6be6b04 /drivers/net/ethernet/mellanox/mlx4/fw.h | |
parent | 0d76d6e8b2507983a2cae4c09880798079007421 (diff) | |
download | linux-e34305c85f86112838cb332696513bed8e04a211.tar.xz |
net/mlx4_core: Use both physical ports to set the VF link state
In HA mode, the link state for VFs for which the policy is "auto"
(i.e. follow the physical link state) should be ORed from both ports.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/fw.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/fw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/fw.h b/drivers/net/ethernet/mellanox/mlx4/fw.h index 08de5555c2f4..7ea258af636a 100644 --- a/drivers/net/ethernet/mellanox/mlx4/fw.h +++ b/drivers/net/ethernet/mellanox/mlx4/fw.h @@ -44,6 +44,7 @@ struct mlx4_mod_stat_cfg { }; struct mlx4_port_cap { + u8 link_state; u8 supported_port_types; u8 suggested_type; u8 default_sense; |