Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 05:08:52 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/msk if_msk.c if_mskreg.h
Message-ID:  <200901140509.n0E59352083070@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-01-14 05:08:52 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/msk          if_msk.c if_mskreg.h 
  Log:
  SVN rev 187208 on 2009-01-14 05:08:52Z by yongari
  
  Remove local jumbo locator and switch to UMA backed page allocator
  for jumbo frame.
    o Nuke unneeded jlist lock which was used to protect jumbo buffer
      management in local allocator.
    o Added a new tunable hw.mskc.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 msk(4). If msk(4) encounter the allocation
      failure it just disables jumbo frame support and continues to
      work without your intervention.
  
  Using local allocator had several drawbacks such as requirement of
  large amount of continuous kernel memory and fixed (small) number
  of available buffers. The need for large continuous memory resulted
  in failure of loading driver with kldload on running systems.
  Also small number of buffer used in local allocator showed poor
  performance for some applications.
  
  Revision  Changes    Path
  1.37      +158 -275  src/sys/dev/msk/if_msk.c
  1.14      +1 -27     src/sys/dev/msk/if_mskreg.h



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