From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E98BA0547; Fri, 12 Mar 2021 10:11:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35E47160836; Fri, 12 Mar 2021 10:11:50 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 3FF3B4067E for ; Fri, 12 Mar 2021 10:11:49 +0100 (CET) IronPort-SDR: APkRv0cAXkdYZkq301OXza9kSrg4tVbQWpwpvM0P7uSoL8gGH9V6IuMbSamPtFiN/zwTOGpDnX Q5e8HQTUJ+VA== X-IronPort-AV: E=McAfee;i="6000,8403,9920"; a="168080142" X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="168080142" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 01:11:47 -0800 IronPort-SDR: rQN0W2vVwoBc+LnBigYJL0Ey05beoUg3tNCHid0N6uGUt+HEK5LL6PI7AOFfzv6T0mXSxA+Oth tjRxOkrXBAHg== X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="410945282" 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 01:11:36 -0800 From: Chen Lingli To: dts@dpdk.org Cc: Chen Lingli Date: Fri, 12 Mar 2021 17:37:16 +0000 Message-Id: <20210312173716.3853-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] 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 commit 016763c21958 ("vfio: do not merge contiguous areas"). 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 --- V2:modifie comment use git commit description style V1:modifie dts 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' -- 2.17.1