From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 4C0571BE70 for ; Wed, 4 Jul 2018 00:15:47 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id v16-v6so3797683wmv.5 for ; Tue, 03 Jul 2018 15:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=; b=s3gBWF9qzXVro5as+jT0kkI26AJMWJ+CEhwJOCtK/LUtZsUVUlz64O1mIpkSEsk3ts 5UtxJ8XUkD47UBku9hmaR4hEQpX4GcRusQ0g9+05zHYKo1xZquntcYvgR+WsnHPK5Y0B lGGQ1tjI08q+0tHIDpXlK+AbN/j6TTtVFlKl2AY1iwouuyBibaqZKtdAy4kXs96Cis68 LvddOS8Kt85MSSK/z9fIOXKZbKKjvnP3vN2Zc3a9MyvQ2DHYdNj61d65I54y6z0kxnwF 1yzZd+XpXvB3Y8X8URjYJKNOZrZjfhgm4WCjYJr8iGUCeP7miWZTDmReLjG/a1AgmUDk 4BKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=; b=bMgIfu/sVxkJQdXnxcCJTTe8CEpn1YgYXFICKSmvEkxZebLMbOcWFNEDoAbYZRUxQI LYtVZmY713M4wm3A/CT5pkH3K77bGN/pUkIdu3pXBtw853GxqrnlAZ17+D1tNV8NtCS8 F8aG9IBskWqVUTGTvz5EbMOB4nSDJISweoxNFDtem/Qif95kg7gZjdbUofLDbImq0M4B oVTOeunpquWMeC4efoTezUY3Uo4jWUakOFC9eygIqKR4KQ/JsCuPjFtFyiGS/1YpH4Ex 17hq18hoGmQ7OyFCHMkIvYDIE9BImzPOMM3Hq7+8Av/I7E5iynTYypit+Ome2L1TUx52 rG4w== X-Gm-Message-State: APt69E2oTe+8KIchiusVso8tm/7uk8h4NKCwAIbh4V/UsluVwja25uQh 6yQ8Oj036RGCvPg3gwinyEaMUjrx X-Google-Smtp-Source: AAOMgpcIxQa7lPefhJQlvsrb2KNjmq8ZE3j04db9o2Bf8LqvUiF4g0vO4HPFOB0NGTm+s1UFH8Nqpg== X-Received: by 2002:a1c:6f06:: with SMTP id k6-v6mr2255755wmc.1.1530656146605; Tue, 03 Jul 2018 15:15:46 -0700 (PDT) Received: from bidouze.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id i190-v6sm3771084wmd.33.2018.07.03.15.15.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 15:15:45 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 4 Jul 2018 00:14:53 +0200 Message-Id: <9ce812b5b2bb8bfc84893ac1adb4af6951715d8d.1530655929.git.gaetan.rivet@6wind.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v9 10/27] eal/class: add device iteration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 22:15:47 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/include/rte_class.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h index e8176f5e1..9d5b06807 100644 --- a/lib/librte_eal/common/include/rte_class.h +++ b/lib/librte_eal/common/include/rte_class.h @@ -30,6 +30,7 @@ TAILQ_HEAD(rte_class_list, rte_class); struct rte_class { TAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */ const char *name; /**< Name of the class */ + rte_dev_iterate_t dev_iterate; /**< Device iterator. */ }; /** -- 2.11.0