From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] mlxsw: spectrum: Fix IP2ME CPU policer configuration Date: Sat, 03 Nov 2018 19:32:34 -0700 (PDT) Message-ID: <20181103.193234.1839916006079586453.davem@davemloft.net> References: <20181102194840.31107-1-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jiri@mellanox.com, shalomt@mellanox.com, mlxsw@mellanox.com To: idosch@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:60016 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbeKDLyq (ORCPT ); Sun, 4 Nov 2018 06:54:46 -0500 In-Reply-To: <20181102194840.31107-1-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Ido Schimmel Date: Fri, 2 Nov 2018 19:49:15 +0000 > From: Shalom Toledo > > The CPU policer used to police packets being trapped via a local route > (IP2ME) was incorrectly configured to police based on bytes per second > instead of packets per second. > > Change the policer to police based on packets per second and avoid > packet loss under certain circumstances. > > Fixes: 9148e7cf73ce ("mlxsw: spectrum: Add policers for trap groups") > Signed-off-by: Shalom Toledo > Signed-off-by: Ido Schimmel Applied and queued up for -stable, thank you.