From patchwork Fri Mar 12 17:12:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 88993 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A17C2A0547; Fri, 12 Mar 2021 09:46:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9897A16084A; Fri, 12 Mar 2021 09:46:36 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B916C4067E for ; Fri, 12 Mar 2021 09:46:34 +0100 (CET) IronPort-SDR: sgd8lz7J5xOg/37Q03k0eNqNOL7moUG49MzTsxh4jZ+MPGQ/jOIDmVD61IpTGDBLqtuGpxtVsR XkZJPzEj566Q== X-IronPort-AV: E=McAfee;i="6000,8403,9920"; a="252821215" X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="252821215" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 00:46:24 -0800 IronPort-SDR: ZRiYJ+HuC0pZwTWXBgLQrlbzuMrN1ANM6fBH0Ncd1MfmJ03qFzwYvXC+hVeAB+7lOKHSyRQEZg /7fsvtNh7oHQ== X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="410937217" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.240.183.102]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 00:46:20 -0800 From: Chen Lingli To: dts@dpdk.org Cc: Chen Lingli Date: Fri, 12 Mar 2021 17:12:02 +0000 Message-Id: <20210312171202.3695-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/external_memory:VFIO module parameter increase the allowed limit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" According to DPDK commit 016763c219580292c8b05059c7452a7a11d0d19e VFIO module parameter ``dma_entry_limit`` with a default value of 64K. When application is out of DMA entries, these limits need to be adjusted to increase the allowed limit . Signed-off-by: Chen Lingli --- tests/TestSuite_external_memory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_external_memory.py b/tests/TestSuite_external_memory.py index 0224a319..e31b2787 100644 --- a/tests/TestSuite_external_memory.py +++ b/tests/TestSuite_external_memory.py @@ -111,6 +111,7 @@ class TestExternalMemory(TestCase): Verifier VFIO_PCI and anonymous memory allocation """ self.insmod_modprobe(modename="vfio-pci") + self.dut.send_expect("echo 655359 > /sys/module/vfio_iommu_type1/parameters/dma_entry_limit", "#", 10) self.eal_para = self.dut.create_eal_parameters(cores="1S/4C/1T") self.dut.send_expect(r'./%s %s -- --mp-alloc=xmem -i'