aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMarcin Szycik <[email protected]>2024-04-15 10:49:07 +0200
committerTony Nguyen <[email protected]>2024-05-06 09:19:46 -0700
commitc5e6bd977d7eb840d08b9f071b7dad6721c409a0 (patch)
treee14cefda9d8e28587527e4b73f91b313baa08ebe /net/switchdev/switchdev.c
parenta8e682f03748f72e82e89f178c1838305e789bb2 (diff)
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]> Reviewed-by: Simon Horman <[email protected]> Tested-by: Sujai Buvaneswaran <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions