From owner-p4-projects@FreeBSD.ORG Mon May 7 06:32:42 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 100D316A532; Mon, 7 May 2007 06:32:42 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E107116A530 for ; Mon, 7 May 2007 06:32:41 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B878813C46C for ; Mon, 7 May 2007 06:32:41 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l476WfJ8029110 for ; Mon, 7 May 2007 06:32:41 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l476WfBm029104 for perforce@freebsd.org; Mon, 7 May 2007 06:32:41 GMT (envelope-from kmacy@freebsd.org) Date: Mon, 7 May 2007 06:32:41 GMT Message-Id: <200705070632.l476WfBm029104@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 119400 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 06:32:42 -0000 http://perforce.freebsd.org/chv.cgi?CH=119400 Change 119400 by kmacy@kmacy_vt-x:opentoe_init on 2007/05/07 06:32:20 add mbufq_len Affected files ... .. //depot/projects/opentoe/sys/dev/cxgb/sys/mbufq.h#2 edit Differences ... ==== //depot/projects/opentoe/sys/dev/cxgb/sys/mbufq.h#2 (text+ko) ==== @@ -20,6 +20,13 @@ return (l->head == NULL); } +static __inline int +mbufq_len(struct mbuf_head *l) +{ + return (l->qlen); +} + + static __inline void mbufq_tail(struct mbuf_head *l, struct mbuf *m) {