From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH] net: qcom/emac: Use proper free methods during TX Date: Mon, 5 Mar 2018 21:06:31 -0600 Message-ID: <5e169b94-bc5b-72fc-377f-f37caf3045ff@codeaurora.org> References: <1520304486-14466-1-git-send-email-hpuranik@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Hemanth Puranik , netdev , linux-kernel Return-path: In-Reply-To: <1520304486-14466-1-git-send-email-hpuranik@codeaurora.org> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 3/5/18 8:48 PM, Hemanth Puranik wrote: > 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 Acked-by: Timur Tabi -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.