> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Marcin Szycik
> Sent: Monday, April 15, 2024 2:19 PM
> To: [email protected]
> Cc: Polchlopek, Mateusz <[email protected]>;
> [email protected]; Marcin Szycik <[email protected]>;
> Staikov, Andrii <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next] ice: Deduplicate tc action setup
>
> ice_tc_setup_redirect_action() and ice_tc_setup_mirror_action() are almost
> identical, except for setting filter action. Reduce them to one function with
> an
> extra param, which handles both cases.
>
> Reviewed-by: Mateusz Polchlopek <[email protected]>
> Signed-off-by: Marcin Szycik <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 56 ++++++---------------
> 1 file changed, 15 insertions(+), 41 deletions(-)
>
Tested-by: Sujai Buvaneswaran <[email protected]>