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 B311B1B8D9 for ; Fri, 13 Apr 2018 15:23:07 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id s12so8268295wrc.8 for ; Fri, 13 Apr 2018 06:23:07 -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=hmNvO61dW/8C2M5IFQVXSuUq903PvAQNV4vyB4Np93EYOShAr6wZFJ1aRA32Bz/wBP 1deuBmu33efnvVPZxR9Wv/+XqHqPO6Zbyy16sbUHcwTtwAVoxc3dL9fwMRIFTUUIMKMR MmuBly3WlKccr9qXJ/aqQCi6QTU9nSkaOHTTGPiINELgBfbAQKqT/s2Yhd+AcXW3297y qec5r80JUFRVVkS6I0ecsc+sVg8MsMeTLT/EV1bEl6RrtWmIRdI9twSe1diw3H1NhEx1 WcMxYHp/K5CXO8iLdXdQMhRKBXL1fZ79v30WhRj+VtLNCxO8wFlkBNWDTRlopm3lC0y8 Kf4g== 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=YrcoAFXtwuMPv7kOJaFfLsq3cM9F0ut2qEO46ehhPBb16ImCPXipkJvo5/MFGEXSl4 LXUWCFRW+pannI60e/Y0tLtb2WLZFlVBs1st5O/IlRHDtBwAO/NZ2P6Ec6//kddv1+84 1PxLXCOBkVlcLOxfNRdeHU6C8Syuqogm1fgQ+mcp/r6Abg5Cq8KW34t/ruJB8yLLZ0Uk hlbV8vcntpiKhPmq/aKGGq3IGER4wkpdVIOa6nvZFp/wl19DxGqpTLROgBpxz8XHKFHH PVnni1o2neR4BcBOkAYubWH95G+bcaFj35ey3pWgxxOQIJ3dhwyWCqlSEncCTytWqL++ ZCog== X-Gm-Message-State: ALQs6tC9TH6hZ0DtTiO6dQuYwKzaOKQg191l+KuKfMTrMO7azQ/oke7X Z2uVRhiCwsMFzjVi/jxnoSVaArN8 X-Google-Smtp-Source: AIpwx49E1y6+k6lHGVQrGoMbWVQxd5PLI6udTq8ryu7pFydBzTSgo8dvZ/TMi/2jPJzGexL+vYTpyg== X-Received: by 10.223.198.68 with SMTP id u4mr3663681wrg.186.1523625787067; Fri, 13 Apr 2018 06:23:07 -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.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Apr 2018 06:23:06 -0700 (PDT) From: Gaetan Rivet To: dev@dpdk.org Cc: Gaetan Rivet Date: Fri, 13 Apr 2018 15:22:23 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH v6 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: Fri, 13 Apr 2018 13:23:08 -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