From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbcF0IqH (ORCPT ); Mon, 27 Jun 2016 04:46:07 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:59085 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbcF0IqD (ORCPT ); Mon, 27 Jun 2016 04:46:03 -0400 Subject: Re: [PATCH v2] net: ethernet: ti: cpdma: switch to use genalloc To: Grygorii Strashko , "David S. Miller" , References: <20160624114338.26933-1-grygorii.strashko@ti.com> CC: Sekhar Nori , , , Ivan Khoronzhuk From: Mugunthan V N Message-ID: <5770E6F9.2010809@ti.com> Date: Mon, 27 Jun 2016 14:12:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <20160624114338.26933-1-grygorii.strashko@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 24 June 2016 05:13 PM, Grygorii Strashko wrote: > TI CPDMA currently uses a bitmap for tracking descriptors alloactions > allocations, but The genalloc already handles the same and can be used > as with special memory (SRAM) as with DMA cherent memory chank > (dma_alloc_coherent()). Hence, switch to using genalloc and add > desc_num property for each channel for limitation of max number of > allowed descriptors for each CPDMA channel. This patch do not affect > on net throuput. > > Tested-by: Ivan Khoronzhuk > Signed-off-by: Grygorii Strashko Acked-by: Mugunthan V N Regards Mugunthan V N