From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966273AbcHDVRy (ORCPT ); Thu, 4 Aug 2016 17:17:54 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36379 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934297AbcHDVRv (ORCPT ); Thu, 4 Aug 2016 17:17:51 -0400 Subject: Re: [PATCH 0/2] Add ability to configure ethernet h/w shaper To: netdev@vger.kernel.org, mugunthanvnm@ti.com References: <1470345113-804-1-git-send-email-ivan.khoronzhuk@linaro.org> Cc: linux-omap@vger.kernel.org, grygorii.strashko@ti.com, linux-kernel@vger.kernel.org From: Ivan Khoronzhuk Message-ID: <7bfc435d-c7d5-60a9-d6e2-ada9effcf190@linaro.org> Date: Fri, 5 Aug 2016 00:17:19 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1470345113-804-1-git-send-email-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please, ignore it It was sent by mistake On 05.08.16 00:11, Ivan Khoronzhuk wrote: > These two patches can be used to set per queue bandwidth with ethtool. > I've create them as logical continuation of patchset from intel, > that have introduced per-queue setting command month ago for ethtool > interface > (http://kernel.opensuse.org/cgit/kernel-source/commit/?h=rpm-4.4.9-36& > id=feaab26abfffe381fb4c8c10d2762a753d481c6c). Actually I've not tested this > interface and planning to send it in parallel with > "net: ethernet: ti: cpsw: add multi-queue support" > (https://lkml.org/lkml/2016/6/30/603), as it contains only changes to > ethtool interface. > > First patch can be used to set per-channel bandwidth, second to tune > number of per-channel descriptors. It can solve issues described by > Schuyler. In case if per-channel bandwidth is equal to maximum > for every channel, the driver could be switched to priority mode. > > Ivan Khoronzhuk (2): > net: core: ethtool: add per queue bandwidth command > net: core: ethtool: add ringparam perqueue command > > include/linux/ethtool.h | 8 ++ > include/uapi/linux/ethtool.h | 2 + > net/core/ethtool.c | 206 +++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 216 insertions(+) > -- Regards, Ivan Khoronzhuk