Allow empty DPDK device init config 57/3657/2
authorPierre Pfister <ppfister@cisco.com>
Wed, 2 Nov 2016 10:06:49 +0000 (10:06 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 2 Nov 2016 12:00:11 +0000 (12:00 +0000)
commit446e1f577b75f99aced8abb035a9d1bba917e89a
treec6810928dff4dda53d0d01e55af4cd7beefe3b49
parent77766a12e335042f297f07ab4b184af1b742f1d7
Allow empty DPDK device init config

This patch allows for empty dpdk device configuration
such as: dpdk { dev 0000:0a:00.0 { } }

Instead of exiting.

Change-Id: If9488eecc7fb1e0b5c6626f9c074649b39b727d3
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/dpdk/init.c