]> git.ipfire.org Git - thirdparty/linux.git/commit
gve: rename gve_xdp_xmit to gve_xdp_xmit_gqi
authorJoshua Washington <joshwash@google.com>
Wed, 18 Jun 2025 20:56:11 +0000 (20:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jun 2025 13:26:23 +0000 (14:26 +0100)
commitd05ebf7cc3c5ee78ff8567a22148ab0d82a5d1c4
treec206d5d18590b7623b93353b63b1866d43dd7740
parent0289c51f889e435a7626931688023a80090d9c5e
gve: rename gve_xdp_xmit to gve_xdp_xmit_gqi

In preparation for XDP DQ support, the gve_xdp_xmit callback needs to
be generalized for all queue formats. This patch renames the GQ-specific
function to gve_xdp_xmit_gqi, and introduces a new gve_xdp_xmit callback
which branches on queue format.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Joshua Washington <joshwash@google.com>
Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve.h
drivers/net/ethernet/google/gve/gve_main.c
drivers/net/ethernet/google/gve/gve_tx.c