Re: [dpdk-dev] [PATCH] mlx5: fix log initialization

2018-06-17 Thread Shahaf Shuler
Thursday, June 14, 2018 9:46 AM, Nélio Laranjeiro: > Subject: Re: [dpdk-dev] [PATCH] mlx5: fix log initialization > > On Wed, Jun 13, 2018 at 11:46:26AM -0700, Stephen Hemminger wrote: > > The mlx5 driver had two init functions, but this could cause log > > initialization

Re: [dpdk-dev] [PATCH] mlx5: fix log initialization

2018-06-13 Thread Nélio Laranjeiro
On Wed, Jun 13, 2018 at 11:46:26AM -0700, Stephen Hemminger wrote: > The mlx5 driver had two init functions, but this could > cause log initialization to be done after the > other initialization. Also, the name of the function does > not match convention (cut/paste error?). Indeed an error in the

[dpdk-dev] [PATCH] mlx5: fix log initialization

2018-06-13 Thread Stephen Hemminger
The mlx5 driver had two init functions, but this could cause log initialization to be done after the other initialization. Also, the name of the function does not match convention (cut/paste error?). Fix by initializing log type first at start of the pmd_init. This also gets rid of having two cons