From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: qcom/emac: Use proper free methods during TX Date: Wed, 07 Mar 2018 12:23:06 -0500 (EST) Message-ID: <20180307.122306.1887148645040810127.davem@davemloft.net> References: <1520304486-14466-1-git-send-email-hpuranik@codeaurora.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, timur@codeaurora.org To: hpuranik@codeaurora.org Return-path: In-Reply-To: <1520304486-14466-1-git-send-email-hpuranik@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Hemanth Puranik Date: Tue, 6 Mar 2018 08:18:06 +0530 > This patch fixes the warning messages/call traces seen if DMA debug is > enabled, In case of fragmented skb's memory was allocated using > dma_map_page but freed using dma_unmap_single. This patch modifies buffer > allocations in TX path to use dma_map_page in all the places and > dma_unmap_page while freeing the buffers. > > Signed-off-by: Hemanth Puranik Applied.