Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 19:44:11 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/bge if_bge.c
Message-ID:  <200911221944.nAMJiWjk042695@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-11-22 19:44:11 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c 
  Log:
  SVN rev 199666 on 2009-11-22 19:44:11Z by yongari
  
  Rearrange bge_start_locked to see we can send more frames by
  checking IFF_DRV_RUNNING and IFF_DRV_OACTIVE flags. Also if we
  have less than 16 free send BDs set IFF_DRV_OACTIVE and try it
  later. Previously bge(4) used to reserve 16 free send BDs after
  loading dma maps but hardware just need one reserved send BD. If
  prouder index has the same value of consumer index it means the Tx
  queue is empty.
  While I'm here check IFQ_DRV_IS_EMPTY first to save one lock
  operation.
  
  Revision  Changes    Path
  1.252     +26 -24    src/sys/dev/bge/if_bge.c



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