svn commit: r254823 - head/sys/net

Alfred Perlstein alfred at freebsd.org
Mon Aug 26 14:01:09 UTC 2013


Thanks Gleb.  Will do.

-Alfred

On 8/26/13 4:52 AM, Gleb Smirnoff wrote:
> On Sun, Aug 25, 2013 at 01:55:15AM +0000, Alfred Perlstein wrote:
> A> Author: alfred
> A> Date: Sun Aug 25 01:55:14 2013
> A> New Revision: 254823
> A> URL: http://svnweb.freebsd.org/changeset/base/254823
> A>
> A> Log:
> A>   Remove the #ifdef OFED from the 20 byte mac in struct llentry.
> A>
> A>   With this change it is now possible to build the entire infiniband
> A>   stack as modules and load it dynamically including IP over IB.
> A>
> A> Modified:
> A>   head/sys/net/if_llatbl.h
> A>
> A> Modified: head/sys/net/if_llatbl.h
> A> ==============================================================================
> A> --- head/sys/net/if_llatbl.h	Sun Aug 25 00:34:44 2013	(r254822)
> A> +++ head/sys/net/if_llatbl.h	Sun Aug 25 01:55:14 2013	(r254823)
> A> @@ -75,9 +75,7 @@ struct llentry {
> A>  	union {
> A>  		uint64_t	mac_aligned;
> A>  		uint16_t	mac16[3];
> A> -#ifdef OFED
> A>  		uint8_t		mac8[20];	/* IB needs 20 bytes. */
> A> -#endif
> A>  	} ll_addr;
> A>
> A>  	/* XXX af-private? */
>
> #include "opt_ofed.h" should be removed from the file as well.
>



More information about the svn-src-all mailing list