svn commit: r254823 - head/sys/net
Alfred Perlstein
alfred at FreeBSD.org
Sun Aug 25 01:55:15 UTC 2013
Author: alfred
Date: Sun Aug 25 01:55:14 2013
New Revision: 254823
URL: http://svnweb.freebsd.org/changeset/base/254823
Log:
Remove the #ifdef OFED from the 20 byte mac in struct llentry.
With this change it is now possible to build the entire infiniband
stack as modules and load it dynamically including IP over IB.
Modified:
head/sys/net/if_llatbl.h
Modified: head/sys/net/if_llatbl.h
==============================================================================
--- head/sys/net/if_llatbl.h Sun Aug 25 00:34:44 2013 (r254822)
+++ head/sys/net/if_llatbl.h Sun Aug 25 01:55:14 2013 (r254823)
@@ -75,9 +75,7 @@ struct llentry {
union {
uint64_t mac_aligned;
uint16_t mac16[3];
-#ifdef OFED
uint8_t mac8[20]; /* IB needs 20 bytes. */
-#endif
} ll_addr;
/* XXX af-private? */
More information about the svn-src-all
mailing list