aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vat
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vat')
-rw-r--r--resources/templates/vat/memif_create.vat2
-rw-r--r--resources/templates/vat/memif_create_cnt.vat4
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/templates/vat/memif_create.vat b/resources/templates/vat/memif_create.vat
index d9f2937029..1e9d0e8a6a 100644
--- a/resources/templates/vat/memif_create.vat
+++ b/resources/templates/vat/memif_create.vat
@@ -1 +1 @@
-memif_create id {id} socket-id {socket} {role}
+memif_create id {id} socket-id {socket} {role} rx-queues {rxq} tx-queues {txq}
diff --git a/resources/templates/vat/memif_create_cnt.vat b/resources/templates/vat/memif_create_cnt.vat
index f0d847b29b..306df83c57 100644
--- a/resources/templates/vat/memif_create_cnt.vat
+++ b/resources/templates/vat/memif_create_cnt.vat
@@ -1,9 +1,9 @@
create memif socket id {sid1} filename /mnt/host/{socket1}
-create interface memif id {mid1} socket-id {sid1} slave
+create interface memif id {mid1} socket-id {sid1} master
set int state memif{sid1}/{mid1} up
create memif socket id {sid2} filename /mnt/host/{socket2}
-create interface memif id {mid2} socket-id {sid2} slave
+create interface memif id {mid2} socket-id {sid2} master
set int state memif{sid2}/{mid2} up
set interface l2 xconnect memif{sid2}/{mid2} memif{sid1}/{mid1}