Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759875AbXEJS2M (ORCPT ); Thu, 10 May 2007 14:28:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756609AbXEJS17 (ORCPT ); Thu, 10 May 2007 14:27:59 -0400 Received: from sj-iport-3-in.cisco.com ([171.71.176.72]:45550 "EHLO sj-iport-3.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042AbXEJS16 (ORCPT ); Thu, 10 May 2007 14:27:58 -0400 X-IronPort-AV: i="4.14,518,1170662400"; d="scan'208"; a="484955033:sNHT68334600" To: Mahesh Cc: David Miller , linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org, general@lists.openfabrics.org Subject: Re: [HOWTO] accessing the DMA mapped data X-Message-Flag: Warning: May contain useful information References: <4642D095.6070305@cdac.in> <20070510.014751.74749340.davem@daveml oft.net> <4642FFA7.4040303@cdac.in> <20070510.043233.08323827.davem@davemloft.net> <464304DD.9070600@cdac.in> From: Roland Dreier Date: Thu, 10 May 2007 11:27:56 -0700 In-Reply-To: <464304DD.9070600@cdac.in> (Mahesh's message of "Thu, 10 May 2007 17:11:17 +0530") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 10 May 2007 18:27:56.0886 (UTC) FILETIME=[EE498F60:01C79330] Authentication-Results: sj-dkim-2; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 17 > Here I am dealing with a infiniband (see www.openfabrics.org) > network device driver. The layer above the driver is the standard > infiniband core interface. Now I have a situation where I need to > peek into the packets and do some modifications(some hacking). So I > just want know whether I can access the original data region using > the bus address generated by the dma_map_single. If you give more details about what you're trying to do, maybe I can suggest a good way to accomplish it. Also for IB-related stuff you may want to at least CC to get the best info. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/