diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2025-01-23 16:01:18 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-01-31 10:07:46 -0800 |
commit | 468a1952df78f65c5991b7ac885c8b5b7dd87bab (patch) | |
tree | 9bb5aa957ef426ed9f202530cc75fbd8f3b5a889 /tools/perf/scripts/python/stackcollapse.py | |
parent | 11c4aa074d547d825b19cd8d9f288254d89d805c (diff) | |
download | linux-468a1952df78f65c5991b7ac885c8b5b7dd87bab.tar.gz linux-468a1952df78f65c5991b7ac885c8b5b7dd87bab.tar.bz2 linux-468a1952df78f65c5991b7ac885c8b5b7dd87bab.zip |
ice: stop storing XDP verdict within ice_rx_buf
Idea behind having ice_rx_buf::act was to simplify and speed up the Rx
data path by walking through buffers that were representing cleaned HW
Rx descriptors. Since it caused us a major headache recently and we
rolled back to old approach that 'puts' Rx buffers right after running
XDP prog/creating skb, this is useless now and should be removed.
Get rid of ice_rx_buf::act and related logic. We still need to take care
of a corner case where XDP program releases a particular fragment.
Make ice_run_xdp() to return its result and use it within
ice_put_rx_mbuf().
Fixes: 2fba7dc5157b ("ice: Add support for XDP multi-buffer on Rx side")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions