]> 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)
commit17e851ddf321aa5a3dd5d402c145c2d716238217
treeb65a272add173817b32a7981fa29e9e8afa11da0
parent5154818d9b16a2492ba0b845922ad57901589ab7
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