Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758166AbbLBM5U (ORCPT ); Wed, 2 Dec 2015 07:57:20 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:33034 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756199AbbLBM5Q (ORCPT ); Wed, 2 Dec 2015 07:57:16 -0500 MIME-Version: 1.0 In-Reply-To: <013301d12cfd$0c958a90$25c09fb0$@samsung.com> References: <1448961223-41888-4-git-send-email-sunil.kovvuri@gmail.com> <01d101d12c46$2de43b40$89acb1c0$@samsung.com> <1448983985.25582.35.camel@edumazet-glaptop2.roam.corp.google.com> <00cb01d12ce0$9f090540$dd1b0fc0$@samsung.com> <00eb01d12cec$a32aa500$e97fef00$@samsung.com> <013301d12cfd$0c958a90$25c09fb0$@samsung.com> Date: Wed, 2 Dec 2015 18:27:14 +0530 Message-ID: Subject: Re: [PATCH 3/6] net: thunderx: Increase transmit queue length From: Sunil Kovvuri To: Pavel Fedin Cc: Eric Dumazet , Linux Netdev List , LKML , LAKML , Sunil Goutham , Sunil Goutham Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 17 >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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/