diff options
author | Eli Cohen <eli@mellanox.com> | 2016-03-11 20:58:41 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-21 21:13:14 (GMT) |
commit | 1f324bff9ba3db276f074169d5b4af9e9c117ba1 (patch) | |
tree | 1299145f1d918c0e089799831666a6cfab3f0c42 /include | |
parent | 2a4826fe746e01712ca53902ee75c1a1f6c0a4aa (diff) | |
download | linux-1f324bff9ba3db276f074169d5b4af9e9c117ba1.tar.xz |
net/mlx5_core: Implement modify HCA vport command
Implement the modify HCA vport commands used to modify the parameters of
virtual HCA's ports.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/vport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h index aafb3e4..bd93e63 100644 --- a/include/linux/mlx5/vport.h +++ b/include/linux/mlx5/vport.h @@ -95,5 +95,9 @@ int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev); int mlx5_core_query_vport_counter(struct mlx5_core_dev *dev, u8 other_vport, int vf, u8 port_num, void *out, size_t out_sz); +int mlx5_core_modify_hca_vport_context(struct mlx5_core_dev *dev, + u8 other_vport, u8 port_num, + int vf, + struct mlx5_hca_vport_context *req); #endif /* __MLX5_VPORT_H__ */ |