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

Stephen Hemminger stephen at networkplumber.org
Fri Aug 5 17:35:29 CEST 2022


On Fri, 5 Aug 2022 11:10:22 +0800
Huisong Li <lihuisong at huawei.com> 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 driver to kernel driver on
> platform with kernel 5.19. The 'driver_override' must be specify
> kernel driver before binding device to kernel driver.
> 
> Fixes: 720b7a058260 ("usertools: fix device binding with kernel tools")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Huisong Li <lihuisong at huawei.com>

Not sure exactly what you did and why.
The patch seems to just remove the check that the driver
is in the set of dpdk_drivers.


More information about the dev mailing list