aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorLarysa Zaremba <[email protected]>2023-12-05 21:08:32 +0000
committerAlexei Starovoitov <[email protected]>2023-12-14 00:16:40 +0000
commit6b62a42149032db305dfd687d7118aa870b4a2f9 (patch)
treed7340b3f09163f7ac5dcb457e0465e14ff70fbb6 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: make RX HW timestamp reading code more reusable (diff)
downloadkernel-6b62a42149032db305dfd687d7118aa870b4a2f9.tar.gz
kernel-6b62a42149032db305dfd687d7118aa870b4a2f9.zip
ice: Make ptype internal to descriptor info processing
Currently, rx_ptype variable is used only as an argument to ice_process_skb_fields() and is computed just before the function call. Therefore, there is no reason to pass this value as an argument. Instead, remove this argument and compute the value directly inside ice_process_skb_fields() function. Also, separate its calculation into a short function, so the code can later be reused in .xmo_() callbacks. Reviewed-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Larysa Zaremba <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions