dpdk: pass log-level configuration to EAL 17/18217/2
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 12 Mar 2019 16:47:16 +0000 (09:47 -0700)
committerDamjan Marion <dmarion@me.com>
Tue, 12 Mar 2019 19:10:30 +0000 (19:10 +0000)
commit890fab2c8245d5475307fbc45b5c232d07cc4337
tree821345a49b6049001242f2e03bd8f95d4a4b2d0c
parent80965f599aa90288c8c139e7e3a31726b89eb9a4
dpdk: pass log-level configuration to EAL

The log-level dpdk config value should be transparently
forwarded to DPDK via EAL argument.  Since DPDK now supports
naming log-levels, VPP no longer needs to parse and call
rte_set_loglevel().

This was the other part of the DPDK log-level change.
It must have got missed during my initial checkin.
Without it passing dynamic log-level values like are silently
ignored.

Fixes: 6ca6ac6c887e ("dpdk: support passing log-level")
Change-Id: I732cec5f638c9924e3ffb04c4753f957e3633d64
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
src/plugins/dpdk/device/dpdk.h
src/plugins/dpdk/device/format.c
src/plugins/dpdk/device/init.c