diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-04-18 17:09:33 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-04-20 06:21:08 +0000 |
commit | c8b2f57cd09355e0e89e6b9d28930281573bec23 (patch) | |
tree | 2563175656f64641646c71b44dd2bd5a1ce067d8 /resources/templates | |
parent | bb81ef05b86154d000128ef15bd3ecffe997ef9a (diff) |
FIX: Configure number of memif queus properly
Change-Id: I2dcb0300829bc961c80cc30d972d0563aeba9364
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/templates')
-rw-r--r-- | resources/templates/vat/memif_create.vat | 2 | ||||
-rw-r--r-- | resources/templates/vat/memif_create_cnt.vat | 4 |
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} |