DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process
@ 2021-01-19 15:38 Radu Nicolau
  2021-01-27 12:40 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Radu Nicolau @ 2021-01-19 15:38 UTC (permalink / raw)
  To: dev
  Cc: kumar.amber, bruce.richardson, kevin.laatz, zbigniewx.sikora,
	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>
---
 drivers/raw/ioat/ioat_rawdev.c | 1 +
 1 file changed, 1 insertion(+)

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),
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process
  2021-01-19 15:38 [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process Radu Nicolau
@ 2021-01-27 12:40 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2021-01-27 12:40 UTC (permalink / raw)
  To: Radu Nicolau
  Cc: dev, kumar.amber, bruce.richardson, kevin.laatz, zbigniewx.sikora

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-27 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 15:38 [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process Radu Nicolau
2021-01-27 12:40 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).