aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLarysa Zaremba <[email protected]>2023-12-05 22:08:32 +0100
committerAlexei Starovoitov <[email protected]>2023-12-13 16:16:40 -0800
commit6b62a42149032db305dfd687d7118aa870b4a2f9 (patch)
treed7340b3f09163f7ac5dcb457e0465e14ff70fbb6 /tools/perf/scripts/python
parent3310aad20defb96eaf363ab2643e876a6275c72b (diff)
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions