net/mlx5e: Create aRFS flow tables
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@mellanox.com> Signed-off-by:
Saeed Mahameed <saeedm@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlx5/core/Makefile 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/Makefile
- drivers/net/ethernet/mellanox/mlx5/core/en.h 41 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en.h
- drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c 251 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_arfs.c
- drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 12 additions, 11 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_fs.c
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c 6 additions, 2 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_main.c
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c 2 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx5/core/fs_core.c
Please register or sign in to comment