summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/vport.h
diff options
context:
space:
mode:
authorEli Cohen2016-03-11 21:58:41 +0100
committerDoug Ledford2016-03-21 22:13:14 +0100
commit1f324bff9ba3db276f074169d5b4af9e9c117ba1 (patch)
tree1299145f1d918c0e089799831666a6cfab3f0c42 /include/linux/mlx5/vport.h
parentnet/mlx5_core: Add VF param when querying vport counter (diff)
downloadkernel-qcow2-linux-1f324bff9ba3db276f074169d5b4af9e9c117ba1.tar.gz
kernel-qcow2-linux-1f324bff9ba3db276f074169d5b4af9e9c117ba1.tar.xz
kernel-qcow2-linux-1f324bff9ba3db276f074169d5b4af9e9c117ba1.zip
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/linux/mlx5/vport.h')
-rw-r--r--include/linux/mlx5/vport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h
index aafb3e48b5f8..bd93e6323603 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__ */