common/mlx5: move netlink files under Linux directory
[dpdk.git] / lib / librte_vhost / iotlb.c
index bc17585..5b3a0c0 100644 (file)
@@ -308,8 +308,9 @@ vhost_user_iotlb_init(struct virtio_net *dev, int vq_index)
        TAILQ_INIT(&vq->iotlb_list);
        TAILQ_INIT(&vq->iotlb_pending_list);
 
-       snprintf(pool_name, sizeof(pool_name), "iotlb_cache_%d_%d",
-                       dev->vid, vq_index);
+       snprintf(pool_name, sizeof(pool_name), "iotlb_%u_%d_%d",
+                       getpid(), dev->vid, vq_index);
+       VHOST_LOG_CONFIG(DEBUG, "IOTLB cache name: %s\n", pool_name);
 
        /* If already created, free it and recreate */
        vq->iotlb_pool = rte_mempool_lookup(pool_name);