From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 04/10] mbuf: add new marcos to get the physical address of data Date: Tue, 24 Nov 2015 16:25:18 -0800 (PST) Message-ID: <3935116.rIVnCYDhvK@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Declan Doherty 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) In-Reply-To: <1447441090-8129-5-git-send-email-declan.doherty@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.