diff options
| author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2025-08-26 17:54:56 +0200 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2025-09-08 10:26:25 -0700 |
| commit | c20edbacc0295fd36f5f634b3421647ce3e08fd7 (patch) | |
| tree | 1c2f91f0ae63f78901bfd6f1aedeb4d399308e74 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 17d370a70bae277678b6ea82d71ef5892e7aaa97 (diff) | |
idpf: fix Rx descriptor ready check barrier in splitq
No idea what the current barrier position was meant for. At that point,
nothing is read from the descriptor, only the pointer to the actual one
is fetched.
The correct barrier usage here is after the generation check, so that
only the first qword is read if the descriptor is not yet ready and we
need to stop polling. Debatable on coherent DMA as the Rx descriptor
size is <= cacheline size, but anyway, the current barrier position
only makes the codegen worse.
Fixes: 3a8845af66ed ("idpf: add RX splitq napi poll support")
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Tested-by: Ramu R <ramu.r@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
