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/Chart.yaml b/omec/omec-data-plane-cni/Chart.yaml
index 89ce295..be46241 100644
--- a/omec/omec-data-plane-cni/Chart.yaml
+++ b/omec/omec-data-plane-cni/Chart.yaml
@@ -18,4 +18,4 @@
 name: omec-data-plane-cni
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 1.0.1
+version: 1.0.2
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"]
           }
         }
diff --git a/omec/omec-data-plane-cni/values.yaml b/omec/omec-data-plane-cni/values.yaml
index 9b0d814..a7346e5 100644
--- a/omec/omec-data-plane-cni/values.yaml
+++ b/omec/omec-data-plane-cni/values.yaml
@@ -15,7 +15,7 @@
 images:
   tags:
     omecCni: docker.io/omecproject/omec-cni:1.0.0
-    sriovPlugin: docker.io/nfvpe/sriov-device-plugin:v3.0.0
+    sriovPlugin: docker.io/nfvpe/sriov-device-plugin:v3.1
   pullPolicy: IfNotPresent
 
 config:
@@ -24,10 +24,13 @@
     # If your cluster has multiple nodes with different interface names,
     # simply provide the whole list
     resourceList:
-      # Provide PF name with its VFs are bounded to vfio-pci driver
+      # Provide PF name with VF range for S1U and SGI interfaces.
+      # Note that VF range of S1U must be smaller than SGI's.
       vfio:
-        pfNames:
-          - eno1
+        s1uPfNames:
+          - eno1#0-3
+        sgiPfNames:
+          - eno1#4-7
       # Provide PF name with its VFs bounded to PF's driver
       # The driver name must be specified to prevent one interface is
       # registered to both vfio and netdevice resource pools