Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation

2018-05-15 Thread Thomas Monjalon
15/05/2018 12:41, Andy Green: > On 05/15/2018 06:31 PM, Jerin Jacob wrote: > >> [dpdk-dev] [PATCH] bus/pci: correct the earlier strlcpy conversion​ > > > > I am fine with taking any of the of the patch. Please improve the patch > > subject > > and bug description in case if you prefer to take yo

Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation

2018-05-15 Thread Andy Green
On 05/15/2018 06:31 PM, Jerin Jacob wrote: -Original Message- Date: Tue, 15 May 2018 18:19:19 +0800 From: Andy Green To: Jerin Jacob , dev@dpdk.org CC: tho...@monjalon.net, ferruh.yi...@intel.com, Pablo de Lara Subject: Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string

Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation

2018-05-15 Thread Jerin Jacob
-Original Message- > Date: Tue, 15 May 2018 18:19:19 +0800 > From: Andy Green > To: Jerin Jacob , dev@dpdk.org > CC: tho...@monjalon.net, ferruh.yi...@intel.com, Pablo de Lara > > Subject: Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation > User-Ag

Re: [dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation

2018-05-15 Thread Andy Green
On 05/15/2018 06:03 PM, Jerin Jacob wrote: sizeof(dri_name) is 8B on 64Bit systems.The intended operation is coping the string after '/' from the string `name`. This bug is not letting to probe any device string >8B hence results in the testpmd error("No ethernet devices found) on some PMDs.

[dpdk-dev] [PATCH] bus/pci: fix driver name string manipulation

2018-05-15 Thread Jerin Jacob
sizeof(dri_name) is 8B on 64Bit systems.The intended operation is coping the string after '/' from the string `name`. This bug is not letting to probe any device string >8B hence results in the testpmd error("No ethernet devices found) on some PMDs. Cc: Andy Green Cc: Pablo de Lara Fixes: fe5f