Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2010 18:51:28 +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:  <201010081851.o98Ipf8I002339@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2010-10-08 18:51:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/bge          if_bge.c 
  Log:
  SVN rev 213596 on 2010-10-08 18:51:28Z by yongari
  
  MFC r212069,212071:
  r212069:
    bge_txeof() already checks whether it has to free transmitted mbufs
    or not by comparing reported TX consumer index with saved index. So
    remove unnecessary check done after freeing transmitted mbufs.
    While I'm here nuke unnecessary variable initializations.
  
  r212071:
    Remove unnecessary atomic operation in bge_poll. bge(4) always
    holds a driver lock in the function entry and
    memory synchronization is handled by bus_dmamap_sync(9).
  
  Revision    Changes    Path
  1.198.2.49  +5 -6      src/sys/dev/bge/if_bge.c



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