diff options
| author | 2024-04-15 10:49:07 +0200 | |
|---|---|---|
| committer | 2024-05-06 09:19:46 -0700 | |
| commit | c5e6bd977d7eb840d08b9f071b7dad6721c409a0 (patch) | |
| tree | e14cefda9d8e28587527e4b73f91b313baa08ebe /net/dsa/user.c | |
| parent | ice: update E830 device ids and comments (diff) | |
| download | wireguard-linux-c5e6bd977d7eb840d08b9f071b7dad6721c409a0.tar.xz wireguard-linux-c5e6bd977d7eb840d08b9f071b7dad6721c409a0.zip | |
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@intel.com>
Signed-off-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/dsa/user.c')
0 files changed, 0 insertions, 0 deletions
