* [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit
@ 2021-03-12 17:37 Chen Lingli
2021-03-12 9:17 ` Chen, LingliX
2021-03-15 7:27 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Chen Lingli @ 2021-03-12 17:37 UTC (permalink / raw)
To: dts; +Cc: Chen Lingli
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 <linglix.chen@intel.com>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit
2021-03-12 17:37 [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit Chen Lingli
@ 2021-03-12 9:17 ` Chen, LingliX
2021-03-15 7:27 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Chen, LingliX @ 2021-03-12 9:17 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
> -----Original Message-----
> From: Chen, LingliX
> Sent: Saturday, March 13, 2021 1:37 AM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V2] tests/external_memory:VFIO module parameter
> increase the allowed limit
Tested-by: Chen Lingli <linglix.chen@intel.com>
[-- Attachment #2: TestExternalMemory.log --]
[-- Type: application/octet-stream, Size: 11602 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit
2021-03-12 17:37 [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit Chen Lingli
2021-03-12 9:17 ` Chen, LingliX
@ 2021-03-15 7:27 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-15 7:27 UTC (permalink / raw)
To: Chen, LingliX, dts; +Cc: Chen, LingliX
> 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 <linglix.chen@intel.com>
> ---
> V2:modifie comment use git commit description style V1:modifie dts
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-15 7:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 17:37 [dts] [PATCH V2] tests/external_memory:VFIO module parameter increase the allowed limit Chen Lingli
2021-03-12 9:17 ` Chen, LingliX
2021-03-15 7:27 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).