]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gve: Remove jumbo_remove step from TX path
authorAlice Mikityanska <alice@isovalent.com>
Thu, 5 Feb 2026 13:39:22 +0000 (15:39 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Feb 2026 04:50:12 +0000 (20:50 -0800)
Now that the kernel doesn't insert HBH for BIG TCP IPv6 packets, remove
unnecessary steps from the gve TX path, that used to check and remove
HBH.

Signed-off-by: Alice Mikityanska <alice@isovalent.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260205133925.526371-10-alice.kernel@fastmail.im
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/google/gve/gve_tx_dqo.c

index 40b89b3e5a318a69c4488eabb9477a6ac28ed66e..28e85730f785e438b2a0460a1df8548f07cbc323 100644 (file)
@@ -963,9 +963,6 @@ static int gve_try_tx_skb(struct gve_priv *priv, struct gve_tx_ring *tx,
        int num_buffer_descs;
        int total_num_descs;
 
-       if (skb_is_gso(skb) && unlikely(ipv6_hopopt_jumbo_remove(skb)))
-               goto drop;
-
        if (tx->dqo.qpl) {
                /* We do not need to verify the number of buffers used per
                 * packet or per segment in case of TSO as with 2K size buffers