From patchwork Tue Jun 26 16:56:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABtan_Rivet?= X-Patchwork-Id: 41595 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D8CB01BE33; Tue, 26 Jun 2018 18:57:10 +0200 (CEST) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 584DD1BE0E for ; Tue, 26 Jun 2018 18:57:00 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id k6-v6so17966618wrp.4 for ; Tue, 26 Jun 2018 09:57:00 -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=kuD0vLUZsyy4dmoopu1G7bJee8n/EDfiLLxlo9KwnKpu2VZMPxv640NOUoOOgbgAWc wZZt8P2tJX++GJehauT+XZDKkGVCst8nLF5nldUOGkPV52zBtZqsRoQIu7tGGISuaYX/ 2tWtxBHJPQ0r2YakyNzQddQ+UoK2UzBDmiwMPzaGtYUk0QzG4byMGg8/Iod7k+7gjemv o/A6fOgbNZX1wDIsTcJCcjy4Ahu/nqcTHJM/TzutHtkrXGquioVe5QTj34O0lvguyR87 M0hWv4leGhV6zJEJz7rmRJ6Hzm1cbGx9joppmEqs+eLR9tcxs6cxLo+3otsoGvC0nnX8 qJlA== 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=T/ve/VD4/1AFcFrTqUgXQU05DcA87nX1LORfdXEyXU65dKrGPxa9KY26/mLrLO2zXY 4n9zXJPpi24dJb3OjG4foYjbxrzTQ56fDmyDZ/g0op5WL7k/6J54UwoBqJmnXGWToX4T Xz4SCf7fjylaVGGv7DtcDszVJwH7r3Yc/UOV/pawCDC+ZEZi3tGRlpp0FYQ6hhtTSJ6X Emk7b1/AXUco52HPZeT/A3ykM3cqe67Y/vjxhgqZfeclOOk85+oj7zGV0zJhg/78kP1b wFzmsA5WMjCkCDlCDhQig2sRCaIfMmOvyrPQzLv2swupXY8iwcVF85z4VFRRjOHhY7WE I4nQ== X-Gm-Message-State: APt69E3ki7ZHhDcKJiMw1x/qn8kq1vpZOhfVsAiKyJEBXsMy/SxWCAj0 Ud96xfYk7uGBvqQdMgCNguDLFolM X-Google-Smtp-Source: AAOMgpeQAWMODHmSDR/JNWweVqVkopjBdjD45ISRBQOxrDw3t1iAU0nXwNj0k/aA/7IOm12k7WCCuQ== X-Received: by 2002:adf:984e:: with SMTP id v72-v6mr2180232wrb.180.1530032219646; Tue, 26 Jun 2018 09:56:59 -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 p5-v6sm2680880wre.83.2018.06.26.09.56.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 09:56:58 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 26 Jun 2018 18:56:12 +0200 Message-Id: <9c285781f619fdeebc617e4c7742086a307c5f47.1530031921.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 v8 09/21] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. */ }; /**