From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f175.google.com (mail-wj0-f175.google.com [209.85.210.175]) by dpdk.org (Postfix) with ESMTP id 6EADC10D8C for ; Thu, 22 Dec 2016 16:22:27 +0100 (CET) Received: by mail-wj0-f175.google.com with SMTP id c11so25714524wjx.3 for ; Thu, 22 Dec 2016 07:22:27 -0800 (PST) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=KGZyxgqQrbT32x5AqaUUhwJrp5TR+jaHoQQ7oCdtKA0=; b=m8by+ZCEAh8UhYVO5ERqJ9EEXDhrmj3YFgZtkdVmTDPr5D7PGD1Cdngc+QlvaLOE+e cfOmfnRAQyCItYbNOoc3n9JeP1Em8N42IopLBTJ5GZxTywMGsdY3oKgZqEaM8NWJtbq+ dKSAjw5sUC2NmOAtfO2/RjrkwlXqUuFRddMRvAgqpr1NPyarlqIfB2MIidWP/lmIcKUZ xTEMB5+pKf0tsGqKmoPS/ys55vEm855Gt4zSuWvLywcKWApk8NCIRQnn8WJru3oGxaV7 Rj4j2fTTFa605s8lkfC034AyVH3T1KZDLlR3EuZ7163i+lJWThld4G0yZ+peVC09H6J2 yBdg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=KGZyxgqQrbT32x5AqaUUhwJrp5TR+jaHoQQ7oCdtKA0=; b=PFIaIckn/WAz07jh9Y+p1/Gf8CHLuPAA5Zjc6UmfHmBw9QX7D928V7C3Owu4/2Pwch 6gWZkf2Y5x9gE1NIT8DJVKvM9/Pxpvp9JNNhhuhB1RkyY5TTd7vWW5teCJu4OUsco8Cl eVSvztlm42GXB82Y/pa6Si0qhHpbQhGQOcWkeTHX8gUDUQR2Dp3lJw8zbVmX2ZHNUanI BNKWWIS+/TxbgNC+aYqDPIT+EQeLQPFjdSNPXKrmaGA0KL8i7tKGMVSJNijEH9vTjish SLIQoCvNXbDZtxprz+gGVKwefhm2gQLgudi4rg6MEYSJsOH/5JuJMiubpuxMepxAKd2d wguQ== X-Gm-Message-State: AIkVDXLvbOYUlNZIDGQo3v4FJwY4xG8R0CCkMLGQ4upYlDEEqIdHzaastc+ht3Qm4FkLOvaY X-Received: by 10.194.5.165 with SMTP id t5mr10174900wjt.107.1482420147205; Thu, 22 Dec 2016 07:22:27 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u18sm32705960wmd.1.2016.12.22.07.22.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Dec 2016 07:22:26 -0800 (PST) From: Thomas Monjalon To: Jan Blunck Cc: dev@dpdk.org, shreyansh.jain@nxp.com, david.marchand@6wind.com, stephen@networkplumber.org Date: Thu, 22 Dec 2016 16:22:25 +0100 Message-ID: <2449171.ktnEQDI4ih@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1482332986-7599-24-git-send-email-jblunck@infradead.org> References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> <1482332986-7599-24-git-send-email-jblunck@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 23/23] ethdev: Decouple struct rte_eth_dev from struct rte_pci_device 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, 22 Dec 2016 15:22:27 -0000 2016-12-21 16:09, Jan Blunck: > +/** > + * @internal > + * Helper macro for drivers that need to convert to struct rte_pci_device. > + */ > +#define DEV_PCI_DEV(ptr) container_of(ptr, struct rte_pci_device, device) Please use RTE_ prefix. RTE_PCI_DEV?