Re: [dpdk-dev] [PATCH 3/7] net/mlx5: split PCI from generic probing code

2018-06-12 Thread Adrien Mazarguil
On Sun, Jun 10, 2018 at 12:59:06PM +, Xueming(Steven) Li wrote: > Hi Adrien, > > The logic looks much more clear now with the split. > > - len = snprintf(name, sizeof(name), PCI_PRI_FMT, > > -pci_dev->addr.domain, pci_dev->addr.bus, > > -pci_d

Re: [dpdk-dev] [PATCH 3/7] net/mlx5: split PCI from generic probing code

2018-06-10 Thread Xueming(Steven) Li
Hi Adrien, The logic looks much more clear now with the split. > -Original Message- > From: dev On Behalf Of Adrien Mazarguil > Sent: Saturday, May 26, 2018 12:35 AM > To: Shahaf Shuler > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 3/7] net/mlx5: split PCI from ge

[dpdk-dev] [PATCH 3/7] net/mlx5: split PCI from generic probing code

2018-05-25 Thread Adrien Mazarguil
All the generic probing code needs is an IB device. While this device is currently supplied by a PCI lookup, other methods will be added soon. This patch divides the original function, which has become huge over time, as follows: 1. PCI-specific (mlx5_pci_probe()). 2. All ports of a Verbs device