From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id 21FF61BABE for ; Wed, 11 Apr 2018 02:04:52 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id o3so40122wri.2 for ; Tue, 10 Apr 2018 17:04:52 -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=zRpvCYV32uMxaYbkp+MjRJXohtggv10B/KH6VjyZ8qJtnqdyzxpELvohIkV8Qlj855 5LvSe5ca03A7MMbBoOQRLocPkvl2NATewvk4I8xcMmBz6S+8D+2KhX1Or0gplc9y/ia+ CWid+X+u2yNROPaOkFPHl0mg9tGJXZQgEaliCOheJENuyxAWVn/QBCzGEiR4lFv3rYF2 5SwV4tM/OFY8jZMiMLgqQkFlxsj6EXAdC8h09ZzyhX4HPLEUuCmcG4/nuWTCpkcD5GHq WJK8AsXpcpYmUUw0/5pVw11pNxDFNZdzAZgM+MzT63hyJTWy5bPuxaGKKrQt/2UMh4Zj IMGA== 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=Q5ItBkqxcvyEGyLotyldbQUiD0RPv0l+5M+EYMI1TsGniI4M64vAvW9b6Q0I52eGW6 LqTTRR/H8xwoeUXdQyqVrtc06rH7QBWpw9X/dUN0ulmKTOcsvACKr8ONSXCGQlDMvzTy GN1hKenuWcy9xhlqK3PhNQc9kberpupNeSKJIcwxoSfW6xrz7u4XUeUR4DMGZPL4O91n 1VpaGvYnpuBfvOpZKTGDqWjdAecx8AAwdqeS6Uc2/ewfYo6F6I1JpX7GVkIy/FEeCwvN 3l91UGhaZn8ELXMtWv0oPKnIhiiJYKLmFsEMiM41vB13kvY+98ieNUsJIdHpe8zWMAyz vwoA== X-Gm-Message-State: ALQs6tDkH4ATl7WxixkEd9TA3HgDM+EFdtyCaUTY5CbRSvsy5cO7WqO6 0BJaIVijitaSdoYSvXGtkziVw0tE X-Google-Smtp-Source: AIpwx4/pi7itbyflqOZOXyDekCa1FojbYLoya/LJraLema5kM5IPLFR6AcgngvzyKjGzMW1L7P2Yfw== X-Received: by 10.223.198.68 with SMTP id u4mr1682660wrg.186.1523405091569; Tue, 10 Apr 2018 17:04:51 -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 39sm7626563wry.89.2018.04.10.17.04.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 17:04:50 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Wed, 11 Apr 2018 02:04:09 +0200 Message-Id: <5aa8493d47ac72380e1a1a851eefd88212753024.1523404469.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 v5 08/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: Wed, 11 Apr 2018 00:04:52 -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