From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754464AbdASTPe (ORCPT ); Thu, 19 Jan 2017 14:15:34 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:10895 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751822AbdASTPc (ORCPT ); Thu, 19 Jan 2017 14:15:32 -0500 Subject: Re: [PATCH v2 0/5] net: ethernet: ti: cpsw: correct common res usage To: Ivan Khoronzhuk , References: <1484845107-30331-1-git-send-email-ivan.khoronzhuk@linaro.org> CC: , , From: Grygorii Strashko Message-ID: <36f7fbd0-1f97-fd10-1f2a-81507dff34fd@ti.com> Date: Thu, 19 Jan 2017 11:33:14 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1484845107-30331-1-git-send-email-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [128.247.83.96] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/19/2017 10:58 AM, Ivan Khoronzhuk wrote: > This series is intended to remove unneeded redundancies connected with > common resource usage function. > > Since v1: > - changed name to cpsw_get_usage_count() > - added comments to open/closw for cpsw_get_usage_count() > - added patch: > net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs > > Based on net-next/master > > Ivan Khoronzhuk (5): > net: ethernet: ti: cpsw: remove dual check from common res usage > function > net: ethernet: ti: cpsw: don't disable interrupts in ndo_open > net: ethernet: ti: cpsw: don't duplicate ndev_running > net: ethernet: ti: cpsw: don't duplicate common res in rx handler > net: ethernet: ti: cpsw: clarify ethtool ops changing num of descs > > drivers/net/ethernet/ti/cpsw.c | 200 ++++++++++++++++++----------------------- > 1 file changed, 88 insertions(+), 112 deletions(-) > Reviewed-by: Grygorii Strashko -- regards, -grygorii