]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: mana: Remove jumbo_remove step from TX path
authorAlice Mikityanska <alice@isovalent.com>
Thu, 5 Feb 2026 13:39:23 +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 mana 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-11-alice.kernel@fastmail.im
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/mana_en.c

index 91c4180972844bc245e8bb0b3d8f0daf9722af2b..9b5a72ada5c445a32ed56d0ae356202825366aeb 100644 (file)
@@ -355,9 +355,6 @@ netdev_tx_t mana_start_xmit(struct sk_buff *skb, struct net_device *ndev)
        if (skb_cow_head(skb, MANA_HEADROOM))
                goto tx_drop_count;
 
-       if (unlikely(ipv6_hopopt_jumbo_remove(skb)))
-               goto tx_drop_count;
-
        txq = &apc->tx_qp[txq_idx].txq;
        gdma_sq = txq->gdma_sq;
        cq = &apc->tx_qp[txq_idx].tx_cq;