Date: Sun, 8 Nov 2009 19:59:54 +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: <200911082000.nA8K06Ye043379@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-11-08 19:59:54 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: SVN rev 199054 on 2009-11-08 19:59:54Z by yongari Partially revert r199035. Revision 1.158 says only lower ten bits of BGE_RXLP_LOCSTAT_IFIN_DROPS register is valid. For BCM5761 case it seems the controller maintains 16bits value for the register. However 16bits are still too small to count all dropped packets happened in a second. To get a correct counter we have to read the register in bge_rxeof() which would be too expensive. Pointed out by: bde Revision Changes Path 1.242 +8 -0 src/sys/dev/bge/if_bge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911082000.nA8K06Ye043379>