Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933235AbcKWIEe (ORCPT ); Wed, 23 Nov 2016 03:04:34 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:37710 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933173AbcKWIEa (ORCPT ); Wed, 23 Nov 2016 03:04:30 -0500 Subject: Re: Synopsys Ethernet QoS Driver To: Ozgur Karatas , Joao Pinto , Rayagond Kokatanur , Rabin Vincent References: <1dbb6047-2bbb-4d56-2a62-ab65a0254844@synopsys.com> <20161119135654.GA14079@lnxartpec.se.axis.com> <1248f4ce-4859-10e6-fef9-342ea543f8d4@synopsys.com> <87c8a24b-0812-7850-cb3f-7be691bab432@st.com> <937252db-9538-2cf6-c8fa-82b558531c51@st.com> <1806171479803900@web16j.yandex.ru> CC: mued dib , David Miller , Jeff Kirsher , "jiri@mellanox.com" , "saeedm@mellanox.com" , "idosch@mellanox.com" , netdev , "linux-kernel@vger.kernel.org" , "CARLOS.PALMINHA@synopsys.com" , "andreas.irestal@axis.com" , "alexandre.torgue@st.com" , "lars.persson@axis.com" , "linux-arm-kernel@lists.infradead.org" From: Giuseppe CAVALLARO Message-ID: <283da053-3754-ca06-70e3-a988221fc3e9@st.com> Date: Wed, 23 Nov 2016 09:02:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <1806171479803900@web16j.yandex.ru> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.52.139.54] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-23_01:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2081 Lines: 57 Hello Ozgur On 11/22/2016 9:38 AM, Ozgur Karatas wrote: > Hello all, > > I think, ethtool and mdio don't work because the tool's not support to "QoS", right? > > Maybe, need a new API. I'm looking for dwceqos code but "tc" tools is very idea. > > I hope to be me always helpful. tools work but indeed should be extended to support more for QoS. This is another task we have to keep in mind, well spot. Peppe > > Regards, > > Ozgur > > 21.11.2016, 16:38, "Giuseppe CAVALLARO" : >> Hello Joao >> >> On 11/21/2016 2:48 PM, Joao Pinto wrote: >>> Synopsys QoS IP is a separated hardware component, so it should be reusable by >>> all implementations using it and so have its own "core driver" and platform + >>> pci glue drivers. This is necessary for example in hardware validation, where >>> you prototype an IP and instantiate its drivers and test it. >>> >>> Was there a strong reason to integrate QoS features directly in stmmac and not >>> in synopsys/dwc_eth_qos.*? >> >> We decided to enhance the stmmac on supporting the QoS for several >> reasons; for example the common APIs that the driver already exposed and >> actually suitable for other SYNP chips. Then, PTP, EEE, >> S/RGMII, MMC could be shared among different chips with a minimal >> effort. This meant a lot of code already ready. >> >> For sure, the net-core, Ethtool, mdio parts were reused. Same for the >> glue logic files. >> For the latter, this helped to easily bring-up new platforms also >> because the stmmac uses the HW cap register to auto-configure many >> parts of the MAC core, DMA and modules. This helped many users, AFAIK. >> >> For validation purpose, this is my experience, the stmmac helped >> a lot because people used the same code to validate different HW >> and it was easy to switch to a platform to another one in order to >> verify / check if the support was ok or if a regression was introduced. >> This is important for complex supports like PTP or EEE. >> >> Hoping this can help. >> >> Do not hesitate to contact me for further details >> >> peppe >