diff options
author | Alexander Lobakin <[email protected]> | 2021-12-08 15:07:00 +0100 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-01-31 09:47:21 -0800 |
commit | 1fbdaa13386804a31eefd3db3c5fe00e80ce9bc3 (patch) | |
tree | b45ea54752172f8b3dc11882bd4bbb8dc8db73ea /tools/perf/scripts/python/syscall-counts.py | |
parent | f9e61d365bafdee40fe2586fc6be490c3e824dad (diff) |
ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
To not dereference bi->xdp each time in ixgbe_construct_skb_zc(),
pass bi->xdp as an argument instead of bi. We can also call
xsk_buff_free() outside of the function as well as assign bi->xdp
to NULL, which seems to make it closer to its name.
Suggested-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Tested-by: Sandeep Penigalapati <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions