diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2015-12-01 19:03:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 20:08:44 +0300 |
commit | e75465148b7df7f2796c75bf98bf33f171edeb2b (patch) | |
tree | 2fe8a3ca9c1a4d8754143568185f630eb74926d2 /include/linux/mlx5/mlx5_ifc.h | |
parent | e16aea2744abea612c27ee0eef606c6a6a8204de (diff) | |
download | linux-e75465148b7df7f2796c75bf98bf33f171edeb2b.tar.xz |
net/mlx5: Introduce access functions to modify/query vport state
In preparation for SR-IOV we add here an API to enable each e-switch
manager (PF) to configure its VFs link states in e-switch
preparation for ethernet sriov.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 836cf0e43174..655184702ea2 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -2946,6 +2946,7 @@ struct mlx5_ifc_query_vport_state_out_bits { enum { MLX5_QUERY_VPORT_STATE_IN_OP_MOD_VNIC_VPORT = 0x0, + MLX5_QUERY_VPORT_STATE_IN_OP_MOD_ESW_VPORT = 0x1, }; struct mlx5_ifc_query_vport_state_in_bits { |