Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 20:38:05 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h
Message-ID:  <201102182038.p1IKcMD0042269@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2011-02-18 20:38:05 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c if_dcreg.h 
  Log:
  SVN rev 218820 on 2011-02-18 20:38:05Z by yongari
  
  For controllers that have TX interrupt moderation capability,
  request TX completion interrupt for every 8-th frames. Previously
  dc(4) requested TX completion interrupt if number of queued TX
  descriptors is greater than 64. This caused a lot of TX completion
  interrupt under high TX load once driver queued more than 64 TX
  descriptors. It's quite normal to see more than 64 queued TX
  descriptors under high TX load.
  This change reduces the number of TX completion interrupts to be
  less than 17k under high TX load. Because this change does not
  generate TX completion interrupt for each frame, add reclaiming
  transmitted buffers in dc_tick not to generate false watchdog
  timeouts.
  While I'm here add check for queued descriptors in dc_txeof() since
  there is no more work to do when there is no pending descriptors.
  
  Revision  Changes    Path
  1.210     +15 -1     src/sys/dev/dc/if_dc.c
  1.63      +1 -0      src/sys/dev/dc/if_dcreg.h



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