aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl
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/ixl
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/ixl')
-rw-r--r--sys/dev/ixl/ixl_txrx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ixl/ixl_txrx.c b/sys/dev/ixl/ixl_txrx.c
index fc57f4ecc7fa..d3aa7bf7b259 100644
--- a/sys/dev/ixl/ixl_txrx.c
+++ b/sys/dev/ixl/ixl_txrx.c
@@ -1453,10 +1453,10 @@ ixl_ptype_to_hash(u8 ptype)
ex = decoded.outer_frag;
if (!decoded.known)
- return M_HASHTYPE_OPAQUE;
+ return M_HASHTYPE_OPAQUE_HASH;
if (decoded.outer_ip == I40E_RX_PTYPE_OUTER_L2)
- return M_HASHTYPE_OPAQUE;
+ return M_HASHTYPE_OPAQUE_HASH;
/* Note: anything that gets to this point is IP */
if (decoded.outer_ip_ver == I40E_RX_PTYPE_OUTER_IPV6) {
@@ -1492,7 +1492,7 @@ ixl_ptype_to_hash(u8 ptype)
}
}
/* We should never get here!! */
- return M_HASHTYPE_OPAQUE;
+ return M_HASHTYPE_OPAQUE_HASH;
}
#endif /* RSS */