aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/memif/memif_api.c3
1 files changed, 3 insertions, 0 deletions
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)
{