aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/memif/node.c')
-rw-r--r--src/plugins/memif/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 1ee94f2e81b..4d97ed22d64 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -1286,7 +1286,7 @@ memif_device_input_inline_dma (vlib_main_t *vm, vlib_node_runtime_t *node,
mq->dma_info_tail = 0;
done:
- vlib_dma_batch_set_cookie (vm, db, (mif_id << 16) | qid);
+ vlib_dma_batch_set_cookie (vm, db, ((u64) mif_id << 16) | qid);
vlib_dma_batch_submit (vm, db);
vec_reset_length (ptd->copy_ops);