diff options
| author | Marcin Szycik <[email protected]> | 2024-04-15 08:49:07 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-05-06 16:19:46 +0000 |
| commit | c5e6bd977d7eb840d08b9f071b7dad6721c409a0 (patch) | |
| tree | e14cefda9d8e28587527e4b73f91b313baa08ebe /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | ice: update E830 device ids and comments (diff) | |
| download | kernel-c5e6bd977d7eb840d08b9f071b7dad6721c409a0.tar.gz kernel-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 <[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 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
