From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id D73B22B9E for ; Fri, 4 Mar 2016 15:53:40 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id n186so38368901wmn.1 for ; Fri, 04 Mar 2016 06:53:40 -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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=xcKSvfJOkrpZm1Ce6hE7SYDizcxZLhYAuEQrja7VItM=; b=LoXPVRE+1Pt/kJmuc5msHGoqiC5CPeovSvQZdvrDpPiptbXXpxGNiC91vL7G+FUn8K iD0Cs1LzAWrXbidb7tLo/rIjb3R4UJPbhh7QLDI/pH9GZv1lhdlTo7CKh2zaoHLtqGzW aP1oQ1gnOsu/xRVBtXDzQsXg+DGvDiZMapCnKkEEjT8yJF3veqxGNUmPnerP3JXq2L7t Nsgop4/zJ69Q2pZqANPhSlkAw/IZ/4fl9QYsrcTd4YodT6m+32zXSMo5MyXt+qnLwjjn H7XpKRcO6BRZDOxmb5s2sqtY9OqlwIqbbvYHVR7XPglF9YjpXMF/YCAoGM91GflAirj0 x06w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=xcKSvfJOkrpZm1Ce6hE7SYDizcxZLhYAuEQrja7VItM=; b=VOU16CMHKlugz/hltu/xoVxsk82BCF6+4thoVdcXFKJrtTepMqd29zA2funyxHHPgL /2bJTw31JA7u5Sp7fcHzThh03mDWYbgL+3DTnYgp4FaGMHzSzSgT/nvdjHnycxB8mvrz KMMomYjox0prFJjXTw4R2mn+BpZsnGRHQpcS05VFtyfNFwesdXI6q0Rkz+aujRqF1fiX 7dkCzzyL2zugYUWAZms22Lk4FHCUGyIfqVf2f86AewkScdYTAldh+uVB3iq4RSrtMPVH N8t0gSa/Q1bPMzbSld2VkKHoUOHxHubZvFP/AS1UDaHdIfP34s2cmqIH2zYWSMukYmU2 ZgiA== X-Gm-Message-State: AD7BkJLGxu553ShbaryhICOc2s+HDrMGFdTyOPzQwOIdWWG+9ZuCDoFIY3/megeVXORia6u/ X-Received: by 10.194.192.36 with SMTP id hd4mr8937169wjc.85.1457103220676; Fri, 04 Mar 2016 06:53:40 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id 3sm3734067wmp.14.2016.03.04.06.53.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Mar 2016 06:53:39 -0800 (PST) From: Thomas Monjalon To: Olivier Matz , rkerur@gmail.com Date: Fri, 04 Mar 2016 15:52:03 +0100 Message-ID: <2238090.dQRaXJiXYV@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1457082580-19289-1-git-send-email-olivier.matz@6wind.com> References: <1443700690-16524-1-git-send-email-rkerur@gmail.com> <1457082580-19289-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v5] mbuf: introduce common functions to get dma address X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2016 14:53:41 -0000 2016-03-04 10:09, Olivier Matz: > From: Ravi Kerur > > Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT > are defined in each PMD driver file. Convert macros to inline > functions and move them to common lib/librte_mbuf/rte_mbuf.h file. > PMD drivers include rte_mbuf.h file directly/indirectly hence no > additioanl header file inclusion is necessary. > > Signed-off-by: Ravi Kerur > Signed-off-by: Olivier Matz Applied, thanks