memif: fix zero-copy arg overwrite 44/28144/7
authorJakub Grajciar <[email protected]>
Wed, 11 Sep 2019 08:21:17 +0000 (10:21 +0200)
committerAndrew Yourtchenko <[email protected]>
Fri, 7 Aug 2020 20:49:18 +0000 (20:49 +0000)
Type: fix

Signed-off-by: Jakub Grajciar <[email protected]>
Change-Id: I9a34465c85597baecdbc672ce395265f7dbb7f00
(cherry picked from commit 8a1dea4ce6fd0684aef6d0b0843a90658775129d)

src/plugins/memif/memif_api.c

index 0799027..ebe7a35 100644 (file)
@@ -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)
     {