From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next v2 0/2] mlxsw: Reject unsupported FIB configurations Date: Wed, 02 May 2018 13:17:29 -0400 (EDT) Message-ID: <20180502.131729.1290525164380414100.davem@davemloft.net> References: <20180502071735.32352-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, dsahern@gmail.com, mlxsw@mellanox.com To: idosch@mellanox.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:34714 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbeEBRRb (ORCPT ); Wed, 2 May 2018 13:17:31 -0400 In-Reply-To: <20180502071735.32352-1-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Ido Schimmel Date: Wed, 2 May 2018 10:17:33 +0300 > Recently it became possible for listeners of the FIB notification chain > to veto operations such as addition of routes and rules. > > Adjust the mlxsw driver to take advantage of it and return an error for > unsupported FIB rules and for routes configured after the abort > mechanism was triggered (due to exceeded resources for example). > > v2: > * Change error code in first patch to -EOPNOTSUPP (David Ahern). Series applied, thanks.