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 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 copy/paste, sorry, > > > Fix by initializing log type first at start of the pmd_init. > > This also gets rid of having two constructor functions. > > > > Fixes: a170a30d22a8 ("net/mlx5: use dynamic logging") > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > > Acked-by: Nelio Laranjeiro <nelio.laranje...@6wind.com> >
Applied to next-net-mlx with few log modifications: 1. title should be net/mlx5 2. Cc: sta...@dpdk.org Thanks.