]> www.infradead.org Git - users/hch/misc.git/commit
gve: add XDP DROP and PASS support for DQ
authorJoshua Washington <joshwash@google.com>
Fri, 21 Mar 2025 00:29:10 +0000 (00:29 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 20:51:15 +0000 (13:51 -0700)
commit293b49361f91737d7c39ab913714d20cb05d8f71
tree42d714b598919463b5ce901e4c1c56f814cf63c2
parent346fb86ddd862012bde63cf20c0ac8bc94000ef4
gve: add XDP DROP and PASS support for DQ

This patch adds support for running XDP programs on DQ, along with
rudimentary processing for XDP_DROP and XDP_PASS. These actions require
very limited driver functionality when it comes to processing an XDP
buffer, so currently if the XDP action is not XDP_PASS, the packet is
dropped and stats are updated.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Praveen Kaliginedi <pkaligineedi@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
Signed-off-by: Harshitha Ramamurthy<hramamurthy@google.com>
Link: https://patch.msgid.link/20250321002910.1343422-7-hramamurthy@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_rx_dqo.c