raw/ioat: fix support for secondary process
Checks
Commit Message
Update ioat probe function to set the driver name for
secondary process.
Fixes: bc230b569e7f ("raw/ioat: support secondary process")
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
drivers/raw/ioat/ioat_rawdev.c | 1 +
1 file changed, 1 insertion(+)
Comments
19/01/2021 16:38, Radu Nicolau:
> Update ioat probe function to set the driver name for
> secondary process.
>
> Fixes: bc230b569e7f ("raw/ioat: support secondary process")
>
> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Applied, thanks
@@ -179,6 +179,7 @@ ioat_rawdev_create(const char *name, struct rte_pci_device *dev)
rawdev->dev_private = mz->addr;
rawdev->dev_ops = &ioat_rawdev_ops;
rawdev->device = &dev->device;
+ rawdev->driver_name = dev->device.driver->name;
return 0;
}
mz = rte_memzone_reserve(mz_name, sizeof(struct rte_ioat_rawdev),