diff options
author | Rony Efraim <ronye@mellanox.com> | 2013-06-13 13:19:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-13 17:51:04 -0700 |
commit | 948e306d7d645af80ea331b60495710fe4fe12bb (patch) | |
tree | c66b8872cbc566df779b454d78c9c181c94440c8 /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | 1d8faf48c74b8329a0322dc4b2a2030ae5003c86 (diff) | |
download | blackbird-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.h | 1 |
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 { |