Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Stephen Hemminger
On Thu, 18 Jul 2019 15:36:45 +0100 Bruce Richardson wrote: > On Thu, Jul 18, 2019 at 07:34:59AM -0700, Stephen Hemminger wrote: > > On Thu, 18 Jul 2019 09:31:11 +0100 > > Bruce Richardson wrote: > > > > > On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > > > > In general,

Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Stephen Hemminger
On Thu, 18 Jul 2019 15:36:45 +0100 Bruce Richardson wrote: > On Thu, Jul 18, 2019 at 07:34:59AM -0700, Stephen Hemminger wrote: > > On Thu, 18 Jul 2019 09:31:11 +0100 > > Bruce Richardson wrote: > > > > > On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > > > > In general,

Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Bruce Richardson
On Thu, Jul 18, 2019 at 07:34:59AM -0700, Stephen Hemminger wrote: > On Thu, 18 Jul 2019 09:31:11 +0100 > Bruce Richardson wrote: > > > On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > > > In general, DPDK libraries to not print error messages to > > > stdout because that is o

Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Stephen Hemminger
On Thu, 18 Jul 2019 09:31:11 +0100 Bruce Richardson wrote: > On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > > In general, DPDK libraries to not print error messages to > > stdout because that is often redirected to /dev/null for daemons. > > This patch changes cfgfile librar

Re: [dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-18 Thread Bruce Richardson
On Wed, Jul 17, 2019 at 05:48:21PM -0700, Stephen Hemminger wrote: > In general, DPDK libraries to not print error messages to > stdout because that is often redirected to /dev/null for daemons. > This patch changes cfgfile library to use RTE_LOG with its > own type. > > Signed-off-by: Stephen Hem

[dpdk-dev] [PATCH v2 2/3] cfgfile: use RTE_LOG for errors

2019-07-17 Thread Stephen Hemminger
In general, DPDK libraries to not print error messages to stdout because that is often redirected to /dev/null for daemons. This patch changes cfgfile library to use RTE_LOG with its own type. Signed-off-by: Stephen Hemminger --- lib/librte_cfgfile/Makefile | 1 + lib/librte_cfgfile/rte_cf