From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 07F94A0A05; Tue, 19 Jan 2021 16:42:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FB2A140ECC; Tue, 19 Jan 2021 16:42:24 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id BA2AE140E91 for ; Tue, 19 Jan 2021 16:42:22 +0100 (CET) IronPort-SDR: dRk9wygWz8qrcu0VdS8X16tKgqmdWZkLZKf1f42cXSTZSlnYxP4dn9Ah67ogCRod/RSSugZyRp rDbztTMN6jVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9869"; a="179032603" X-IronPort-AV: E=Sophos;i="5.79,359,1602572400"; d="scan'208";a="179032603" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2021 07:42:20 -0800 IronPort-SDR: 66k9HgUy7c2BvELrpmtIdNVYa1iQcB3u50vKDgZGkC306ctuOOP/mM6ZyJEGlndoDMJ4sYT+Fm P/RNw3YHgi7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,359,1602572400"; d="scan'208";a="365786594" Received: from silpixa00399477.ir.intel.com ([10.237.214.232]) by orsmga002.jf.intel.com with ESMTP; 19 Jan 2021 07:42:18 -0800 From: Radu Nicolau To: dev@dpdk.org Cc: kumar.amber@intel.com, bruce.richardson@intel.com, kevin.laatz@intel.com, zbigniewx.sikora@intel.com, Radu Nicolau Date: Tue, 19 Jan 2021 15:38:41 +0000 Message-Id: <20210119153841.28310-1-radu.nicolau@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] raw/ioat: fix support for secondary process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Update ioat probe function to set the driver name for secondary process. Fixes: bc230b569e7f ("raw/ioat: support secondary process") Signed-off-by: Radu Nicolau --- 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