diff options
author | 2021-12-08 15:07:00 +0100 | |
---|---|---|
committer | 2022-01-31 09:47:21 -0800 | |
commit | 1fbdaa13386804a31eefd3db3c5fe00e80ce9bc3 (patch) | |
tree | b45ea54752172f8b3dc11882bd4bbb8dc8db73ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb (diff) | |
download | linux-dev-1fbdaa13386804a31eefd3db3c5fe00e80ce9bc3.tar.xz linux-dev-1fbdaa13386804a31eefd3db3c5fe00e80ce9bc3.zip |
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 <maciej.fijalkowski@intel.com>
Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions