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

Signed-off-by: Alice Mikityanska <alice@isovalent.com>
Link: https://patch.msgid.link/20260205133925.526371-12-alice.kernel@fastmail.im
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c

index de26ef9b56419603566b26421bd2630d9c19de12..a2616f03755723bce25d3a2c55940c72704b904d 100644 (file)
@@ -1463,9 +1463,6 @@ netdev_tx_t bnge_start_xmit(struct sk_buff *skb, struct net_device *dev)
                        return NETDEV_TX_BUSY;
        }
 
-       if (unlikely(ipv6_hopopt_jumbo_remove(skb)))
-               goto tx_free;
-
        last_frag = skb_shinfo(skb)->nr_frags;
 
        txbd = &txr->tx_desc_ring[TX_RING(bn, prod)][TX_IDX(prod)];