From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id C78521B8D9 for ; Fri, 13 Apr 2018 15:23:08 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id b21so4171794wme.4 for ; Fri, 13 Apr 2018 06:23:08 -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=avhxKVTsZxpoWtn0zCz+t5cqwq+xkXNOCOnmuEPQJkzvGWP2Hm51jsU3/+isnn3vwc eb4ywl0Yza5ysBq+EX9Nw1q51h5c83Z89dvtB2BK+tTolpffRn/gopw0DXLLbWOJ5dTZ xWPOB9+dtrj+APS7uoTCm9ArBboSh2V/ae6KQkf8GKQAQCeH3VXYmOv7ZA7mPhBqetCk /hnTQPMk0vTsv/gYgMOKKXyw7g/I1vw0RZzE66A8/nFlbLdIA6VFZ4yBexJuBjTwEYTV aVxY1bQr3KdYTGZvk46JgwY7mb4du7fOPDoEFDv8ycCGlbFf6z7KRqKbQ+/8AvOFhb+n IsTg== 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=GbrROn5Wi+TQk3Mfrl1s4TMWqn81j7TBuZYBqA762yriaLeXfeYb1h91vAcjOHoFqB QY+zhMGEVJvtKQvtKnzCLd3t95f2+xAtti6gZEaDTcsecZnYl/sI9/Q/jsvJg7uayQJa n6qpbFe8PbteUnYm12vSUkX/iWe6ZmpYJQdk9l3R0M444jveP3yPyDs3MGGydf9oxP9v fikPXLeXDBPK4g/o9aEsdkHACHxXK1lH6HD/K0PoYBPseoASwLyNIM9E3Qq/XT6Rhmj/ /4W5I/GEJxipmldmCZXnhSqx6yYL3SPDl/xruKaStPxU3OOeI04E6uS7gq8yHypTmYcQ slKg== X-Gm-Message-State: ALQs6tAAIVrJ7z+1bxBOFoiKp9DqJ7gjD72XWQ7me0yT99kiKV89Bf/r Ifbi5r6Owl0mZAtRc2nlqvJIxeTu X-Google-Smtp-Source: AIpwx49vb+osnNNQiofBBAKvgWf1OwWBhHNEaTWoZ4frNKry5qkrxBfGIm6ImQF+v7sL2cRG687qtw== X-Received: by 10.28.226.138 with SMTP id z132mr3523596wmg.101.1523625788200; Fri, 13 Apr 2018 06:23:08 -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 r200sm2377244wmb.9.2018.04.13.06.23.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 06:23:07 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Fri, 13 Apr 2018 15:22:24 +0200 Message-Id: <78df84dcd94ea881db0f334bb6cff714ae450681.1523625525.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 v6 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: Fri, 13 Apr 2018 13:23:09 -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