diff options
author | thompsa <thompsa@FreeBSD.org> | 2012-03-06 22:58:13 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2012-03-06 22:58:13 +0000 |
commit | b1fbb40a93a6965db74bad2d0e41c6213a2449c5 (patch) | |
tree | a66e0f4d01b37baeb77069cd3e0375ba9fedb6b6 /sys/net/ieee8023ad_lacp.c | |
parent | 10e68a3224291be36c3e534197c59fd26a9f2dbb (diff) | |
download | FreeBSD-src-b1fbb40a93a6965db74bad2d0e41c6213a2449c5.zip FreeBSD-src-b1fbb40a93a6965db74bad2d0e41c6213a2449c5.tar.gz |
Add the ability to set which packet layers are used for the load balance hash
calculation.
Diffstat (limited to 'sys/net/ieee8023ad_lacp.c')
-rw-r--r-- | sys/net/ieee8023ad_lacp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/ieee8023ad_lacp.c b/sys/net/ieee8023ad_lacp.c index ea83866..137e273 100644 --- a/sys/net/ieee8023ad_lacp.c +++ b/sys/net/ieee8023ad_lacp.c @@ -815,7 +815,7 @@ lacp_select_tx_port(struct lagg_softc *sc, struct mbuf *m) if (sc->use_flowid && (m->m_flags & M_FLOWID)) hash = m->m_pkthdr.flowid; else - hash = lagg_hashmbuf(m, lsc->lsc_hashkey); + hash = lagg_hashmbuf(sc, m, lsc->lsc_hashkey); hash %= pm->pm_count; lp = pm->pm_map[hash]; |