aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_llatbl.h
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2013-08-25 01:55:14 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2013-08-25 01:55:14 +0000
commit250053bc412d0ce8b4ad041274d7d5225815a600 (patch)
treecaac36e50bccdb5270298dc105a6d4416b1191d6 /sys/net/if_llatbl.h
parent92cf4f8de02082e1815b794c85096b9b04081408 (diff)
downloadsrc-250053bc412d0ce8b4ad041274d7d5225815a600.tar.gz
src-250053bc412d0ce8b4ad041274d7d5225815a600.zip
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.
Notes
Notes: svn path=/head/; revision=254823
Diffstat (limited to 'sys/net/if_llatbl.h')
-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 693ccd521fad..aa3c400a00b0 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? */