EDGEPOD-83 Assign lower VFs to S1U interface than SGI interface
NGIC-DP assumes lower port interface is S1U but if it is not the
case, user packets are considered as spoofed packet and dropped.
Change-Id: Ie02bb2cb7697ed8a5bb469706786a0a8cd7bc607
diff --git a/omec/omec-data-plane-cni/templates/configmap-sriov-conf.yaml b/omec/omec-data-plane-cni/templates/configmap-sriov-conf.yaml
index 6b625ed..2099c34 100644
--- a/omec/omec-data-plane-cni/templates/configmap-sriov-conf.yaml
+++ b/omec/omec-data-plane-cni/templates/configmap-sriov-conf.yaml
@@ -25,9 +25,16 @@
{
"resourceList": [
{
- "resourceName": "sriov_vfio",
+ "resourceName": "sriov_vfio_s1u_net",
"selectors": {
- "pfNames": {{ toJson .Values.config.sriov.resourceList.vfio.pfNames }},
+ "pfNames": {{ toJson .Values.config.sriov.resourceList.vfio.s1uPfNames }},
+ "drivers": ["vfio-pci"]
+ }
+ },
+ {
+ "resourceName": "sriov_vfio_sgi_net",
+ "selectors": {
+ "pfNames": {{ toJson .Values.config.sriov.resourceList.vfio.sgiPfNames }},
"drivers": ["vfio-pci"]
}
}