| 1 |
.. SPDX-License-Identifier: BSD-3-Clause |
| 2 |
Copyright(c) 2020 Microsoft Corporation. |
| 3 |
|
| 4 |
Compiling the NetUIO Driver from Source |
| 5 |
======================================= |
| 6 |
|
| 7 |
Operating System |
| 8 |
~~~~~~~~~~~~~~~~ |
| 9 |
|
| 10 |
The NetUIO source has been validated against the following operating systems: |
| 11 |
|
| 12 |
* Windows Server 2016 |
| 13 |
* Windows Server 2019 |
| 14 |
|
| 15 |
Hardware Requirements |
| 16 |
~~~~~~~~~~~~~~~~~~~~~ |
| 17 |
The NetUIO driver has been validated using the following network adapters on the Windows platform: |
| 18 |
|
| 19 |
* |
| 20 |
* |
| 21 |
|
| 22 |
Software Requirements |
| 23 |
~~~~~~~~~~~~~~~~~~~~~ |
| 24 |
For a list of required software tools please see the Prerequisites section in windows/README.rst. |
| 25 |
|
| 26 |
Building the NetUIO Driver |
| 27 |
-------------------------- |
| 28 |
|
| 29 |
Follow the steps below to build the NetUIO driver and install the driver for the network adapter. |
| 30 |
|
| 31 |
* Clone the dpdk-kmods repository: git clone git://dpdk.org/dpdk-kmods |
| 32 |
* Navigate to \dpdk-kmods\windows\netuio |
| 33 |
* Load netuio.sln in Microsoft Visual Studio 2017 or 2019 |
| 34 |
* Choose Release as the configuration mode and Build the solution |
| 35 |
* The resultant output files can be found in x64\Release\netuio |
| 36 |
|
| 37 |
Installing netuio.sys Driver for development |
| 38 |
-------------------------------------------- |
| 39 |
.. note:: |
| 40 |
|
| 41 |
In a development environment, NetUIO driver can be loaded by enabling test-signing. |
| 42 |
Please implement adequate precautionary measures before installing a test-signed driver, replacing a signed-driver. |
| 43 |
|
| 44 |
To ensure test-signed kernel-mode drivers can load on Windows, enable test-signing, using the following BCDEdit command. |
| 45 |
|
| 46 |
C:\windows\system32>Bcdedit.exe -set TESTSIGNING ON |
| 47 |
|
| 48 |
Windows displays the text "Test Mode" to remind users the system has test-signing enabled. |
| 49 |
Refer to the MSDN documentation on how to Test-Sign a Driver Package. |
| 50 |
|
| 51 |
To procure a WHQL signed NetUIO driver for Windows, please reach out to [email protected] |
| 52 |
|
| 53 |
* Go to Device Manager -> Network Adapters. |
| 54 |
* Right Click on target network adapter -> Select Update Driver. |
| 55 |
* Select "Browse my computer for driver software". |
| 56 |
* In the resultant window, select "Let me pick from a list of available drivers on my computer". |
| 57 |
* Select "DPDK netUIO for Network Adapter" from the list of drivers. |
| 58 |
* The NetUIO.sys driver is successfully installed. |