git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b1312
)
net/mlx5: fix UDP hash field flag in Direct Verbs
author
Yongseok Koh
<yskoh@mellanox.com>
Tue, 23 Oct 2018 16:52:10 +0000
(16:52 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000
(22:14 +0200)
Fixes:
fc2c498ccb94
("net/mlx5: add Direct Verbs translate items")
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_flow_dv.c
b/drivers/net/mlx5/mlx5_flow_dv.c
index
e8f409f
..
57884e9
100644
(file)
--- a/
drivers/net/mlx5/mlx5_flow_dv.c
+++ b/
drivers/net/mlx5/mlx5_flow_dv.c
@@
-1028,9
+1028,9
@@
flow_dv_create_item(void *matcher, void *key,
tmatcher->priority = MLX5_PRIORITY_MAP_L4;
dev_flow->verbs.hash_fields |=
mlx5_flow_hashfields_adjust(dev_flow, inner,
- ETH_RSS_
TC
P,
- (IBV_RX_HASH_SRC_PORT_
TC
P |
- IBV_RX_HASH_DST_PORT_
TC
P));
+ ETH_RSS_
UD
P,
+ (IBV_RX_HASH_SRC_PORT_
UD
P |
+ IBV_RX_HASH_DST_PORT_
UD
P));
break;
case RTE_FLOW_ITEM_TYPE_NVGRE:
flow_dv_translate_item_nvgre(tmatcher->mask.buf, key, item,