• Eric Dumazet's avatar
    sch_tbf: segment too big GSO packets · e43ac79a
    Eric Dumazet authored
    If a GSO packet has a length above tbf burst limit, the packet
    is currently silently dropped.
    
    Current way to handle this is to set the device in non GSO/TSO mode, or
    setting high bursts, and its sub optimal.
    
    We can actually segment too big GSO packets, and send individual
    segments as tbf parameters allow, allowing for better interoperability.
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Cc: Ben Hutchings <ben@decadent.org.uk>
    Cc: Jiri Pirko <jiri@resnulli.us>
    Cc: Jamal Hadi Salim <jhs@mojatatu.com>
    Reviewed-by: default avatarJiri Pirko <jiri@resnulli.us>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e43ac79a
sch_tbf.c 11.6 KB