diff options
| author | Aviv Heller <avivh@mellanox.com> | 2016-05-09 06:38:42 -0400 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2016-08-18 11:49:57 -0400 |
| commit | 3bc34f3bcb087764796d9a6eaa476e270114eb8f (patch) | |
| tree | 750b4a8fbc8146701cc29c11da310e3ac8ea3241 /include/linux/mlx5 | |
| parent | 3e75d4ebaae7aac5ba82fc7a6e0e6fb56dac1916 (diff) | |
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/mlx5')
| -rw-r--r-- | include/linux/mlx5/driver.h | 2 |
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); | |||
| 944 | void mlx5_unregister_interface(struct mlx5_interface *intf); | 944 | void mlx5_unregister_interface(struct mlx5_interface *intf); |
| 945 | int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id); | 945 | int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id); |
| 946 | 946 | ||
| 947 | int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev); | ||
| 948 | int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev); | ||
| 947 | bool mlx5_lag_is_active(struct mlx5_core_dev *dev); | 949 | bool mlx5_lag_is_active(struct mlx5_core_dev *dev); |
| 948 | struct net_device *mlx5_lag_get_roce_netdev(struct mlx5_core_dev *dev); | 950 | struct net_device *mlx5_lag_get_roce_netdev(struct mlx5_core_dev *dev); |
| 949 | 951 | ||
