diff options
author | 2023-11-13 16:41:44 -0800 | |
---|---|---|
committer | 2023-11-14 20:00:11 -0800 | |
commit | 278a370c1766060d2144d6cf0b06c101e1043b6d (patch) | |
tree | 4aca26e8f20026813b0f5e2110db6b4eac542562 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (diff) | |
download | wireguard-linux-278a370c1766060d2144d6cf0b06c101e1043b6d.tar.xz wireguard-linux-278a370c1766060d2144d6cf0b06c101e1043b6d.zip |
gve: Fixes for napi_poll when budget is 0
Netpoll will explicilty pass the polling call with a budget of 0 to
indicate it's clearing the Tx path only. For the gve_rx_poll and
gve_xdp_poll, they were mistakenly taking the 0 budget as the indication
to do all the work. Add check to avoid the rx path and xdp path being
called when budget is 0. And also avoid napi_complete_done being called
when budget is 0 for netpoll.
Fixes: f5cedc84a30d ("gve: Add transmit and receive support")
Signed-off-by: Ziwei Xiao <ziweixiao@google.com>
Link: https://lore.kernel.org/r/20231114004144.2022268-1-ziweixiao@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions