From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 8F5485951 for ; Fri, 26 Jul 2013 16:48:49 +0200 (CEST) Received: by mail-wi0-f172.google.com with SMTP id c10so950791wiw.17 for ; Fri, 26 Jul 2013 07:49:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id:x-gm-message-state; bh=NhFSUgs0tE2fD3jD4UGHYRquaE0YIJviFIz9tO/I3/8=; b=LvbAhxVGFIuHigaHMLeuYUFtC7I9mHTE915xW7MuAi1KwA1Ca9Kq5reNh25u18+DHz Nq/1/2ARxJcWbNUOsadrqOS8lST9+mguBJMAhluAQ/AaOmUAptjsS3KR3aKUhsYP95q1 zceWFJu7tlxA3mSprZmj7T0qEeYISH68Ye8V+OWh8oKMBphLgSvssdU/UuOzAzXe8/TA rZJ5w8Uce3Pf0EvplzOs/hbW3XEllthTFV6GquOMvWYELH+/0lqRiXZ/lt5R69yZl2Dh LHB1dvLN0zeGi3lCPKL0XEFTqFV+i3aZzdkW2y8MW8+RuEnl63Vip+LbMpWQb0s35mEI Sozw== X-Received: by 10.194.240.201 with SMTP id wc9mr35077817wjc.1.1374850152410; Fri, 26 Jul 2013 07:49:12 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id o10sm5254148wiz.5.2013.07.26.07.49.10 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:49:11 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: Didier Pallard Date: Fri, 26 Jul 2013 16:49:09 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1374848755-5170-1-git-send-email-didier.pallard@6wind.com> In-Reply-To: <1374848755-5170-1-git-send-email-didier.pallard@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201307261649.09443.thomas.monjalon@6wind.com> X-Gm-Message-State: ALoCoQmsjl6XYXwtHHuEJpU6tB10BSmbyh/Le/P9LZ/hlTMKB+Ohpf/UJJExQYVLBIpVtHEdS6eh Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/1] mem: get physical address of any rte_malloc buffer 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, 26 Jul 2013 14:48:49 -0000 26/07/2013 16:25, Didier Pallard : > Get physical address of any rte_malloc allocated buffer using > function rte_malloc_virt2phy(addr). > The rte_memzone pointer is now stored in each allocated memory block > header to allow simple computation of physical address of a block > using the memzone it comes from. > Declaration of memzone in malloc_elem structure adds a dependency between > rte_malloc.h and rte_memory.h; test source code are modified to > include both files in correct order. > > Signed-off-by: Didier Pallard acked and applied -- Thomas