mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 00:04:34 -04:00
gve: Remove jumbo_remove step from TX path
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
3f1bff1d7f
commit
275da93ce2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user