lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160501021845.GA10348@ast-mbp.thefacebook.com>
Date:	Sat, 30 Apr 2016 19:18:48 -0700
From:	Alexei Starovoitov <alexei.starovoitov@...il.com>
To:	Saeed Mahameed <saeedm@...lanox.com>
Cc:	"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
	Or Gerlitz <ogerlitz@...lanox.com>,
	Tal Alon <talal@...lanox.com>,
	Eran Ben Elisha <eranbe@...lanox.com>,
	Maor Gottlieb <maorg@...lanox.com>
Subject: Re: [PATCH net-next 10/12] net/mlx5e: Create aRFS flow tables

On Fri, Apr 29, 2016 at 01:36:40AM +0300, Saeed Mahameed wrote:
> From: Maor Gottlieb <maorg@...lanox.com>
> 
> Create the following four flow tables for aRFS usage:
> 1. IPv4 TCP - filtering 4-tuple of IPv4 TCP packets.
> 2. IPv6 TCP - filtering 4-tuple of IPv6 TCP packets.
> 3. IPv4 UDP - filtering 4-tuple of IPv4 UDP packets.
> 4. IPv6 UDP - filtering 4-tuple of IPv6 UDP packets.
> 
> Each flow table has two flow groups: one for the 4-tuple
> filtering (full match)  and the other contains * rule for miss rule.
> 
> Full match rule means a hit for aRFS and packet will be forwarded
> to the dedicated RQ/Core, miss rule packets will be forwarded to
> default RSS hashing.
> 
> Signed-off-by: Maor Gottlieb <maorg@...lanox.com>
> Signed-off-by: Saeed Mahameed <saeedm@...lanox.com>
> ---
>  drivers/net/ethernet/mellanox/mlx5/core/Makefile  |    1 +
>  drivers/net/ethernet/mellanox/mlx5/core/en.h      |   41 ++++
>  drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c |  251 +++++++++++++++++++++
>  drivers/net/ethernet/mellanox/mlx5/core/en_fs.c   |   23 +-
>  drivers/net/ethernet/mellanox/mlx5/core/en_main.c |    8 +-
>  drivers/net/ethernet/mellanox/mlx5/core/fs_core.c |    3 +-
>  6 files changed, 313 insertions(+), 14 deletions(-)
>  create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
> 
> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Makefile b/drivers/net/ethernet/mellanox/mlx5/core/Makefile
> index 4fc45ee..679e18f 100644
> --- a/drivers/net/ethernet/mellanox/mlx5/core/Makefile
> +++ b/drivers/net/ethernet/mellanox/mlx5/core/Makefile
> @@ -9,3 +9,4 @@ mlx5_core-$(CONFIG_MLX5_CORE_EN) += wq.o eswitch.o \
>  		en_txrx.o en_clock.o vxlan.o en_tc.o
>  
>  mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) +=  en_dcbnl.o
> +mlx5_core-$(CONFIG_RFS_ACCEL) +=  en_arfs.o

this line breaks the build when RFS is on
and CONFIG_MLX5_CORE_EN is off.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ