git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d406c
)
raw/ioat: fix driver name in secondary process
author
Radu Nicolau
<radu.nicolau@intel.com>
Tue, 19 Jan 2021 15:38:41 +0000
(15:38 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 27 Jan 2021 12:42:40 +0000
(13:42 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/raw/ioat/ioat_rawdev.c
b/drivers/raw/ioat/ioat_rawdev.c
index
77216f6
..
a95854d
100644
(file)
--- 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),