Re: [dpdk-dev] [PATCH v2 2/3] bus/pci: expose sysfs parsing API

2018-03-21 Thread Wang, Xiao W
, Rosen ; Daly, > Dan ; Liang, Cunming ; > Burakov, Anatoly ; gaetan.ri...@6wind.com > Subject: Re: [dpdk-dev] [PATCH v2 2/3] bus/pci: expose sysfs parsing API > > 21/03/2018 14:21, Xiao Wang: > > Some existing sysfs parsing functions are helpful for the later vDPA > >

Re: [dpdk-dev] [PATCH v2 2/3] bus/pci: expose sysfs parsing API

2018-03-21 Thread Thomas Monjalon
21/03/2018 14:21, Xiao Wang: > Some existing sysfs parsing functions are helpful for the later vDPA > driver, this patch make them global and expose them to shared lib. > > Signed-off-by: Xiao Wang > --- > /* parse driver */ > snprintf(filename, sizeof(filename), "%s/driver", dirname)

[dpdk-dev] [PATCH v2 2/3] bus/pci: expose sysfs parsing API

2018-03-20 Thread Xiao Wang
Some existing sysfs parsing functions are helpful for the later vDPA driver, this patch make them global and expose them to shared lib. Signed-off-by: Xiao Wang --- v2: - Rename function pci_get_kernel_driver_by_path to rte_pci_device_kdriver_name to make the API generic cross Linux and BSD, ma