-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sebastian Sch <[email protected]>
- Loading branch information
Showing
4 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## E2E conformance test | ||
|
||
It's possible to use QEMU to test the SR-IOV operator on a virtual kubernetes/openshift cluster. | ||
Using the IGB model network driver allow to create virtual functions on the virtual system | ||
|
||
## How to test | ||
|
||
First you will need to enable the `DEV_MOD` via the operator environment variable. | ||
Second step is to add the intel virtual nic to the supported nics configmap. | ||
|
||
``` | ||
Intel_ixgbe_82576: 8086 10c9 10ca | ||
``` | ||
|
||
Another requirement is to load the vfio kernel module with no_iommu configuration. Example systemd: | ||
|
||
``` | ||
[Unit] | ||
Description=vfio no-iommu | ||
Before=kubelet.service crio.service node-valid-hostname.service | ||
[Service] | ||
# Need oneshot to delay kubelet | ||
Type=oneshot | ||
ExecStart=/usr/bin/bash -c "modprobe vfio enable_unsafe_noiommu_mode=1" | ||
StandardOutput=journal+console | ||
StandardError=journal+console | ||
[Install] | ||
WantedBy=network-online.target | ||
``` | ||
|
||
# TBD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters