summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4.h
diff options
context:
space:
mode:
authorRony Efraim <ronye@mellanox.com>2013-06-13 13:19:11 +0300
committerDavid S. Miller <davem@davemloft.net>2013-06-13 17:51:04 -0700
commit948e306d7d645af80ea331b60495710fe4fe12bb (patch)
treec66b8872cbc566df779b454d78c9c181c94440c8 /drivers/net/ethernet/mellanox/mlx4/mlx4.h
parent1d8faf48c74b8329a0322dc4b2a2030ae5003c86 (diff)
downloadblackbird-obmc-linux-948e306d7d645af80ea331b60495710fe4fe12bb.tar.gz
blackbird-obmc-linux-948e306d7d645af80ea331b60495710fe4fe12bb.zip
net/mlx4: Add VF link state support
Add support to change the link state of VF (vPort) Signed-off-by: Rony Efraim <ronye@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/mlx4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
index df15bb6631cc..75272935a3f7 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h
@@ -482,6 +482,7 @@ struct mlx4_vport_state {
u8 default_qos;
u32 tx_rate;
bool spoofchk;
+ u32 link_state;
};
struct mlx4_vf_admin_state {
OpenPOWER on IntegriCloud