net/mlx5e: Improve stateless offload capability check
authorMarina Varshaver <marinav@mellanox.com>
Tue, 20 Aug 2019 00:36:29 +0000 (03:36 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Aug 2019 18:49:05 +0000 (11:49 -0700)
commite3a53bc536fc279de2ace13b8d6d54b071afb722
treec116e0828226b52ae067b2d9ca63a3e1bf424bbd
parenta795d8db2a6d3c6f80e7002dd6357e6736dad1b6
net/mlx5e: Improve stateless offload capability check

Use generic function for checking tunnel stateless offload capability
instead of separate macros.

Signed-off-by: Marina Varshaver <marinav@mellanox.com>
Reviewed-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c