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 5B6EE1B423 for ; Sun, 15 Apr 2018 17:08:20 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id z73so19302512wrb.0 for ; Sun, 15 Apr 2018 08:08:20 -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=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=; b=uDC2tHorWeQFu9Akq2Fcc/kbW9r5p7Nmprjpq/Y17MMfzEEXgojAx8AXythshUy1ie ICoPraQkK95iFzG10xOImjo3G26K3pAD7/Cq6HhyBb7PY0TEIRVq7bkoTJ2qKtaoZpHJ 44THCFOhESTYguPVmGH8UuHg59lIdbO5o6++DG83PxUFzwKuR67Qr1UHXhE5YFpgeqLs 7cBXbHnjz5sKyH7C8p/yhMIFbHgGNfb2ukg3W0hjj0bK1tBtVx1ZewoWElnxP4vvc6bB hsInYsteyJFdNwlm1H0NKG6huNzYKPhBMMl3M4zB9xTE2aCcLLL2ix3gHc6cPIsV2NPd Mdmg== 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=m51DksV4EXmxmvGMaTfKNA+K9/HIFbvWXpWsebu3ZoE=; b=FBuw3vgVdIPOlB5kVt3VYbeN60yiGnVAa+Y3qZojXhaW8/Q8hIDlEPIi6FPQdxqysc aeoQXSJCGBUXw9uzMNu7vRVjjJ06kSv8Y1Yqo7Q/GopGjOe6zKM09i/41Zf0tOUNcFgT YaPjHDnTIpSgs9113rKJmBOYoE3r16Cpg/9RjbubPQPlf304OZGFtQMT2Aj3l3bkG1ZA dpjAsvZCZ/P5HAGVm7soRGeIaPtWuBsdfCEE+7SZxbt3+BBCp/+tLlSqhUCGlxXs19Pp BqeZAIJJ3Vg+kpdqdiDWVtVw70XZ/0njqLXeqh/SsxGjmK+ZRZpy1fathxrZgTi45LHv 7yfg== X-Gm-Message-State: ALQs6tDhpWZ4UcWpoX1QZ53n6KshBts2skZtaIoj630Kl219ahoQzvtd 36nowzyj3b3IqQbTqmygkuyCkq62 X-Google-Smtp-Source: AIpwx4+kS48U/C8ytBd/Fq2XRrnO3XtoZWgO5UTosIIoBpnLmrXJ/J0wwlx4XRBMysmZ7QmaUpHXbQ== X-Received: by 10.28.175.140 with SMTP id y134mr8462751wme.139.1523804899758; Sun, 15 Apr 2018 08:08:19 -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 r200sm13673438wmb.39.2018.04.15.08.08.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Apr 2018 08:08:18 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Sun, 15 Apr 2018 17:07:37 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v7 08/22] eal/class: 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: Sun, 15 Apr 2018 15:08:20 -0000 Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/include/rte_class.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h index e8176f5e1..9d5b06807 100644 --- a/lib/librte_eal/common/include/rte_class.h +++ b/lib/librte_eal/common/include/rte_class.h @@ -30,6 +30,7 @@ TAILQ_HEAD(rte_class_list, rte_class); struct rte_class { TAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */ const char *name; /**< Name of the class */ + rte_dev_iterate_t dev_iterate; /**< Device iterator. */ }; /** -- 2.11.0