aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgb
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-06-07 04:51:50 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-06-07 04:51:50 +0000
commit36ad8372d499c26f47569da1e76b358d225d969f (patch)
tree8816b0f75c831a8e5070bc0b18af1929b457914e /sys/dev/cxgb
parentaebdb1e24ebcd07ddd7f8a2cf873b4d88864cd47 (diff)
downloadsrc-36ad8372d499c26f47569da1e76b358d225d969f.tar.gz
src-36ad8372d499c26f47569da1e76b358d225d969f.zip
net: Use M_HASHTYPE_OPAQUE_HASH if the mbuf flowid has hash properties
Reviewed by: hps, erj, tuexen Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6688
Notes
Notes: svn path=/head/; revision=301538
Diffstat (limited to 'sys/dev/cxgb')
-rw-r--r--sys/dev/cxgb/cxgb_sge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
index c83bd66379e7..76d40d815c50 100644
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -2900,7 +2900,8 @@ process_responses(adapter_t *adap, struct sge_qset *qs, int budget)
eop = get_packet(adap, drop_thresh, qs, mh, r);
if (eop) {
if (r->rss_hdr.hash_type && !adap->timestamp) {
- M_HASHTYPE_SET(mh->mh_head, M_HASHTYPE_OPAQUE);
+ M_HASHTYPE_SET(mh->mh_head,
+ M_HASHTYPE_OPAQUE_HASH);
mh->mh_head->m_pkthdr.flowid = rss_hash;
}
}