From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 00/13] mlxsw: Add resource scale tests Date: Sat, 30 Jun 2018 22:06:54 +0900 (KST) Message-ID: <20180630.220654.479410647137748499.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, jiri@mellanox.com, idosch@mellanox.com, shuah@kernel.org To: petrm@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:38850 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936658AbeF3NHA (ORCPT ); Sat, 30 Jun 2018 09:07:00 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Petr Machata Date: Sat, 30 Jun 2018 02:44:23 +0200 > There are a number of tests that check features of the Linux networking > stack. By running them on suitable interfaces, one can exercise the > mlxsw offloading code. However none of these tests attempts to push > mlxsw to the limits supported by the ASIC. > > As an additional wrinkle, the "limits supported by the ASIC" themselves > may not be a set of fixed numbers, but rather depend on a profile that > determines how the ASIC resources are allocated for different purposes. > > This patchset introduces several tests that verify capability of mlxsw > to offload amounts of routes, flower rules, and mirroring sessions that > match predicted ASIC capacity, at different configuration profiles. > Additionally they verify that amounts exceeding the predicted capacity > can *not* be offloaded. ... Good stuff, series applied, thanks!