diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-03-11 16:02:24 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2015-03-11 16:02:24 +0000 |
commit | b7ba031ff71f20a2d5ad24b46595869152a53519 (patch) | |
tree | 0fcc56ca42552e19fc15d1a3f8ba6fd47d95e10d /sys/net/if_lagg.h | |
parent | 5ba11c4c2ef4ee5177a9eb588e0234b3b3859c18 (diff) | |
download | src-b7ba031ff71f20a2d5ad24b46595869152a53519.tar.gz src-b7ba031ff71f20a2d5ad24b46595869152a53519.zip |
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
Notes
Notes:
svn path=/head/; revision=279891
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r-- | sys/net/if_lagg.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |