summaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/memif/device.c')
-rw-r--r--src/plugins/memif/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/device.c b/src/plugins/memif/device.c
index ff6068f8243..ba4a19a5fe3 100644
--- a/src/plugins/memif/device.c
+++ b/src/plugins/memif/device.c
@@ -611,7 +611,7 @@ no_free_slots:
if (PREDICT_TRUE (!fallback))
{
vlib_dma_batch_set_cookie (vm, b,
- (mif_id << 16) | (mq - mif->tx_queues));
+ ((u64) mif_id << 16) | (mq - mif->tx_queues));
vlib_dma_batch_submit (vm, b);
dma_info->finished = 0;