summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2000-10-08 03:52:27 +0000
committerbmilekic <bmilekic@FreeBSD.org>2000-10-08 03:52:27 +0000
commit003596e09842fe00c72052b07fb5a0f0e5fac8f0 (patch)
tree70cad3956bb02ab8d771a67ff83f154c3ca0686a /sys/alpha/include
parent90447d2ee78c3d0cd03cbe5a31ab1929f48c5131 (diff)
downloadFreeBSD-src-003596e09842fe00c72052b07fb5a0f0e5fac8f0.zip
FreeBSD-src-003596e09842fe00c72052b07fb5a0f0e5fac8f0.tar.gz
Cleanup comment in machine/param.h regarding mbuf-related sizes, and get rid
of MCLOFSET, which does not appear to be used anywhere anymore, and if it is, it probably shouldn't be.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/param.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index 28bef01..efd4efe 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -120,18 +120,16 @@
/*
* Constants related to network buffer management.
- * MCLBYTES must be no larger than CLBYTES (the software page size), and,
- * on machines that exchange pages of input or output buffers with mbuf
- * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
- * of the hardware page size.
+ * MCLBYTES must be no larger than PAGE_SIZE.
*/
+#ifndef MSIZE
#define MSIZE 256 /* size of an mbuf */
+#endif /* MSIZE */
+
#ifndef MCLSHIFT
-# define MCLSHIFT 11 /* convert bytes to m_buf clusters */
- /* 2K cluster can hold Ether frame */
+#define MCLSHIFT 11 /* convert bytes to mbuf clusters */
#endif /* MCLSHIFT */
-#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
-#define MCLOFSET (MCLBYTES - 1)
+#define MCLBYTES (1 << MCLSHIFT) /* size of a mbuf cluster */
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
OpenPOWER on IntegriCloud