Skip to content
  • Eric Joyner's avatar
    Remove references to CONTIGMALLOC_WORKS in iflib and em · bc408c7d
    Eric Joyner authored
    From Jake:
    "The iflib_fl_setup() function tries to pick various buffer sizes based
    on the max_frame_size value defined by the parent driver. However, this
    code was wrapped under CONTIGMALLOC_WORKS, which was never actually
    defined anywhere.
    
    This same code pattern was used in if_em.c, likely trying to match
    what iflib uses.
    
    Since CONTIGMALLOC_WORKS is not defined, remove this dead code from
    iflib_fl_setup and if_em.c
    
    Given that various iflib drivers appear to be using a similar
    calculation, it might be worth making this buffer size a value that the
    driver can peek at in the future."
    
    Submitted by:	Jacob Keller <jacob.e.keller@intel.com>
    Reviewed by:	shurd@
    MFC after:	1 week
    Sponsored by:	Intel Corporation
    Differential Revision:	https://reviews.freebsd.org/D19199
    bc408c7d