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 7E1007CC4 for ; Thu, 29 Mar 2018 23:24:24 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id m13so6567511wrj.5 for ; Thu, 29 Mar 2018 14:24:24 -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=Bga50DVs7lBIwA0O8VzB3aYZPv3uJmc+o5j1x+Hy7ANaejhexqM7DuvV911AuiVPvx OZ4S1dYYCHoBI1tn4i/RaZGQNAD/Ijh0C1ymuN1YbXYQ9+9TkKmoKVN/UINM6BKCAK5J f4NtiuxKD/5NxUidFRm+ibmOwFhWDkzBPmiXEwtqbEichs6XiGWzkz1UEZKS22ei03Nn P9nlNyY+kKUVUtIv7XGERYqURaiQgVOoSiVhjSO61827CgfwgB5/DxEJIop3EHV4Nl+g A/h+h0+xiHVAGj25FMBH43AJErkkU8ZLK6SM0sfoHryqoX85do8tRt9ZNXtAQ27QvYYY PCIg== 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=sd94Un+8iJv585zM/TYF6vhBfpfogesJel0KOi4e+8oj/DjnHAj8OOm1vFcPz4iyPD E+ecHN9Y0QitE1zUVf23KCbeG0QQKdudla7TGxAvaJ/O9mVlp1dQ3J+5tspzNamznA7D v1sAHhqb/ytf4FiPQva3oC4Ju1X6ECiQomDIViBvCrHy7tfWiakM5rAHA7SrLxrOw2zn Yul2hzS6B9bJQLvLhmy/Oq8FbUremG2N/ng8uBOvkhCILuLoPf/UfJX6trguHskH15mO suf6nRu0lzDSNaxu3MWWViQr4WpBPqTGD+6Jol0ciJxjuGdXpXoF5fjfjng1zmkLnXFI XY3A== X-Gm-Message-State: AElRT7H0pWwlwJYoqhY1+EEYZDScmk/T6Ve02rGVmxNEghbT19wRGNb9 0X+gf5F3ZS17WTNCjHnDSC5zDeJ0 X-Google-Smtp-Source: AIpwx48iGBQ8F73p5/UFy2ZRQlugbQXw1uuFAxqwALL0c08YrOpXYlgZ1Xd7pEL9dWvEFVSU8vrGWg== X-Received: by 10.223.225.71 with SMTP id f7mr7251849wri.172.1522358662818; Thu, 29 Mar 2018 14:24:22 -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 m35sm11907457wrm.59.2018.03.29.14.24.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 14:24:21 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 29 Mar 2018 23:23:32 +0200 Message-Id: <82e58ea36de92dfdb6a428ffe2b35c7089e5c3e0.1522358421.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 v4 08/20] 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, 29 Mar 2018 21:24:24 -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