You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
idpf has a limit on number of scatter-gather frags
that can be used per segment.
Currently, idpf_tx_start() checks if the limit is hit
and forces a linearization of the whole packet.
This requires high order allocations that can fail
under memory pressure. A full size BIG-TCP packet
would require order-7 alocation on x86_64 :/
We can move the check earlier from idpf_features_check()
for TSO packets, to force GSO in this case, removing the
cost of a big copy.
This means that a linearization will eventually happen
with sizes smaller than one MSS.
__idpf_chk_linearize() is renamed to idpf_chk_tso_segment()
and moved to idpf_lib.c
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Przemek Kitszel <[email protected]>
Cc: Jacob Keller <[email protected]>
Cc: Madhu Chittim <[email protected]>
Cc: Pavan Kumar Linga <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Cc: Andrew Lunn <[email protected]>
Reviewed-by: Joshua Hay <[email protected]>
Tested-by: Brian Vazquez <[email protected]>
Acked-by: Tony Nguyen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
0 commit comments