Files
Maciej Fijalkowski a26d85e575 ice: stop storing XDP verdict within ice_rx_buf
BugLink: https://bugs.launchpad.net/bugs/2114239

[ Upstream commit 468a1952df78f65c5991b7ac885c8b5b7dd87bab ]

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: 2fba7dc515 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>
2025-06-15 10:39:14 +03:00
..
2024-07-05 10:12:26 +02:00
2023-12-14 09:43:04 -08:00
2023-12-18 11:20:26 -08:00
2023-12-18 11:20:43 -08:00
2023-12-18 11:20:43 -08:00
2024-08-13 12:13:01 +02:00
2023-12-18 11:20:26 -08:00
2023-11-13 11:42:15 -08:00
2023-10-26 20:32:38 -07:00
2023-12-18 11:20:26 -08:00
2023-12-18 11:20:26 -08:00
2023-12-13 16:16:40 -08:00
2025-02-14 15:50:29 +03:00
2025-03-14 14:29:50 +01:00
2023-11-13 11:42:14 -08:00
2023-10-20 12:53:05 +01:00
2025-02-14 15:50:26 +03:00
2025-02-14 15:50:30 +03:00
2023-12-14 09:50:48 -08:00