diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2022-12-02 22:10:33 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2022-12-06 14:03:56 +0100 |
commit | 35324bbb962e984fe58e783ccad20bcfccc65cba (patch) | |
tree | 8808b2148d5c9c9461fdf7d0e5c374a9ea7fc0a8 /mm | |
parent | 42ba0f9d4b3972bd9ca9c86f89d5ccc8dc5c58b6 (diff) | |
download | linux-35324bbb962e984fe58e783ccad20bcfccc65cba.tar.bz2 |
net/mlx5e: Refactor FTE setup code to be more clear
The policy offload logic needs to set flow steering rule that match
on saddr and daddr too, so factor out this code to separate functions,
together with code alignment to netdev coding pattern of relying on
family type.
As part of this change, let's separate more logic from setup_fte_common
to make sure that the function names describe that is done in the
function better than general *common* name.
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions