From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 2D916AABC for ; Thu, 15 Mar 2018 18:50:21 +0100 (CET) Received: by mail-wr0-f195.google.com with SMTP id z73so4924241wrb.0 for ; Thu, 15 Mar 2018 10:50:21 -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=/wTAjk92tpDGmkQ1adxMequ2Z4NSQVbTE7rr43xpfFQ=; b=Zuua0lEJwEn52iiXJrKvTzg+/lF4QkhbKvGZlA1OP9fNVRYq9qMHa9Rj3iwcPeTKB+ HPrxxJ5F+PENksNQn5bMpPO33iat8h39oFISEOThmX9hq28j2eSl24SGNlD7oG7Vs+gg oPz99OoVn9ijS6G4MdrsBwxlaS801MctD5OlJdO/8fZ1OxxdGqEjrWcu799JiUKd/j7z Ew1ITu8JXATgkyRN0wN/rfdxk1Fd7gBOAFFNr5BRjNjDwAPPw5Vya3kt85Ij7TWMEW3J zXy3szqHA6oXB9IgaqJkr4p7uY74oS5yxFogs06jp8AiRpBd58Nq78zzbGpIVClkCEO8 +gHQ== 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=/wTAjk92tpDGmkQ1adxMequ2Z4NSQVbTE7rr43xpfFQ=; b=FtzYCPjKbLSsutj8E3Gs3uLE+LLDpWOQ4diNtRDEkq1UjZVzqpg+f9/CU3ZjgQ5q71 vKLv5Rs/qJIfENuHHK034CtIqOXsROChxKw+PbupczyEZrr3y3RH4qNJzb6d2MkxEa2/ F+0ACyR4IfiXS4KQM0mJ24T9mcZM1kdapWEWJ3RFn8HdD2B6CSGCtyI4nM4SF6cr7FZq zBrlJHXC/BK9kVf676fZKOWeQ9MjV1E9MhQIQg/M2/ACWguK9b17TK6dLYFC1Cgq5de6 hfVL8U+429bFfD+x1s6qjlOI3D91P/wCDZvWKjXzXnDgC0vL8h3J0zRcx6KGqKl2AKG4 +fbw== X-Gm-Message-State: AElRT7HDDgPOyWQY7DdSManVU/8mbsQEClUWKCECYuBT6jexR+1ij4eF H8xYC5yzjNn24gL5jyb1Wn3SWfup X-Google-Smtp-Source: AG47ELsZ2M8H1cEICtX3hAOXIXNsGVSpoQj9afvN+WkkWOlO0jJQ5YhJ5VMg2q6Mv5WzsKqBcxBy0g== X-Received: by 10.223.160.147 with SMTP id m19mr3947743wrm.32.1521136220505; Thu, 15 Mar 2018 10:50:20 -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 69sm4756596wmp.36.2018.03.15.10.50.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 10:50:19 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 15 Mar 2018 18:49:38 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v1 08/18] eal/bus: 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: Thu, 15 Mar 2018 17:50:21 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/include/rte_bus.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte_eal/common/include/rte_bus.h index 6fb08341a..46911afa7 100644 --- a/lib/librte_eal/common/include/rte_bus.h +++ b/lib/librte_eal/common/include/rte_bus.h @@ -211,6 +211,7 @@ struct rte_bus { rte_bus_parse_t parse; /**< Parse a device name */ struct rte_bus_conf conf; /**< Bus configuration */ rte_bus_get_iommu_class_t get_iommu_class; /**< Get iommu class */ + rte_dev_iterate_t dev_iterate; /**< Device iterator. */ }; /** -- 2.11.0