summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2013-08-25 01:55:14 +0000
committeralfred <alfred@FreeBSD.org>2013-08-25 01:55:14 +0000
commit89900cc30473e7b3feaaff868b97f347728eb8e5 (patch)
treecaac36e50bccdb5270298dc105a6d4416b1191d6 /sys/net
parent3d85fa925057fddf6d12735ebe6b0c02550511b8 (diff)
downloadFreeBSD-src-89900cc30473e7b3feaaff868b97f347728eb8e5.zip
FreeBSD-src-89900cc30473e7b3feaaff868b97f347728eb8e5.tar.gz
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.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_llatbl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_llatbl.h b/sys/net/if_llatbl.h
index 693ccd5..aa3c400 100644
--- a/sys/net/if_llatbl.h
+++ b/sys/net/if_llatbl.h
@@ -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? */
OpenPOWER on IntegriCloud