]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Expose eswitch encap mode
authorMaor Gottlieb <maorg@mellanox.com>
Wed, 12 Jun 2019 12:20:12 +0000 (15:20 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 16 Jun 2019 12:41:43 +0000 (15:41 +0300)
commit53c9d73e7480f0d9a2c84dcffd097c26188dc45b
treeb65a272add173817b32a7981fa29e9e8afa11da0
parent952ef4197aad345bac1718636ed14e0c182e729e
net/mlx5: Expose eswitch encap mode

Add API to get the current Eswitch encap mode.
It will be used in downstream patches to check if
flow table can be created with encap support or not.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
include/linux/mlx5/eswitch.h