From owner-cvs-src@FreeBSD.ORG Wed Oct 29 05:14:40 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D80716A4CE; Wed, 29 Oct 2003 05:14:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD46643F93; Wed, 29 Oct 2003 05:14:39 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9TDEdXJ016824; Wed, 29 Oct 2003 05:14:39 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9TDEdTm016823; Wed, 29 Oct 2003 05:14:39 -0800 (PST) (envelope-from harti) Message-Id: <200310291314.h9TDEdTm016823@repoman.freebsd.org> From: Hartmut Brandt Date: Wed, 29 Oct 2003 05:14:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/atm/atmconfig diag.c src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatm_rx.c if_hatmvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 13:14:40 -0000 harti 2003/10/29 05:14:39 PST FreeBSD src repository Modified files: sbin/atm/atmconfig diag.c sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatm_rx.c if_hatmvar.h Log: Defer allocation of the actual receive mbuf until the external buffer is returned from the card to the driver. Add a counter that shows how many times this allocation has failed. Note, that we could even further delay the allocation of the mbuf until we know, that we need it (there are no receive errors and the connection is open). This will be done in a later commit. Print the new statistics field in atmconfig. Revision Changes Path 1.2 +1 -0 src/sbin/atm/atmconfig/diag.c 1.13 +0 -1 src/sys/dev/hatm/if_hatm.c 1.8 +24 -26 src/sys/dev/hatm/if_hatm_intr.c 1.6 +4 -0 src/sys/dev/hatm/if_hatm_rx.c 1.7 +2 -2 src/sys/dev/hatm/if_hatmvar.h