From owner-cvs-src-old@FreeBSD.ORG Tue Dec 15 10:38:07 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D6CD1065692 for ; Tue, 15 Dec 2009 10:38:07 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2C07A8FC0A for ; Tue, 15 Dec 2009 10:38:07 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFAc7MC073524 for ; Tue, 15 Dec 2009 10:38:07 GMT (envelope-from stas@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBFAc76S073523 for cvs-src-old@freebsd.org; Tue, 15 Dec 2009 10:38:07 GMT (envelope-from stas@repoman.freebsd.org) Message-Id: <200912151038.nBFAc76S073523@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to stas@repoman.freebsd.org using -f From: Stanislav Sedov Date: Tue, 15 Dec 2009 10:36:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/bge if_bge.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 10:38:07 -0000 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