Re: [PATCH 3/3] net/mlx5e: don't build RFS without ethernet

From: Saeed Mahameed
Date: Wed May 04 2016 - 09:09:42 EST


On Wed, May 4, 2016 at 3:32 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> The RFS acceleration support in mlx5 is enabled whenever CONFIG_RFS_ACCEL
> is in use. However, this fails if a user turns off CONFIG_MLX5_CORE_EN,
> because the rfs code now calls into the ethernet portion of the
> driver:
>
> ERROR: "mlx5e_destroy_flow_table" [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
>

Hi Arnd,

We already posted a fix for this, please see "[PATCH net-next V1
01/12] net/mlx5e: Fix aRFS compilation dependency", and give us your
feedback.

Saeed.