>After getting it working in guest i tried to apply it to host. With total of >128 virtual functions (= 128 interfaces) it does not work at all. > Even after bumping cma region size to insane value of 2GB more than half of > interfaces still failed to allocate queues. > And after setting cma=3G i could not mount my rootfs.
Here what you are saying is half of the interfaces were initialized succesfully and rest didn't. So this issue is not something which is introduced by this patch. > Can we use some other method for allocating queues, which would not require > such a huge coherent pool? There are so many drivers which use dma_alloc_coherent() directly or via pci_alloc_consistent() to allocate memory. How many drivers should we modify. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html