From patchwork Thu Jul 5 11:48:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ga=C3=ABtan_Rivet?= X-Patchwork-Id: 42346 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 577CF1BF3F; Thu, 5 Jul 2018 13:49:34 +0200 (CEST) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 819401BEF3 for ; Thu, 5 Jul 2018 13:49:11 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id p11-v6so10304617wmc.4 for ; Thu, 05 Jul 2018 04:49:11 -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; bh=eMfldAQipU4EMMeoXzQ37imMfcBAGhww6g5+cEKj1Fg=; b=pZBXOTkB24gh2YjHsGtffARV9SJNm5gsmdLqP57hIeXD8vx0iTJCiU5fdapg1BBZu6 oly6jXGG15YyNXu4mkwk3pNw26RNJgCIDt5ekx6vP6lw+X27sHaRb72/CaXP92Ow/uMY Z4iiSMXt2hpAXS5junuH7W1k+epPS8lUf2T9ntX37Bxt8+rx4cM1mb/iZCuDZuX5AUUa bh6Js8uD7rclO1H1Nc+7/bC0zuMIj2COkA/2shAgt0mPuwG1OVk9w1Q+ciK8Oe4KX972 KhPjX5xRbmmJZ3pT0L35PxhXhDj/zu+9F3nFX4T6QjlsKzkHw7dgZ4jOVV38Ua6ompLI zzRg== 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; bh=eMfldAQipU4EMMeoXzQ37imMfcBAGhww6g5+cEKj1Fg=; b=VIgrENezCDXAmy4LhE4TMDVz6qanAX9Mvvj6kGUq8bBjvW6U5v22xE1v5VyJ6vPpXY 08iDq3cXUS87Gt/BW5KJGCVsypRPU/6Wp8c97FMpkAKEywzUr+ZLFDZ730CaFXieEDOg uZOBRHjCOdjhmhVpifWVpEJsPZhDV3ArmmiiP5077phFMI+tzLeliYtGq9LfKilFQXGZ ppx60hc1W2g+skoozObVmHU6rKdHTcKjowiTQ+6SeNB5DFBBdehYiSIFiC04aLtT2lO5 JVAUeImdlii5PToQNQuUq0tHRrjDuMretNWtnW8Ow/eCsCTfz0R67Yc5qKnbM6kOxPlh PX4w== X-Gm-Message-State: APt69E2LqE9gwnKsuTfzFjSSlny4WfA4yC2nZdx5+/I7BLb7ipFIUzY0 9M664Axgesv92BE9WfK3iZdxOJ19 X-Google-Smtp-Source: AAOMgpcHNfd3ccAf8S2JEpek7g5+Uc85Dx37+ccoGWATXCFTuJ5OdsAJgWu/IEBBDcnR+zNCMpShVw== X-Received: by 2002:a1c:415:: with SMTP id 21-v6mr4207387wme.128.1530791350897; Thu, 05 Jul 2018 04:49:10 -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 o42-v6sm15809183wrc.50.2018.07.05.04.49.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 04:49:10 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 5 Jul 2018 13:48:18 +0200 Message-Id: X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v10 11/27] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. */ }; /**