From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 100AF1BA82 for ; Wed, 11 Apr 2018 02:04:51 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id d19so44415wre.1 for ; Tue, 10 Apr 2018 17:04:51 -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=GCLAIhOUKZAP3Prmc0SqdHkyn0xkJ2aCmbv3QMikzn5BWPVRIh+0z2oJ5x4VIO5Lv8 XFCIYCXDT4wknXzNON0a5DjMyjFiE8RfGkNV3XXTZBNRbQkd4t20BDZ8ZaEUY89dcr6J 0iyQhIgSUJ2OciJAuXxWsPg1iWnqPwdBBIniVmCtZRIP/U1yl73zLdhf8SfM18/OLoq1 O0z24sWQ6B3Vamu5D8LhTMToYgQXghN5fe/wOWvXguvlDhgjstP3xIEcfPVhBsuK+u71 uoTPXYJb8gZn7BcTMfPREZRAASvc1XUk/OdalaG5mhFmSMTSzN+5+9JP18xyhOgbpsje 4fGg== 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=gkRbPnqSGw/DYPbZZE3FreAHm9Fg0SnYwRzhu3tLaxvk/5Nk2etnQICBzJLW1OslXX p8LisiQ6PoNZ8jX9WvjCghN2v4P0mqNxV/hy36uukCeL6Ap02kuTfQj1TmQ0se0f7TIt JF67W+yUeQM8CEnn1fAkKpsCZAS6lZj5672LYTGmswK5wtIEZPqAWcCk9ATWifD3THu0 6/SEBDQeSKsJNfon8HEYQZ1omCX+wiW/McmMKatmlK7zrG9GN36d91bBG/VcrKjQvAsv ELxXxuBBr8U5rLJQxzkBr6j6FiwL+ZWGH+y2Jmx2B9xDkaiV6P22L9UBKKkew22lNFGl Oa8A== X-Gm-Message-State: ALQs6tBTHPG0klF7H/KmWp/u82ixXNl7zL0bwbDfiqxSIHCqyGUq55Ag rp/brdVvKvwD80yO4Hgx/hk8XKZW X-Google-Smtp-Source: AIpwx49oaGiDTYtwDrw7InCYJx7L0x2DqmpKqttwg2cYYI8OcxHXw9xBJbRgkekCT6MMJ/IOcE9Z8Q== X-Received: by 10.223.141.143 with SMTP id o15mr1814884wrb.272.1523405090505; Tue, 10 Apr 2018 17:04:50 -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 39sm7626563wry.89.2018.04.10.17.04.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 17:04:49 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 11 Apr 2018 02:04:08 +0200 Message-Id: <3a152224aaf2dcc73fcdc4713531adc068bc47b5.1523404469.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 v5 07/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: , X-List-Received-Date: Wed, 11 Apr 2018 00:04:51 -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