Date: Mon, 7 May 2007 06:32:41 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 119400 for review Message-ID: <200705070632.l476WfBm029104@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705070632.l476WfBm029104>