svn commit: r199009 - head/sys/dev/bge
Pyun YongHyeon
yongari at FreeBSD.org
Fri Nov 6 22:37:29 UTC 2009
Author: yongari
Date: Fri Nov 6 22:37:29 2009
New Revision: 199009
URL: http://svn.freebsd.org/changeset/base/199009
Log:
bge(4) already switched to use UMA backed page allocator and local
memory allocator for jumbo frame was removed long time ago. Remove
no more used macros.
Modified:
head/sys/dev/bge/if_bgereg.h
Modified: head/sys/dev/bge/if_bgereg.h
==============================================================================
--- head/sys/dev/bge/if_bgereg.h Fri Nov 6 22:33:03 2009 (r199008)
+++ head/sys/dev/bge/if_bgereg.h Fri Nov 6 22:37:29 2009 (r199009)
@@ -2481,13 +2481,6 @@ struct bge_gib {
#define BGE_MSLOTS 256
#define BGE_JSLOTS 384
-#define BGE_JRAWLEN (BGE_JUMBO_FRAMELEN + ETHER_ALIGN)
-#define BGE_JLEN (BGE_JRAWLEN + (sizeof(uint64_t) - \
- (BGE_JRAWLEN % sizeof(uint64_t))))
-#define BGE_JPAGESZ PAGE_SIZE
-#define BGE_RESID (BGE_JPAGESZ - (BGE_JLEN * BGE_JSLOTS) % BGE_JPAGESZ)
-#define BGE_JMEM ((BGE_JLEN * BGE_JSLOTS) + BGE_RESID)
-
#define BGE_NSEG_JUMBO 4
#define BGE_NSEG_NEW 32
More information about the svn-src-head
mailing list