summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/vport.h
diff options
context:
space:
mode:
authorHuy Nguyen2017-05-30 08:42:53 +0200
committerDoug Ledford2017-07-24 16:26:16 +0200
commitbded747bb432bc5f7ad6d84ea747368b70ed9df2 (patch)
tree4cfdb0401e60fba07d3b2e9db6a94721fc721e5f /include/linux/mlx5/vport.h
parentLinux 4.13-rc2 (diff)
downloadkernel-qcow2-linux-bded747bb432bc5f7ad6d84ea747368b70ed9df2.tar.gz
kernel-qcow2-linux-bded747bb432bc5f7ad6d84ea747368b70ed9df2.tar.xz
kernel-qcow2-linux-bded747bb432bc5f7ad6d84ea747368b70ed9df2.zip
net/mlx5: Add raw ethernet local loopback firmware command
Add support for raw ethernet local loopback firmware command. Signed-off-by: Huy Nguyen <huyn@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/vport.h')
-rw-r--r--include/linux/mlx5/vport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx5/vport.h b/include/linux/mlx5/vport.h
index 656c70b65dd2..aaa0bb9e7655 100644
--- a/include/linux/mlx5/vport.h
+++ b/include/linux/mlx5/vport.h
@@ -114,5 +114,6 @@ 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);
-
+int mlx5_nic_vport_update_local_lb(struct mlx5_core_dev *mdev, bool enable);
+int mlx5_nic_vport_query_local_lb(struct mlx5_core_dev *mdev, bool *status);
#endif /* __MLX5_VPORT_H__ */