From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932407AbcHWFkB (ORCPT ); Tue, 23 Aug 2016 01:40:01 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:51886 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754238AbcHWFj7 (ORCPT ); Tue, 23 Aug 2016 01:39:59 -0400 Subject: Re: [PATCH v4 5/5] net: ethernet: ti: cpsw: add ethtool channels support To: Ivan Khoronzhuk , , , References: <1471889908-29983-1-git-send-email-ivan.khoronzhuk@linaro.org> <1471889908-29983-6-git-send-email-ivan.khoronzhuk@linaro.org> CC: , , , From: Mugunthan V N Message-ID: <28a8a12e-bae5-86fc-ffca-5f40b7965ee8@ti.com> Date: Tue, 23 Aug 2016 11:09:45 +0530 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: <1471889908-29983-6-git-send-email-ivan.khoronzhuk@linaro.org> 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 Monday 22 August 2016 11:48 PM, Ivan Khoronzhuk wrote: > These ops allow to control number of channels driver is allowed to > work with at cpdma level. The maximum number of channels is 8 for > rx and 8 for tx. In dual_emac mode the h/w channels are shared > between two interfaces and changing number on one interface changes > number of channels on another. > > How many channels are supported and enabled: > $ ethtool -l ethX > > Change number of channels (up to 8) > $ ethtool -L ethX rx 6 tx 6 > > Per-channel statistic: > $ ethtool -S ethX > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N