summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2015-03-11 16:02:24 +0000
committerhselasky <hselasky@FreeBSD.org>2015-03-11 16:02:24 +0000
commitde871211fe4cfbf68411bea95643bd99527c9266 (patch)
tree0fcc56ca42552e19fc15d1a3f8ba6fd47d95e10d /sys/net/if_lagg.h
parentaabb9cebfe4b7548e05c961c7ecf2dd0bd9c57ad (diff)
downloadFreeBSD-src-de871211fe4cfbf68411bea95643bd99527c9266.zip
FreeBSD-src-de871211fe4cfbf68411bea95643bd99527c9266.tar.gz
Factor out mbuf hashing code from LAGG driver so that other network
drivers can use it. This avoids some code duplication. Add missing default case to all switch statements while at it. Also move the hashing of the IPv6 flow field to layer 4 because the IPv6 flow field is constant on a per L4 connection basis and not on a per L3 network. Differential Revision: https://reviews.freebsd.org/D1987 Sponsored by: Mellanox Technologies MFC after: 1 month
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r--sys/net/if_lagg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h
index 8d6decd..a45fa16 100644
--- a/sys/net/if_lagg.h
+++ b/sys/net/if_lagg.h
@@ -279,7 +279,6 @@ extern struct mbuf *(*lagg_input_p)(struct ifnet *, struct mbuf *);
extern void (*lagg_linkstate_p)(struct ifnet *, int );
int lagg_enqueue(struct ifnet *, struct mbuf *);
-uint32_t lagg_hashmbuf(struct lagg_softc *, struct mbuf *, uint32_t);
SYSCTL_DECL(_net_link_lagg);
OpenPOWER on IntegriCloud