aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Arinzon <[email protected]>2024-01-01 19:08:51 +0000
committerJakub Kicinski <[email protected]>2024-01-03 18:00:57 -0800
commitb626fd9627d40fd291289dba9b53cd5cdbb17362 (patch)
tree79cf45aebb0ec254b6b684b8418cc8233dba2ad1 /tools/perf/scripts/python
parent436c793585951464e2b679c440083daa19f6fb02 (diff)
net: ena: Refactor napi functions
This patch focuses on changes to the XDP part of the napi polling routine. 1. Update the `napi_comp` stat only when napi is actually complete. 2. Simplify the code by using a function pointer to the right napi routine (XDP vs non-XDP path) 3. Remove unnecessary local variables. 4. Adjust a debug print to show the processed XDP frame index rather than the pointer. Signed-off-by: David Arinzon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions