From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id CE3B87CBA for ; Wed, 21 Mar 2018 18:16:07 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id t6so11256925wmt.5 for ; Wed, 21 Mar 2018 10:16:07 -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=h7sS7mgBWoax4YD1HyIL/KwrEAYMfnz+LrGjeGJYsHc=; b=mrg/oZVzazRuc400Ap+kCyBuxaJu/Rtr0zoLHX1I/Zsra5yY9X052eLkReBetcSYhM E0Dc4adkN6YpIQfPeYc+iE4jsYDQjtiYVTxH8+YAmT5JOhkL2bzcZ+Idxb31u11SmDPe yhoP+KERydoxRpGyTZK1LyjuJ3CCGU6t8Z90Pyl4dgYLfWeewazuB72AjD4fQqxxHBTL /+GIW/A6LnAEFEQP5LqXBzjcbPQWsLdGyNQMMKN7x0l4gM8pnS0Lgv76tr47wZWDlX5G +Z+KSc0m+ZJV+sdFoZwWHzRYOZQywBG6DHYUWcHH0u021OnMKT9N4GSg3EDD91w9iztl wmOQ== 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=h7sS7mgBWoax4YD1HyIL/KwrEAYMfnz+LrGjeGJYsHc=; b=g8z1kiuNrPmCZrkuGzPk1ZCPMDJlpb7xghA6mujmST6hrX9DTLzPWo81dC3mpsVsu8 mHehi58N2fBK2izYfEFAhIvwNGJDqodhrG6O4SH5eK0bNeLrBZKSqcyfNkZxZ5QsjE+7 B5qmjzY4hi+ms8ouO6NLXPXX05ThX7vj+XhYWgkRORDnQj8ewsIiGmC6RK75Y3ZWqpFL 2SY+ItRshbe6Z/qBEc3YEjDzYQ/r6JDq4rwvL0nCJslqdNwImzfZWBGXsNXjeb797qGt jxg+NX/f2woYGk9BMM/MPRdiH9AEZFoRaDSzeLn3vWeKat73qTx6n/dGdG4DPLFH5AyC hE2w== X-Gm-Message-State: AElRT7HZiHBbzZpAPekwO1fBloA1akmxHeerpsdDIW4wqufD81Q9TyGS JAQcqBVU3M4sm7zRYEaRHPG7dlCw X-Google-Smtp-Source: AG47ELsDcPOGwzx7jO6LDYw0xR0D87P2Brgx5TFaiz4+yhSArRZExjFVmxl11HT91ppq7QQXc6NE1w== X-Received: by 10.28.43.4 with SMTP id r4mr3482830wmr.143.1521652566584; Wed, 21 Mar 2018 10:16:06 -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 l10sm4224101wrf.37.2018.03.21.10.16.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 10:16:05 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 21 Mar 2018 18:15:27 +0100 Message-Id: <346377bba82d3eb6291990d1fd4530fceebb8d63.1521652453.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 v2 06/18] 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: Wed, 21 Mar 2018 17:16:08 -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 a2e5f5551..47ebaba31 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