• A
    e1000: Buffer optimizations for small MTU · 9e2feace
    Auke Kok 提交于
    Remove multi-descriptor support from legacy recieve path
    
    Add memory usage efficiency by using more correct size descriptors for
    small MTU sizes and optimize using LPE for <= 1522 byte frame sizes
    
    An extra performance fix that effected our TCP window size growth
    as a receiver.  Set our initial buffer to be 128 bytes instead of 256
    to prevent over-socket charge when truesize is computed in the stack.
    old way: truesize = 256 + l1 = 256 + 1460 = 1716
    new way: truesize = 128 + l1 = 128 + 1460 = 1588
    The magic value that we can't cross is 1648.
    Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
    Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
    Signed-off-by: NJohn Ronciak <john.ronciak@intel.com>
    9e2feace
e1000_main.c 129.6 KB