From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 57F7F5F2D for ; Tue, 27 Mar 2018 01:19:17 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id f14so20503055wre.8 for ; Mon, 26 Mar 2018 16:19:17 -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=doFMqz8NPWWUSckTnwh1TCvLRJEv6cBdMArP8H/Z5ckYZARPKI21W2sYd4/4cep0Ub KCA2KjHgb7OLyg8CGYEDf+LZG1ULYszqigtNsBQAlsmBF1G3WBfrepQJNhCifFpqLov+ EOQ5mGqMtBlRZQG9nz/iqTJLn/ziXejidrxdNorCv0xAo5m0UE1jZdkVjdIkFFf8zq43 DVs9RhGqhrGpXz1rD86hiBOaGtiPN3O7Q6aF3cCJn7l+OWhImHZOUxwQXFbIOY/H5gIo GOgF4OPahYLOiC1Xyd6XsY0Jx7hZClBpzskLcQMcKgm/3DQNgzalYg0hiZaTGZZsoEX3 12kw== 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=fottDvy4f+08B5k5Q+FXMNebwJYNqLxb3KtB0v3kwN1GI1wHkeGnrT/lK6zcNT5NBc ASly38dxF+er378zIi3TaxlDLEozInml+UW27NgA7k70NpRTqZkV7LkZeoCyuM94B1Fo omUPg437SlT+L6w6nrFpF0LQkWMdgQ3ls0HoHc3vCAMXn9r33SnWebzL6ynm3NXsocct 6i7mjXtXt4kIwM43SmlK2hmKNsf5596UCxqzFCoe8ikr2RIiO00jDOln8STWTOA7sSpR PScjdi1UCw3OVq8Zqc1X2qIHtMtYV+VBbKYS0eHQO0+FzeakyRSmRkQ3inJMZGppxb5j eh2A== X-Gm-Message-State: AElRT7F9EMBjqUby9XZ9/dmqPsTRAcQn7HhkQb4wt2k77hqz06wY4wtI 1nUuDjUabRj0SYHPeRekYItEKNdl X-Google-Smtp-Source: AG47ELuJbS7GrBxpLEy0/eFfVikNoESbpg7VXk0AWxkcBiOWH2mq5gqCLuQr2u+eYQO8GtZ1zY3mZw== X-Received: by 10.223.155.207 with SMTP id e15mr24649835wrc.42.1522106355669; Mon, 26 Mar 2018 16:19:15 -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 67sm343712wra.9.2018.03.26.16.19.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 16:19:14 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Tue, 27 Mar 2018 01:18:33 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 09/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: Mon, 26 Mar 2018 23:19:17 -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