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 82C001B621 for ; Sun, 15 Apr 2018 17:08:21 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id l49so19295704wrl.4 for ; Sun, 15 Apr 2018 08:08: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=YSgkLfXIGBP0HLLW+kBNZ/fjgYR4K7+Gu92zfmB4V9Y=; b=X+r9F/Makajfdzz0tdtbB/yauayx6GSa3N8WPlu+fZ6d2GHo8YtmK6UWHkt0BiK0XG 4r9lT2VTWnVKWAaAl44Jc5FPgjb8d1s6hvXarI15mzkGcgdQjSfkWav99cV/8CTC79rn lCuJVV/LPgdcPkcmZt0H8AgiC803qQILap+uRWKESqTXA/hVQ6TJdzepk0OodvE5YXtz +0rj4puqsCV3VPINN9twp2Vj5HGbASWTJJyrmmFDkR4Z3wT3uoI9fJd4jaQjNHGdSal3 7R2ebjDfeTbzPwXo9rPeNe91oA7ACWgMWmqjJ9xGecZQd+fEhN/wv0fjPQpAJKJey4ra 68HA== 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=NdhoHsBo1QpSEcmADaSIIIxdPugp/5Xfv8MK28TzhauXZHw9VKAb9O0wBlynhuAO0r UMaXXyVD4/CQGniLKZYcfrnsen2kPZPrxTbCGVJ9Nkufre0je678RcCcqGO2n8srQyH/ 6/IQ+6MTeXtycLa3YSe3xxQInNqUj4zK6Po0cIlc5ijK5nZG/7lzD02Qey2EqBWxyfQn MFcXyR2Gj5pKW2p9+Wmus2OoKHCfD5zTJMtkhdffklMrwTJzr/d2nXCpr2Nxdm22UsTl 4LUP6WNdthgIq6CrqUMlIJpxADmNaPbxOpH6iv/VLRCWiI6v06cbyWRlhj/1eIUiRqAx Ud2Q== X-Gm-Message-State: ALQs6tDWI0W1UpUf/T5APLp8UHLFo2LKvlsmvNv99s8PDgpH1Xokjiow qOGvFOX7Rt3FGzAknbfdAXVX7b3+ X-Google-Smtp-Source: AIpwx49S7iXPGR32JKvaAHJA/jlnO6/4eIJAIMnh6i+oQlXIhnsowVod4yDQ6SSSasVxRMnBBf7vcA== X-Received: by 10.223.131.70 with SMTP id 64mr6114844wrd.151.1523804900904; Sun, 15 Apr 2018 08:08: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 r200sm13673438wmb.39.2018.04.15.08.08.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Apr 2018 08:08:20 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Sun, 15 Apr 2018 17:07:38 +0200 Message-Id: <78df84dcd94ea881db0f334bb6cff714ae450681.1523804657.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 v7 09/22] 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: Sun, 15 Apr 2018 15:08: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 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