aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2016-05-09 10:38:42 +0000
committerLeon Romanovsky <leon@kernel.org>2016-08-18 18:49:57 +0300
commit3bc34f3bcb087764796d9a6eaa476e270114eb8f (patch)
tree750b4a8fbc8146701cc29c11da310e3ac8ea3241 /include/linux
parentnet/mlx5: Add LAG flow steering namespace (diff)
downloadlinux-dev-3bc34f3bcb087764796d9a6eaa476e270114eb8f.tar.xz
linux-dev-3bc34f3bcb087764796d9a6eaa476e270114eb8f.zip
net/mlx5: Vport LAG creation support
Add interfaces for issuing CREATE_VPORT_LAG and DESTROY_VPORT_LAG commands. Used for receiving PF1's eth traffic on PF0's root ft. Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mlx5/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index c568dd927330..5cb9fa7aec61 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -944,6 +944,8 @@ int mlx5_register_interface(struct mlx5_interface *intf);
void mlx5_unregister_interface(struct mlx5_interface *intf);
int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id);
+int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev);
+int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev);
bool mlx5_lag_is_active(struct mlx5_core_dev *dev);
struct net_device *mlx5_lag_get_roce_netdev(struct mlx5_core_dev *dev);