From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 5031E8DA7 for ; Wed, 25 Nov 2015 01:25:19 +0100 (CET) Received: by wmww144 with SMTP id w144so160205788wmw.1 for ; Tue, 24 Nov 2015 16:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=9Tduk7YvJS5rIDmO0wCqSNlHEzNJfAWcEqBLzFp70P8=; b=CLpJ4R3Vi+05/zIBek4ly0c1DsoREuXHwSYsq99BjjCFxMpDurKdfg/DEgBTIvDY4/ /w44Sv+Eyb57jMsTmHAvF6FX2bu9kQHxBw9jgGThOA6Wfy2Frh+YBNlNxPEGUer2b6XS A2VkZgq6KxgMppUZ6j5Lw/hp+t3OOAxITPjRteTJDbAgVF1LagL0LDO+Fe4K6+HirrQ8 bD9+T8BZuJxroGahyF1yLFR5XpHjPiNRpHTAza6QonSvv7uaWQHkTJ62W8+Gb2Uc7cKp UPGOiTNTMXJg12vVLI2bdKL9wS2DIqaxxXu7tdTLosrb5nKLgxkTZoxzgsaH27u49Pvx mrFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=9Tduk7YvJS5rIDmO0wCqSNlHEzNJfAWcEqBLzFp70P8=; b=DW60XtJVBQJhrWcWP7L0d9h419/JbzRmcR4w49yP31AQ8+KtB1fnt2EbEoYijKG/nn Conp7Kl19RzQ3NH7a+JdeX7cBv/0/N7Q0qGWUVB0IzgUpDMk6ldR7vIG7vVbS/QcalWh 5XbLBQnRFwnZwVRpSmRLXM3xU7BBcRfOl8ujDPk8w3F7Gb6gNAngY7BscvWqSVCTjaHE SFriANvrBszNjoctypkSaV5iPiWqaCO5zVg0SJs7xYUchqQXAD8jKSAdmNUEC/Gh8MYp e7HPaA5eo7mqEfK+keLhsHKcgCVTjsrpxb+uicu4yhVywLEp9eHpZULWN4rHV4ClQbIT aX8Q== X-Gm-Message-State: ALoCoQl6ERSEMofd54sdDQhiK0Des+ATRlaGle8rEjatVqgxbUlkCHV1eDH7IQNiDLOLPyIZet1v X-Received: by 10.194.79.201 with SMTP id l9mr21343972wjx.151.1448411118935; Tue, 24 Nov 2015 16:25:18 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id w141sm859786wmw.24.2015.11.24.16.25.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Nov 2015 16:25:18 -0800 (PST) Date: Tue, 24 Nov 2015 16:25:18 -0800 (PST) X-Google-Original-Date: Wed, 25 Nov 2015 01:24 +0100 From: Thomas Monjalon To: Declan Doherty Message-ID: <3935116.rIVnCYDhvK@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1447441090-8129-5-git-send-email-declan.doherty@intel.com> References: <1447176763-19303-1-git-send-email-declan.doherty@intel.com> <1447441090-8129-1-git-send-email-declan.doherty@intel.com> <1447441090-8129-5-git-send-email-declan.doherty@intel.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 v7 04/10] mbuf: add new marcos to get the physical address of data 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: Wed, 25 Nov 2015 00:25:19 -0000 2015-11-13 18:58, Declan Doherty: > +/** > + * A macro that returns the physical address that points to the start of the > + * data in the mbuf > + * > + * @param m > + * The packet mbuf. > + * @param o > + * The offset into the data to calculate address from. > + */ > +#define rte_pktmbuf_mtophys(m) rte_pktmbuf_mtophys_offset(m, 0) The parameter o does not exist. Wrong copy paste, I guess.