From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41C7EC32751 for ; Wed, 31 Jul 2019 06:34:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 17B2C206A3 for ; Wed, 31 Jul 2019 06:34:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="AxWouxAX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387414AbfGaGeL (ORCPT ); Wed, 31 Jul 2019 02:34:11 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:34191 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbfGaGeK (ORCPT ); Wed, 31 Jul 2019 02:34:10 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A57C622385; Wed, 31 Jul 2019 02:34:09 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 31 Jul 2019 02:34:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=eaFRx2EdQevBw89j0 49YFHfUiWx+02jKuSFp2Dl8UZo=; b=AxWouxAXgHGwymKDnrBIm5s4qMfMt3nh/ aH5huMWS1wdn9YF2RoYhe3iHWFefQjYnppfbt8Gd5gOoGlFkSFt310c87ArfalME GgS2IfjAQw3qa0hZDKaau0Hm7iFaji25vrvIdkdGavt+nMdUtM6uTZo4DuJBRrgU jHsMOWD83Iu4Z5giRkl9WI1tg29i8Y4KpRIQTMiXQidTdNH4llH/S1XzALOq4JVB Ndzi1XN5k3J7z0K8yu152CtevXVOw7jfCn11TvoEWMypo3A1I9m0m0YIpbs/y7Qm Q1QWNtgZawtltBzD2jkeyvy9Rfo3xJdZ7U6Lh8EPqbK8e8H9+d2DQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleeggddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepkfguohcuufgthhhimhhmvghluceoihguohhstghhsehiughoshgt hhdrohhrgheqnecukfhppeduleefrdegjedrudeihedrvdehudenucfrrghrrghmpehmrg hilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhrghenucevlhhushhtvghrufhi iigvpedt X-ME-Proxy: Received: from splinter.mtl.com (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 87546380076; Wed, 31 Jul 2019 02:34:07 -0400 (EDT) From: Ido Schimmel To: netdev@vger.kernel.org Cc: davem@davemloft.net, jiri@mellanox.com, petrm@mellanox.com, mlxsw@mellanox.com, Ido Schimmel Subject: [PATCH net 0/2] mlxsw: Two small fixes Date: Wed, 31 Jul 2019 09:33:13 +0300 Message-Id: <20190731063315.9381-1-idosch@idosch.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ido Schimmel Patch #1 from Jiri fixes the error path of the module initialization function. Found during manual code inspection. Patch #2 from Petr further reduces the default shared buffer pool sizes in order to work around a problem that was originally described in commit e891ce1dd2a5 ("mlxsw: spectrum_buffers: Reduce pool size on Spectrum-2"). Jiri Pirko (1): mlxsw: spectrum: Fix error path in mlxsw_sp_module_init() Petr Machata (1): mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2 drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 2 +- drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.21.0