diff options
author | Aleksandr Mishin <[email protected]> | 2024-10-17 13:06:50 +0300 |
---|---|---|
committer | Andrew Lunn <[email protected]> | 2024-10-19 16:20:07 -0500 |
commit | bd28df26197b2bd0913bf1b36770836481975143 (patch) | |
tree | 3fe4aead891287c9ab1512617a3262c34b82929b /tools/perf/scripts/python/gecko.py | |
parent | 4ab3e4983bcc9d9b9dd9720253cb93f44e9e657c (diff) |
octeon_ep: Implement helper for iterating packets in Rx queue
The common code with some packet and index manipulations is extracted and
moved to newly implemented helper to make the code more readable and avoid
duplication. This is a preparation for skb allocation failure handling.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Suggested-by: Simon Horman <[email protected]>
Suggested-by: Paolo Abeni <[email protected]>
Signed-off-by: Aleksandr Mishin <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions