memif: fix zero-copy arg overwrite
Type: fix Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com> Change-Id: I9a34465c85597baecdbc672ce395265f7dbb7f00
This commit is contained in:

committed by
Dave Barach

parent
3d1ef873da
commit
8a1dea4ce6
@ -149,9 +149,6 @@ vl_api_memif_create_t_handler (vl_api_memif_create_t * mp)
|
|||||||
|
|
||||||
args.is_zero_copy = mp->no_zero_copy ? 0 : 1;
|
args.is_zero_copy = mp->no_zero_copy ? 0 : 1;
|
||||||
|
|
||||||
/* enable zero-copy */
|
|
||||||
args.is_zero_copy = 1;
|
|
||||||
|
|
||||||
/* rx/tx queues */
|
/* rx/tx queues */
|
||||||
if (args.is_master == 0)
|
if (args.is_master == 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user