netdev-dpdk: Check dpdk-extra when reading db
authorAaron Conole <aconole@redhat.com>
Fri, 29 Apr 2016 17:44:05 +0000 (13:44 -0400)
committerDaniele Di Proietto <diproiettod@vmware.com>
Fri, 29 Apr 2016 22:07:39 +0000 (15:07 -0700)
commit52a57e36afc5caf8221f1430ccced31f288f2fb0
treef0ab493615db3bb70b2ecfd9bf2ffe0474b5e6c6
parenteac84432a4785b9353071ffa74daa48dc29ad0b3
netdev-dpdk: Check dpdk-extra when reading db

A previous patch introduced the ability to pass arbitrary EAL command
line options via the dpdk_extras database entry. This commit enhances
that by warning the user when such a configuration is detected and
prefering the value in the database.

Suggested-by: Sean K Mooney <sean.k.mooney@intel.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Tested-by: Sean K Mooney <sean.k.mooney@intel.com>
Tested-by: Kevin Traynor <kevin.traynor@intel.com>
Acked-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/netdev-dpdk.c