aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-05-03 17:13:53 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-04 14:04:46 -0400
commitfbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0 (patch)
tree022155a5c033f1f4a6d1806173da2ed28f52d2e8 /drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
parentMerge branch 'cxgb4-mbox' (diff)
downloadlinux-dev-fbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0.tar.xz
linux-dev-fbc4a69b562e38d6946bc8bd7e97d30fe0acd5d0.zip
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 'drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c')
0 files changed, 0 insertions, 0 deletions