diff options
| author | Dimitri Daskalakis <daskald@meta.com> | 2026-10-20 10:27:06 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-23 13:43:05 -0700 |
| commit | 286154ae6998a32cca698abd713e1d4728e81924 (patch) | |
| tree | ca89f763c3b1b960f1dc5308929dc729cf107835 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e3aaeebbef56ceaa27001d1d5a0c1d73d648e6f4 (diff) | |
eth: fbnic: Correct packet header prefetch
The existing call to net_prefetch() fetched a stale address. The data
pointer is not initialized until after the call to xdp_prepare_buff().
Thus, making the prefetch ineffective.
Open code the address calcuation to give the prefetch as much time
as possible.
This was found by manual code inspection. No issues have been observed
from this.
Fixes: 9064ab485f04 ("eth: fbnic: Prefetch packet headers on Rx")
Signed-off-by: Dimitri Daskalakis <daskald@meta.com>
Reviewed-by: Björn Töpel <bjorn@kernel.org>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20261020172706.1090951-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
