summaryrefslogtreecommitdiff
path: root/net/netlink
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-05-03 14:13:53 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-04 18:04:46 (GMT)
commitfbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0 (patch)
tree022155a5c033f1f4a6d1806173da2ed28f52d2e8 /net/netlink
parent27540247c595b0244b96d4f65c8a09db3f2c1aa8 (diff)
downloadlinux-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 'net/netlink')
0 files changed, 0 insertions, 0 deletions