PERFORCE change 119400 for review
Kip Macy
kmacy at FreeBSD.org
Mon May 7 06:32:42 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=119400
Change 119400 by kmacy at 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)
{
More information about the p4-projects
mailing list