memif: If rx/tx_queues are unset, use default values 66/7266/3
authorMilan Lenco <milan.lenco@pantheon.tech>
Thu, 22 Jun 2017 07:10:07 +0000 (09:10 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Sun, 25 Jun 2017 08:07:58 +0000 (08:07 +0000)
commit5fa72c8f1f8ec3304f6c8dc51662416b3b16936f
treecf212d05cc00d6d57527632ecfa6055d79e44558
parentaad20988b6a0a5058e520948d2a5835cfbc3b523
memif: If rx/tx_queues are unset, use default values

The standard behaviour for binary API is that zeroed arguments are
treated as if the default values were set. This way the configurator
does not need to know what default values are.
This, however, wasn't the case for rx_queues and tx_queues in
memif_create binary API message.

Change-Id: Ib588b472823f6bbb5ef12a798d68b0dda6dd2139
Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
src/plugins/memif/memif_api.c