Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 05:19:41 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sk if_sk.c if_skreg.h
Message-ID:  <200808200519.m7K5JwQB001182@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2008-08-20 05:19:41 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/sk           if_sk.c if_skreg.h 
  Log:
  SVN rev 181902 on 2008-08-20 05:19:41Z by yongari
  
  MFC r176264:
    Nuke local jumbo allocator and switch to use of UMA backed page
    allocator for jumbo frame.
     o Removed unneeded jlist lock which was used to manage jumbo
       buffers.
     o Don't reinitialize hardware if MTU was not changed.
     o Added additional check for minimal MTU size.
     o Added a new tunable hw.skc.jumbo_disable to disable jumbo frame
       support for the driver. The tunable could be set for systems that
       do not need to use jumbo frames and it would save
       (9K * number of Rx descriptors) bytes kernel memory.
     o Jumbo buffer allocation failure is no longer critical error for
       the operation of sk(4). If sk(4) encounter the allocation failure
       it just disables jumbo frame support and continues to work without
       user intervention.
  
    With these changes jumbo frame performance of sk(4) was slightly
    increased and users should not encounter jumbo buffer allocation
    failure. Previously sk(4) tried to allocate physically contiguous
    memory, 3388KB for 256 Rx descriptors. Sometimes that amount of
    contiguous memory region could not be available for running systems
    which in turn resulted in failure of loading the driver.
  
  Revision   Changes    Path
  1.137.2.2  +141 -261  src/sys/dev/sk/if_sk.c
  1.41.2.1   +1 -34     src/sys/dev/sk/if_skreg.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808200519.m7K5JwQB001182>