OSDN Git Service

net/mlx5e: Introduce Flow Steering ANY API
authorAya Levin <ayal@nvidia.com>
Sun, 17 Jan 2021 06:58:04 +0000 (08:58 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 30 Mar 2021 04:21:53 +0000 (21:21 -0700)
commit0f575c20bf0686caf3d82d6c626c2e1e4a4c36e6
tree8d461b9116f511b11f7f194dcde714d8c028e227
parent1c80bd6843881fbef7d198981ea0decc184954fd
net/mlx5e: Introduce Flow Steering ANY API

Add a new FS API which captures the ANY traffic from the traffic
classifier into a dedicated FS table. The table consists of a group
matching the ethertype 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/en/fs.h
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c
drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.h
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c