net/mlx5e: Add CONFIG_MLX5_EN_ARFS for accelerated flow steering support
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 12 Jul 2018 10:01:26 +0000 (03:01 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 13 Aug 2018 19:50:17 +0000 (12:50 -0700)
commitec080045977073c5e69a7fddee3a8aef9bf62881
tree126d3bb094a79c08adf2090dd2d7e05c5c596fbe
parentfe6d86b3c3165e6c55d6b0049a13d3b65371163a
net/mlx5e: Add CONFIG_MLX5_EN_ARFS for accelerated flow steering support

Add new mlx5 Kconfig flag to allow selecting accelerated flow steering
support, and compile out en_arfs.c if not selected.

Move arfs declarations and definitions to en/fs.h header file.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c