From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [patch net-next 00/11] mlxsw qdisc refactoring Date: Wed, 10 Jan 2018 16:08:05 -0500 (EST) Message-ID: <20180110.160805.354048059921355763.davem@davemloft.net> References: <20180110140007.28924-1-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, nogahf@mellanox.com, idosch@mellanox.com, mlxsw@mellanox.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com To: jiri@resnulli.us Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:55480 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbeAJVIH (ORCPT ); Wed, 10 Jan 2018 16:08:07 -0500 In-Reply-To: <20180110140007.28924-1-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org List-ID: From: Jiri Pirko Date: Wed, 10 Jan 2018 14:59:56 +0100 > From: Jiri Pirko > > This patchset refactors the qdisc handling in mlxsw driver in order to make > it more object oriented like. > It helps readability, laying the groundwork for the offloading of > additional qdiscs by the driver > This patchset also makes the qdiscs statistics more generic. > > Patch 1 moves the qdiscs declaration to the spectrum_qdisc.c > Patches 2-3 clean the offloaded stats requests. Patch 2 changes the RED > generic stats struct to be sharable by other offloaded qdiscs. Patch 3 > changes the xstats request to be like the stats. Note that these patches > are outside the driver scope. > Patches 4-5 clean the statistics related functions and structs within the > driver. > Patches 6-7 decrease the need for the same parameters to be sent to many > functions. > Patches 8-11 create a functions pointers struct, to make the qdiscs > handling more object oriented like. Series applied, thanks Jiri.