diff options
| author | Vimlesh Kumar <vimleshk@marvell.com> | 2026-02-27 12:13:57 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-03 13:34:20 +0300 |
| commit | 18c04a808c436d629d5812ce883e3822a5f5a47f (patch) | |
| tree | 13bddaaaf130d409b6217909023da39343e89f31 /include | |
| parent | 210fd8f40820c3c1f97ead0cb171374a09fdcbe0 (diff) | |
| download | linux-18c04a808c436d629d5812ce883e3822a5f5a47f.tar.xz | |
octeon_ep: Relocate counter updates before NAPI
Relocate IQ/OQ IN/OUT_CNTS updates to occur before NAPI completion,
and replace napi_complete with napi_complete_done.
Moving the IQ/OQ counter updates before napi_complete_done ensures
1. Counter registers are updated before re-enabling interrupts.
2. Prevents a race where new packets arrive but counters aren't properly
synchronized.
napi_complete_done (vs napi_complete) allows for better
interrupt coalescing.
Fixes: 37d79d0596062 ("octeon_ep: add Tx/Rx processing and interrupt support")
Signed-off-by: Sathesh Edara <sedara@marvell.com>
Signed-off-by: Shinas Rasheed <srasheed@marvell.com>
Signed-off-by: Vimlesh Kumar <vimleshk@marvell.com>
Link: https://patch.msgid.link/20260227091402.1773833-2-vimleshk@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
