[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090529.015647.51443277.davem@davemloft.net>
Date: Fri, 29 May 2009 01:56:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: divy@...lsio.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
swise@...ngridcomputing.com
Subject: Re: [PATCH 2.6.30 1/2] cxgb3: fix dma mapping regression
From: Divy Le Ray <divy@...lsio.com>
Date: Thu, 28 May 2009 14:23:02 -0700
> From: Divy Le Ray <divy@...lsio.com>
>
> Commit 5e68b772e6efd189d6aca76f6872fb75d51ace60
> cxgb3: map entire Rx page, feed map+offset to Rx ring.
>
> introduced a regression on platforms defining DECLARE_PCI_UNMAP_ADDR()
> and related macros as no-ops.
>
> Rx descriptors are fed with the a page buffer bus address + page chunk offset.
> The page buffer bus address is set and retrieved through
> pci_unamp_addr_set(), pci_unmap_addr().
> These functions being meaningless on x86 (if CONFIG_DMA_API_DEBUG is not set).
> The HW ends up with a bogus bus address.
>
> This patch saves the page buffer bus address for all plaftorms.
>
> Signed-off-by: Divy Le Ray <divy@...lsio.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists