From b7ba031ff71f20a2d5ad24b46595869152a53519 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Wed, 11 Mar 2015 16:02:24 +0000 Subject: 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 --- sys/net/if_lagg.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/net/if_lagg.h') diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h index 8d6decd3c069..a45fa169939d 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); -- cgit v1.2.3