Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-11 Thread Krzysztof Kozlowski
On 09/08/2022 20:58, Stephen Hemminger wrote: >> >> However, due to the patch[1] merged into 5.19 kernel, 'driver_override' >> in the pci_dev is no longer NULL by writing '\00' to driver_override file. >> This causes PCI match device failure and the device will never be bound to >> their kernel dri

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-11 Thread Krzysztof Kozlowski
On 09/08/2022 14:44, lihuisong (C) wrote: > > 在 2022/8/5 23:35, Stephen Hemminger 写道: >> On Fri, 5 Aug 2022 11:10:22 +0800 >> Huisong Li wrote: >> >>> Currently, the steps for binding device from dpdk driver to kernel >>> driver is as follows: >>> echo $BDF > /sys/bus/pci/drivers/vfio-pci/unbind

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-10 Thread Stephen Hemminger
On Wed, 10 Aug 2022 09:02:57 +0300 Krzysztof Kozlowski wrote: > On 09/08/2022 20:58, Stephen Hemminger wrote: > >> > >> However, due to the patch[1] merged into 5.19 kernel, 'driver_override' > >> in the pci_dev is no longer NULL by writing '\00' to driver_override file. > >> This causes PCI matc

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-10 Thread Stephen Hemminger
On Wed, 10 Aug 2022 08:59:15 +0300 Krzysztof Kozlowski wrote: > On 09/08/2022 14:44, lihuisong (C) wrote: > > > > 在 2022/8/5 23:35, Stephen Hemminger 写道: > >> On Fri, 5 Aug 2022 11:10:22 +0800 > >> Huisong Li wrote: > >> > >>> Currently, the steps for binding device from dpdk driver to kern

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-09 Thread Stephen Hemminger
On Tue, 9 Aug 2022 19:44:41 +0800 "lihuisong (C)" wrote: > 在 2022/8/5 23:35, Stephen Hemminger 写道: > > On Fri, 5 Aug 2022 11:10:22 +0800 > > Huisong Li wrote: > > > >> Currently, the steps for binding device from dpdk driver to kernel > >> driver is as follows: > >> echo $BDF > /sys/bus/pci/dr

Re: [PATCH] usertools: fix bind failure from dpdk to kernel

2022-08-05 Thread Stephen Hemminger
On Fri, 5 Aug 2022 11:10:22 +0800 Huisong Li wrote: > Currently, the steps for binding device from dpdk driver to kernel > driver is as follows: > echo $BDF > /sys/bus/pci/drivers/vfio-pci/unbind > echo $BDF > /sys/bus/pci/drivers/$kernel_driver/bind > > This steps cannot bind device from dpdk d