From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id A7EAD1BE7D for ; Wed, 4 Jul 2018 00:15:48 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id p11-v6so3723493wmc.4 for ; Tue, 03 Jul 2018 15:15:48 -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=YSgkLfXIGBP0HLLW+kBNZ/fjgYR4K7+Gu92zfmB4V9Y=; b=dqNJDb+/GyQ0QQ2tQ5V9HDJVmGrQ43RdEL+LapvK0SIvWca1lM8Qp+Z3QZZ4R6E4Mp H7rywxDYqIu5XaaafmSYCyTpqW4XkB4g9mt3gFvyOhDFtcTMN0y5OhepMAtPrktjtM78 sYbSba9oK3do14phaEW7utWCYY/YZXykYUaczLBfA103E7+QHTPgf908H1dFrhw/THQW A7zPjAfGlmalZm//tEtCrLxkId2v6Gwyl/ilvxuSisUhiytMyYS7u0GflvG0QLSXztXj EqkAi2nXZ1cmq0tm6QEyF80F937mrpnftZed+akxe7AFi2oknG4vMwrpl0x/fDNCJfQx TORQ== 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=YSgkLfXIGBP0HLLW+kBNZ/fjgYR4K7+Gu92zfmB4V9Y=; b=OBcaLZU6XdyQd/ai1aUX7/rWplRLiANUa/UN1OfR6+945xgS0Hwkk5RgofnYqrk6Cl fFQfT4PHLXc0yfA6PwauODUEEpeyFVr5f+ii2WsW8nGW3dc273Pfgd+9xe/UeuACeVC2 +VJnl7iZSsky673/a0auGfC3Knh+aZL/ItMMe0nXse+6EK+Yofk1Y5/gSJqgfWq24x2g HK41MkTPtrPVe4/bSJS4lZj5GX3m9+kvCWEWjNpzvjAhOG9wNl9BcdWSUjGLVGg5EXP9 gGvqDVQkRwEQTS2ULo98zSbeEwUmWa6/kHEp2nHFUQxkEcZNdsdwdBr+2pRmp78AHNK2 OvEw== X-Gm-Message-State: APt69E0CBhPWLeHx+ZZpNnlcqA4mx/EvqbiIwdIT0ofdJ6q8QoMPRhFn UNFVnnzxFCesvNAahJG1nWlRUPyB X-Google-Smtp-Source: AAOMgpd7JGuVii5lzACqXYb3nXnwOVTxoQJ7FqdFxMCfzEN5s29tvLlJ/wzVUyrwdqDkxctdb78A/A== X-Received: by 2002:a1c:4c0e:: with SMTP id z14-v6mr9734702wmf.89.1530656147947; Tue, 03 Jul 2018 15:15:47 -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.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 15:15:46 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 4 Jul 2018 00:14:54 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v9 11/27] 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: Tue, 03 Jul 2018 22:15:48 -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 eb9eded4e..747baf140 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