diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-05-03 17:13:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-04 21:04:46 +0300 |
commit | fbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0 (patch) | |
tree | 022155a5c033f1f4a6d1806173da2ed28f52d2e8 /include/linux/mlx5/driver.h | |
parent | 27540247c595b0244b96d4f65c8a09db3f2c1aa8 (diff) | |
download | linux-fbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0.tar.xz |
net/mlx5e: Fix aRFS compilation dependency
en_arfs.o should be compiled only if both CONFIG_MLX5_CORE_EN
and CONFIG_RFS_ACCEL are enabled. en_arfs calls to rps_may_expire_flow
which is compiled only if CONFIG_RFS_ACCEL is defined.
Move en_arfs.o compilation dependency to be under CONFIG_MLX5_CORE_EN
and wrap the en_arfs.c content with ifdef of CONFIG_RFS_ACCEL.
Fixes: 1cabe6b0965e ('net/mlx5e: Create aRFS flow tables')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reported-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/driver.h')
0 files changed, 0 insertions, 0 deletions