]> www.infradead.org Git - users/willy/pagecache.git/commit
gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup
authorJoshua Washington <joshwash@google.com>
Sat, 21 Dec 2024 03:28:06 +0000 (19:28 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 31 Dec 2024 01:35:46 +0000 (17:35 -0800)
commitfb3a9a1165cea104b5ab3753e88218e4497b01c1
tree2d7342d2bf5dd503cbc0b98a15af662c433ef15b
parentb255ef45fcc2141c1bf98456796abb956d843a27
gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup

Commit ba0925c34e0f ("gve: process XSK TX descriptors as part of RX NAPI")
moved XSK TX processing to be part of the RX NAPI. However, that commit
did not include triggering the RX NAPI in gve_xsk_wakeup. This is
necessary because the TX NAPI only processes TX completions, meaning
that a TX wakeup would not actually trigger XSK descriptor processing.
Also, the branch on XDP_WAKEUP_TX was supposed to have been removed, as
the NAPI should be scheduled whether the wakeup is for RX or TX.

Fixes: ba0925c34e0f ("gve: process XSK TX descriptors as part of RX NAPI")
Cc: stable@vger.kernel.org
Signed-off-by: Joshua Washington <joshwash@google.com>
Signed-off-by: Praveen Kaligineedi <pkaligineedi@google.com>
Link: https://patch.msgid.link/20241221032807.302244-1-pkaligineedi@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_main.c