summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/fw.h
diff options
context:
space:
mode:
authorOr Gerlitz2015-12-06 17:07:38 +0100
committerDavid S. Miller2015-12-07 04:40:44 +0100
commite34305c85f86112838cb332696513bed8e04a211 (patch)
tree175141190f3112938775cf8d1334a5f2a6be6b04 /drivers/net/ethernet/mellanox/mlx4/fw.h
parentVSOCK: fix returnvar.cocci warnings (diff)
downloadkernel-qcow2-linux-e34305c85f86112838cb332696513bed8e04a211.tar.gz
kernel-qcow2-linux-e34305c85f86112838cb332696513bed8e04a211.tar.xz
kernel-qcow2-linux-e34305c85f86112838cb332696513bed8e04a211.zip
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.h1
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;