summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2019-09-11 10:21:17 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-07 20:49:18 +0000
commitbe50f64a751e86f06277dcfadd302c5311cf7634 (patch)
tree3581c7fdbe1cabe5bad9253d1fe7528869cb7666 /src
parent8ae62b712329d04e685ef7fecac7e843c4f0e8e7 (diff)
memif: fix zero-copy arg overwrite
Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I9a34465c85597baecdbc672ce395265f7dbb7f00 (cherry picked from commit 8a1dea4ce6fd0684aef6d0b0843a90658775129d)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/memif/memif_api.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/memif/memif_api.c b/src/plugins/memif/memif_api.c
index 07990279fd4..ebe7a35c820 100644
--- a/src/plugins/memif/memif_api.c
+++ b/src/plugins/memif/memif_api.c
@@ -144,9 +144,6 @@ 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)
{