From 63882357549a39c7be4b23b48418b8febb5b0e12 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Wed, 4 Sep 2019 10:32:49 +0200 Subject: memif: always enable zero-copy when creating memif using API Type: fix Signed-off-by: Jakub Grajciar Change-Id: I823b6297e1d2bdd438633ec7b877960e6d8423fa --- src/plugins/memif/memif_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/memif/memif_api.c b/src/plugins/memif/memif_api.c index ebe7a35c820..07990279fd4 100644 --- a/src/plugins/memif/memif_api.c +++ b/src/plugins/memif/memif_api.c @@ -144,6 +144,9 @@ vl_api_memif_create_t_handler (vl_api_memif_create_t * mp) /* mode */ args.mode = mp->mode; + /* enable zero-copy */ + args.is_zero_copy = 1; + /* rx/tx queues */ if (args.is_master == 0) { -- cgit 1.2.3-korg