summaryrefslogtreecommitdiffstats
path: root/sys/ofed/drivers/net
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-06-07 04:51:50 +0000
committersephe <sephe@FreeBSD.org>2016-06-07 04:51:50 +0000
commit7acd138965d96ffd22d5af9e51a5cc261951eb6a (patch)
tree8816b0f75c831a8e5070bc0b18af1929b457914e /sys/ofed/drivers/net
parentbe6cf145bec7e3658cd25477592f21b906de159e (diff)
downloadFreeBSD-src-7acd138965d96ffd22d5af9e51a5cc261951eb6a.zip
FreeBSD-src-7acd138965d96ffd22d5af9e51a5cc261951eb6a.tar.gz
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
Diffstat (limited to 'sys/ofed/drivers/net')
-rw-r--r--sys/ofed/drivers/net/mlx4/en_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/net/mlx4/en_rx.c b/sys/ofed/drivers/net/mlx4/en_rx.c
index f4425af..2711b22 100644
--- a/sys/ofed/drivers/net/mlx4/en_rx.c
+++ b/sys/ofed/drivers/net/mlx4/en_rx.c
@@ -619,7 +619,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
/* forward Toeplitz compatible hash value */
mb->m_pkthdr.flowid = be32_to_cpu(cqe->immed_rss_invalid);
- M_HASHTYPE_SET(mb, M_HASHTYPE_OPAQUE);
+ M_HASHTYPE_SET(mb, M_HASHTYPE_OPAQUE_HASH);
mb->m_pkthdr.rcvif = dev;
if (be32_to_cpu(cqe->vlan_my_qpn) &
MLX4_CQE_VLAN_PRESENT_MASK) {
OpenPOWER on IntegriCloud