summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDaniel Zahka <daniel.zahka@gmail.com>2026-10-01 09:38:58 -0700
committerJakub Kicinski <kuba@kernel.org>2026-10-05 16:51:16 -0700
commit0de04d82b63c045b82c78bb47ef9510f9c9e5704 (patch)
tree6d8aede09b8e762ab6e89a50e9e9be42e6b80184 /include/linux/timerqueue.h
parent234ae531f14ef54e68194ba97539a8d331d35bdf (diff)
eth: mpnic: use WRITE_ONCE() for BDQ head and tail updates
Convert writes to BDQ ring head and tail in the NAPI path to WRITE_ONCE(), so that a buffer NAPI depletion check task later in the series can READ_ONCE() those fields from a workqueue outside of NAPI. The remaining writers in mpnic_enable_bdq() and mpnic_clean_bdq() run with NAPI disabled and the instance lock, so don't bother converting them. The NAPI depletion check later in the series will run under the instance lock. Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com> Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com> Link: https://patch.msgid.link/20261001-linux-mpnic-v1-1-6422ee74233a@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions