Skip to content
  • Herbert Xu's avatar
    gro: Do not merge paged packets into frag_list · 81705ad1
    Herbert Xu authored
    
    
    gro: Do not merge paged packets into frag_list
    
    Bigger is not always better :)
    
    It was easy to continue to merged packets into frag_list after the
    page array is full.  However, this turns out to be worse than LRO
    because frag_list is a much less efficient form of storage than the
    page array.  So we're better off stopping the merge and starting
    a new entry with an empty page array.
    
    In future we can optimise this further by doing frag_list merging
    but making sure that we continue to fill in the page array.
    
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    81705ad1