Skip to contentSkip to conversation

raw/ioat: fix support for secondary process

PATCH Applied Radu Nicolau 2 participants 2 messages Jan 19, 2021 – Jan 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 raw/ioat: fix support for secondary process

Update ioat probe function to set the driver name for secondary process.

Fixes bc230b569e7f ("raw/ioat: support secondary process")
---
 drivers/raw/ioat/ioat_rawdev.c | 1 +
 1 file changed, 1 insertion(+)
drivers/raw/ioat/ioat_rawdev.c +1 -0
index 77216f67f..a95854d5a 100644
@@ -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),
Signature · 1 line
2.17.1
#1 lore raw

19/01/2021 16:38, Radu Nicolau:

Quoted 6 lines

Update ioat probe function to set the driver name for secondary process.

Fixes bc230b569e7f ("raw/ioat: support secondary process")

Applied, thanks