Date: Tue, 15 Dec 2009 10:36:08 +0000 (UTC) From: Stanislav Sedov <stas@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/bge if_bge.c Message-ID: <200912151038.nBFAc76S073523@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stas 2009-12-15 10:36:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bge if_bge.c Log: SVN rev 200571 on 2009-12-15 10:36:08Z by stas - MFC r198318: - On entrance to the rx_eof sync RX rings maps with POSTWRITE flag instead of POSTREAD: the hardware do not touch this memory (CPU updates it). It is already synchronized as PREWRITE after the processing is done. - Synchronize RX return ring memory in rx_eof. This is needed as the deviced updates this memory when receives packets. - Decouple the synchronization of BGE status block in the interrupt service routine: perfrom PREREAD synchronization only all accesses to this block are finished. This seems to be more natural. Revision Changes Path 1.198.2.21 +7 -4 src/sys/dev/bge/if_bge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912151038.nBFAc76S073523>