]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Introduce Flow Steering UDP API
authorAya Levin <ayal@nvidia.com>
Thu, 14 Jan 2021 15:26:35 +0000 (17:26 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 30 Mar 2021 04:21:53 +0000 (21:21 -0700)
commit1c80bd6843881fbef7d198981ea0decc184954fd
tree321a89a0ff46085fa38e0156a282a15c0d96b24b
parentc809cf665e28449ba7fec93089718bc8751a52cc
net/mlx5e: Introduce Flow Steering UDP API

Add a new FS API which captures the UDP traffic from the traffic
classifier into a dedicated FS table. This API handles both UDP over
IPv4 and IPv6 in the same manner. The tables (one for UDPv4 and another
for UDPv6) consist of a group matching the UDP destination port and a
must-be-last group which contains a default rule redirecting the
unmatched packets back to the RSS logic.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c