Added with Accelleran vbbu's template

Change-Id: Ie78924c9ecd9f8c3fd8cdb84820b3d714077f086
diff --git a/mcord/mcord-data-plane/templates/dp.yaml b/mcord/mcord-data-plane/templates/dp.yaml
index 000dca3..4bdf14f 100644
--- a/mcord/mcord-data-plane/templates/dp.yaml
+++ b/mcord/mcord-data-plane/templates/dp.yaml
@@ -80,8 +80,8 @@
               divisor: 1Mi
         command: [ "bash",  "-xc"]
         args:
-        - ifconfig -a;
-          ifconfig lo down;
+        - ifconfig lo down;
+          ifconfig -a;
           . /opt/ngic/config/dp_config.cfg;
           ./ngic_dataplane $EAL_ARGS -- $APP_ARGS
         volumeMounts:
@@ -101,7 +101,9 @@
         {{- end}}
         resources:
           limits:
+            {{- if .Values.ngic_dp.config.hugepage_enabled}}
             hugepages-1Gi: {{ .Values.ngic_dp.resources.hugepage }}
+            {{- end}}
             cpu: {{ .Values.ngic_dp.resources.cpu }}
             memory: {{ .Values.ngic_dp.resources.mem }}
             intel.com/sriov: '2'
@@ -118,7 +120,7 @@
         - name: config-volume
           configMap:
             name: ngicdp-config
-        {{- if .Values.ngic_dp.config.hugepage_enabled }}
+        {{- if .Values.ngic_dp.config.hugepage_enabled}}
         - name: hugepage
           emptyDir:
             medium: HugePages