Skip to content
Commit 075572d4 authored by Boris Pismenny's avatar Boris Pismenny Committed by Saeed Mahameed
Browse files

IB/mlx5: Pass mlx5_flow_act struct instead of multiple arguments



Group and pass all function arguments of parse_flow_attr call in one
common struct mlx5_flow_act.

This patch passes all the action arguments of parse_flow_attr in one common
struct mlx5_flow_act. It allows us to scale the number of actions without adding
new arguments to the function.

Signed-off-by: default avatarMatan Barak <matanb@mellanox.com>
Signed-off-by: default avatarBoris Pismenny <borisp@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Acked-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 04e87170
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment