From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 1B25F1BE1A for ; Tue, 26 Jun 2018 18:57:02 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id c5-v6so6812934wrs.10 for ; Tue, 26 Jun 2018 09:57:02 -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=M08qGPU+J2WzuNOB4P7IEz/yvGTwBHqabAJb84jiHJGPR63kKC1RvR65zpBKEnUPrm 0D6pmB37sgFb3pNmQL2+/3qyim4TyGaLLowZYrT1YCBpI64Z7aIW6NB7fsltp13z3sJb ZRiggI5PWPO/lp2G2u0PUOXyfne+s2lMJGuVzlzLfPKZ8Dhx/zsnlkDAWr1tudIPuPyH sefEECCx0Bv/hsaEUb8rF0Gat8AYptcFDulm/SBDBO3+lAT8NdEaHzPSquE0pcFkQU/O tkllFjIu3cO6/dFIFeZLcuYR68bODuZrGfrwgJfg51i/ukj0SDXSkvBcwoirjukwKuFN GVlA== 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=iGH5uWbWq6Jyx2STdL9tglno/4tCZJVadYmRV8SClRMXP5BcvoLhUskTzJlEDp93YM Cb6b0UNYYoor6ueuQSkgRY2YvgpFLV5ufaPoU/YRPgKZ9KvY4BE78cMRx2tyO4KgEy+B 8BZD6H7ElLyjTe9h0z+FNauK8Wh2ELzRPdOKmqEllUgheMKJTy6+iznbPP/uf+5acd8h okJ1+X0AgV+klnK8HIEsAbZmcy2Ei/jwYSCz1gck0UVRXMcjH/DRBTAUS84/4Cp/XkdY q5vO1wP58BzWSjgq1EXocqGdy5PDiR4cQCXlXsTQwISaeeM2rlBaxw4KlcVv/GANk3VO fh7Q== X-Gm-Message-State: APt69E1lOEHIxcfO+0BRvXtS3rHI/KvwThDGJFW2nQh63GtsVLvmcDNg AgmTwAPwpcQrgZObU6/Du0Hc5rnJ X-Google-Smtp-Source: AAOMgpeNRBDd7oMn4aiHaZLz3Lmuu6Q/Wh8XI2RxH1CPjqAqbxCqsLiziTXla8V9zyrZ0zAmoSHH3Q== X-Received: by 2002:adf:8f2e:: with SMTP id p43-v6mr81307wrb.193.1530032221473; Tue, 26 Jun 2018 09:57:01 -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 p5-v6sm2680880wre.83.2018.06.26.09.56.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 09:56:59 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 26 Jun 2018 18:56:13 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v8 10/21] 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, 26 Jun 2018 16:57:02 -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