gve: Recording rx queue before sending to napi
authorTao Liu <xliutaox@google.com>
Mon, 7 Feb 2022 17:59:01 +0000 (09:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Feb 2022 00:52:31 +0000 (16:52 -0800)
commit084cbb2ec3af2d23be9de65fcc9493e21e265859
tree08fab751bf94c0441b4ac513c672d42d82bbe6f1
parentfe4f57bf7b585dca58f1496c4e2481ecbae18126
gve: Recording rx queue before sending to napi

This caused a significant performance degredation when using generic XDP
with multiple queues.

Fixes: f5cedc84a30d2 ("gve: Add transmit and receive support")
Signed-off-by: Tao Liu <xliutaox@google.com>
Link: https://lore.kernel.org/r/20220207175901.2486596-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_rx.c