Re: [PATCH v2 5/6] vdpa/mlx5: Add support for control VQ and MAC setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 2021/8/19 下午3:24, Eli Cohen 写道:
+	vringh_set_iotlb(&mvdev->cvq.vring, mvdev->cvq.iotlb, &mvdev->cvq.iommu_lock);
+	err = iova_cache_get();
Any reason for using iova cache here?
Isn't it required? Aren't we allocating buffers for the CVQ from
iommu_iova kmem cache?
I may miss something here but which buffer did you refer here?

Aren't the data buffers for the control VQ allocated from this cache?


Sorry, but you mean the buffer managed by the virtio-net or the mlx5e here?

Thanks




_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux