DPDK patches and discussions
 help / color / mirror / Atom feed
From: Radu Nicolau <radu.nicolau@intel.com>
To: dev@dpdk.org
Cc: kumar.amber@intel.com, bruce.richardson@intel.com,
	kevin.laatz@intel.com, zbigniewx.sikora@intel.com,
	Radu Nicolau <radu.nicolau@intel.com>
Subject: [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process
Date: Tue, 19 Jan 2021 15:38:41 +0000	[thread overview]
Message-ID: <20210119153841.28310-1-radu.nicolau@intel.com> (raw)

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


             reply	other threads:[~2021-01-19 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-19 15:38 Radu Nicolau [this message]
2021-01-27 12:40 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210119153841.28310-1-radu.nicolau@intel.com \
    --to=radu.nicolau@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=kevin.laatz@intel.com \
    --cc=kumar.amber@intel.com \
    --cc=zbigniewx.sikora@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).