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 9A7827CBA for ; Wed, 21 Mar 2018 18:16:08 +0100 (CET) Received: by mail-wr0-f195.google.com with SMTP id s10so5962988wra.13 for ; Wed, 21 Mar 2018 10:16:08 -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=S7B57yFA8vTOL6gBgSEXORB+Zy9guJsUC2isg/3/uesBLxPgtkAFVqVA3XVaRtj3w+ FjpreLX+P9wpxPNHwng2nqmxiTJEDKEGR/n0MHeYjmq39xgTCkCYlQRnsWDegMCwhHhW 7AM19aEviAwCvNMEplAUHJ9B1Jmdl9KJZexAlXgjGKd/zy8YxNQLm33+HXT53b6o8Pw4 Y9Ou5bLb3HubbO54lNMosbPaZIlloUTIxC75lO1W+yeIr0TKm1WeVfsmlLwGMNI+TdCc l5h0Sx5oU0qtYUdZDw9Vs0RuNg0F5Vv4i4+g4aUkSDSsXnm8IdYJlNIxrLPB7bAJpRuJ 0Mgw== 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=lLqIND19+bYV7RgbURxhkfbtGclY0WG0HMFGOJDWZMgaIjJg2kFM5KoRGV0d3czKHY ZWCBrjGtaM3clsmn+xBm6Z9uXqLLqFRuRTtjXVtsOc0YX7nfyPI9JJ1TX3GhfmV7lRsA ojtpjdBJhUATXyHLUQUqKf/xXL6dCVRL7gzCkojFH9pcumoGPfdeu0hT/VSBvat4EkzS 9O0JwcTsV8ovsosFVC8Qh2U6i+zSz7DxBke2tmcsyFeE10fAvytkoMCPBnqhMTqV6/tQ Qr7ndkYJvu6dDl6W67B9qRHeAaxCIAKyd3cSz/CW/otLKNH+JU+FsAcocYrSrQKm8ODF odww== X-Gm-Message-State: AElRT7EPSSqzh3p69+vGUyhrbVb5PPo4LfOL0wjOnzHtHZxXMOEACtrE +YTleX8t59VVZW1vFVGBBCr082sC X-Google-Smtp-Source: AG47ELuD2qR2uri0/jDJQsy9In9RsKp1p1DungpHPlbfyGA+sRK5HI7+4Ofv7yhBi42hWRs2fak9qw== X-Received: by 10.223.136.217 with SMTP id g25mr18028300wrg.203.1521652567579; Wed, 21 Mar 2018 10:16:07 -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.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 10:16:06 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 21 Mar 2018 18:15:28 +0100 Message-Id: <433706ab49668680b21f3ecce478b06a68cf7a4e.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 07/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: Wed, 21 Mar 2018 17:16:08 -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