Date: Wed, 21 Oct 2009 11:50:18 +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: <200910211150.n9LBoY7j014276@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stas 2009-10-21 11:50:18 UTC FreeBSD src repository Modified files: sys/dev/bge if_bge.c Log: SVN rev 198318 on 2009-10-21 11:50:18Z by stas - 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. Reviewed by: yongari, marius MFC after: 2 weeks Revision Changes Path 1.231 +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?200910211150.n9LBoY7j014276>