Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2011 23:01:29 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/xl if_xl.c
Message-ID:  <201105062301.p46N1keg075724@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2011-05-06 23:01:29 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/xl           if_xl.c 
  Log:
  SVN rev 221564 on 2011-05-06 23:01:29Z by yongari
  
  Change xl_rxeof() a bit to return the number of processed frames in
  RX descriptor ring. Previously it returned the number of frames
  that were successfully passed to upper stack which in turn means it
  ignored frames that were discarded due to errors. The number of
  processed frames in RX descriptor ring is used to detect whether
  driver is out of sync with controller's current descriptor pointer.
  Returning number of processed frames reduces unnecessary (probably
  wrong) re-synchronization.
  
  While here, remove unnecessary local variable initialization.
  
  Revision  Changes    Path
  1.25      +3 -7      src/sys/dev/xl/if_xl.c



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