[Intel-wired-lan] [PATCH iwl-next] ice: Deduplicate tc action setup
Buvaneswaran, Sujai
sujai.buvaneswaran at intel.com
Fri May 3 06:23:07 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Marcin Szycik
> Sent: Monday, April 15, 2024 2:19 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Polchlopek, Mateusz <mateusz.polchlopek at intel.com>;
> netdev at vger.kernel.org; Marcin Szycik <marcin.szycik at linux.intel.com>;
> Staikov, Andrii <andrii.staikov at intel.com>
> 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 <mateusz.polchlopek at intel.com>
> Signed-off-by: Marcin Szycik <marcin.szycik at linux.intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 56 ++++++---------------
> 1 file changed, 15 insertions(+), 41 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran at intel.com>
More information about the Intel-wired-lan
mailing list