diff options
author | Huy Nguyen | 2017-05-30 08:42:53 +0200 |
---|---|---|
committer | Doug Ledford | 2017-07-24 16:26:16 +0200 |
commit | bded747bb432bc5f7ad6d84ea747368b70ed9df2 (patch) | |
tree | 4cfdb0401e60fba07d3b2e9db6a94721fc721e5f /include/linux/mlx5/vport.h | |
parent | Linux 4.13-rc2 (diff) | |
download | kernel-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.h | 3 |
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__ */ |