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? */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to