[dpdk-dev] [PATCH 19/22] Enable DMA remapping through INF directive

Narcisa Ana Maria Vasile navasile at linux.microsoft.com
Fri Aug 14 01:21:42 CEST 2020


From: Narcisa Vasile <navasile at microsoft.com>

---
 kernel/windows/netuio/netuio.inf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kernel/windows/netuio/netuio.inf b/kernel/windows/netuio/netuio.inf
index 4f0dae114..419da53d3 100644
--- a/kernel/windows/netuio/netuio.inf
+++ b/kernel/windows/netuio/netuio.inf
@@ -91,6 +91,7 @@ ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
 StartType      = 3               ; SERVICE_DEMAND_START
 ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
 ServiceBinary  = %12%\netuio.sys
+AddReg         = DMAr.reg
 
 [DestinationDirs]
 DefaultDestDir = 12
@@ -120,3 +121,6 @@ F153B.netuio.Description = "DPDK netUIO for Intel(R) Ethernet Connection I217-V"
 F16D7.netuio.Description = "DPDK netUIO for Broadcom P225p NetXtreme-E Dual-port 10Gb/25Gb Ethernet PCIe Adapter"
 netuio.DeviceDesc = "netuio Device"
 netuio.SVCDESC = "netuio Service"
+
+[DMAr.reg]
+HKR,Parameters,DmaRemappingCompatible,0x00010001,1
-- 
2.23.0.vfs.1.1.63.g5a5ad7f



More information about the dev mailing list