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 83E55AAB9 for ; Thu, 15 Mar 2018 18:50:20 +0100 (CET) Received: by mail-wr0-f193.google.com with SMTP id d10so9212821wrf.3 for ; Thu, 15 Mar 2018 10:50: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=h7sS7mgBWoax4YD1HyIL/KwrEAYMfnz+LrGjeGJYsHc=; b=wf+Ww5ltDqMLcUHbyKXM97guSvDLUv/ZW/g4+Jcc9BWs5DbDZoxfgtCdA1Q3iV6vSB g1aGDOMExv5pZQNRC3ck0r60n6vHQYxm4gqOd83o29OrWQdrrkYwkMN6RB7THTelGcwm N/ZCyD7d6ohAAHiVz9MgqpkMh1s4wlzJrOhgxpxIP0F5VAJPsHwQq536ICHpA68HC5Pr 7I2GvkpYD38kJ7XFNj2LdYjDdkSxdKq8co4rmvu/TwewtNRnKSERFRHX2seBG/YKstkb i+J+OgEFoxEdBAR7t2RMOwXVE6kLNWNdl0gVymMVG6D59OcxOlemXUQfUQd9Aa/RymGJ Y1AA== 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=h7sS7mgBWoax4YD1HyIL/KwrEAYMfnz+LrGjeGJYsHc=; b=YEiWf79BBDJaA0oX1W0qMfobshU9JBqDQLAU6pEN0mIpa7L03IazBfyY6OQBokNBqj DUUR6H/63k1TEBpPFKPbQaAaF3yY4GQZzYARs61sKsRfnpGuq5jsGxDEj1yTad7Xdt/S gEncNm9J8MZoSKsDyTpN6QFSSkbBEckNkzkinIHDBCCP1eP8Sigb19PMH/Aijim2jbQO 90PxOETpIoV0baUJEDDCii+qxUbffHKFz9UFudrM2wfbjuDHNTT42OXxNDOv0Xs03oA4 JDUrf8LfFBmGFdtnTfosnCxdpDWsL2qrn8+thS5Yq2jMW3JeHhAsXx51xm8ikwDar6Rz cjEQ== X-Gm-Message-State: AElRT7EO9WapY8f1GPNhfrOxsKxfyI9/seP6vb1M7OPKTpi+pjgvShhu LWyBmwP8WDudMkyo5nBzGK+1bEz+ X-Google-Smtp-Source: AG47ELucmj6IOd837IecyVJNxRhFBjvCqZwaknMDUkuMsL9c1e4MByxJ1oPqpAubQ/7yidwYODsFjg== X-Received: by 10.223.133.38 with SMTP id 35mr5597368wrh.245.1521136219178; Thu, 15 Mar 2018 10:50: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 69sm4756596wmp.36.2018.03.15.10.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 10:50:18 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 15 Mar 2018 18:49:37 +0100 Message-Id: <706f45e209c8eb192e84de3689dc4243930196ea.1521124599.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 v1 07/18] 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: Thu, 15 Mar 2018 17:50: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 a2e5f5551..47ebaba31 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