From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id 5CE4B728E for ; Thu, 29 Mar 2018 23:24:22 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id p53so6553214wrc.10 for ; Thu, 29 Mar 2018 14:24:22 -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=fnBMmmntXs74Wv4NvD1G9pVfHwP+ZpzxW12qXkAJVFDvBGN0WYZdss27yaOsBs8p1U P21F96ONoXjmbMyB31JyZab2i28t5j2rBmcxXwLljxgFXtpfbNvCEDn3DMBEzlEpqiOM yfsL/3/Kh00/ppDXcSUQ9lrf7MbhVBRXJyym7d9T72SZ6FyQqmczPz2SUidOnnR+XaXH kWd4R4LFrER2n3274HmTUF/wH+p9gcbSsMlSLrnFFBLi+DcWWf8l+PJutIkOhbB1puc2 yck4hGA9kUKfVQ+s7Tm1gQzGOPxuI1tflfaMcY7ShTEJhPRBsCuWsk+0dy14AyOwaL/W isxg== 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=BZ9KD5myAPxQePP+Sp2qPa0B+r1WCPOguUhHPlCYcRwW62xVojgaLxm9fwOhz5FNST vYUHqyKG9Qr9ktvOQP7699PxjujMvoCSsmRdKVfJnckNbjo/XklLs3h4rCB0/Bxo9h5+ teXWcwHlKTfSR4guxs9g/9+DqJ3cpxpyi6Qa/xhQn/OhE3b2xM2ae29j7L8gk/iMEMaP yvIboCEV5cFOCRTKINg01fP9X8xifbuVQN0aOv8u0qvh6SR91ZmAR0L1Ch3+xQGcpw4k 49c9N0jyPEPqhkwTv80PKMMhTMN9TvP++/+UFE4YU9wkpuUTSFb/+WDI4Nr5jgyqLX+D swRw== X-Gm-Message-State: AElRT7GDpsDE4FgLQnLQ3POK+3gvqfC07OG/SkisdSkOG74j4DvQBi2c xizLTD9EpMsl3TsbEgeccDmmdMmB X-Google-Smtp-Source: AIpwx4/SfP5BjhTLfCJHA2uCpI6QKnRhVNN8LoB8fw8aHv+dykxY6FMDjy8CbpPRPFfpck61yrADBQ== X-Received: by 10.223.184.68 with SMTP id u4mr7461294wrf.154.1522358661742; Thu, 29 Mar 2018 14:24:21 -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 m35sm11907457wrm.59.2018.03.29.14.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 14:24:20 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Thu, 29 Mar 2018 23:23:31 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v4 07/20] 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, 29 Mar 2018 21:24:22 -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