Re: [dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-27 Thread Shahaf Shuler
Wednesday, June 27, 2018 4:31 PM, Adrien Mazarguil: > Subject: Re: [PATCH v2 2/7] net/mlx5: remove redundant objects in probe > code > > Hey Shahaf, > > I couldn't reply earlier, sorry for that. See below. > > On Sun, Jun 17, 2018 at 10:14:01AM +, Shahaf Shuler wrote: > > Hi Adrien, > > > >

Re: [dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-27 Thread Adrien Mazarguil
Hey Shahaf, I couldn't reply earlier, sorry for that. See below. On Sun, Jun 17, 2018 at 10:14:01AM +, Shahaf Shuler wrote: > Hi Adrien, > > Small nit, > > Thursday, June 14, 2018 11:35 AM, Adrien Mazarguil: > > Subject: [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code > >

Re: [dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-17 Thread Shahaf Shuler
Hi Adrien, Small nit, Thursday, June 14, 2018 11:35 AM, Adrien Mazarguil: > Subject: [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code > > This patch gets rid of redundant calls to open the device and query its > attributes in order to simplify the code. > > Signed-off-by: Adrie

Re: [dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-16 Thread Xueming(Steven) Li
> -Original Message- > From: dev On Behalf Of Adrien Mazarguil > Sent: Thursday, June 14, 2018 4:35 PM > To: Shahaf Shuler > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in > probe code > > This patch gets rid of

[dpdk-dev] [PATCH v2 2/7] net/mlx5: remove redundant objects in probe code

2018-06-14 Thread Adrien Mazarguil
This patch gets rid of redundant calls to open the device and query its attributes in order to simplify the code. Signed-off-by: Adrien Mazarguil -- v2 changes: - Minor indent fix on existing code. --- drivers/net/mlx5/mlx5.c | 64 +--- 1 file changed, 30