diff mbox series

raw/ioat: fix support for secondary process

Message ID 20210119153841.28310-1-radu.nicolau@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers show
Series raw/ioat: fix support for secondary process | expand

Checks

Context Check Description
ci/iol-testing warning Testing issues
ci/iol-abi-testing success Testing PASS
ci/iol-mellanox-Functional success Functional Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional fail Functional Testing issues
ci/iol-broadcom-Functional success Functional Testing PASS
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Nicolau, Radu Jan. 19, 2021, 3:38 p.m. UTC
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

Thomas Monjalon Jan. 27, 2021, 12:40 p.m. UTC | #1
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
diff mbox series

Patch

diff --git a/drivers/raw/ioat/ioat_rawdev.c b/drivers/raw/ioat/ioat_rawdev.c
index 77216f67f..a95854d5a 100644
--- a/drivers/raw/ioat/ioat_rawdev.c
+++ b/drivers/raw/ioat/ioat_rawdev.c
@@ -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),