From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Schimmel Subject: [PATCH net-next 0/4] mlxsw: Add extack messages for tc flower Date: Tue, 24 Jul 2018 17:13:10 +0300 Message-ID: <20180724141314.10728-1-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain Cc: davem@davemloft.net, nird@mellanox.com, jiri@mellanox.com, mlxsw@mellanox.com, Ido Schimmel To: netdev@vger.kernel.org Return-path: Received: from mail-eopbgr00047.outbound.protection.outlook.com ([40.107.0.47]:31851 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388395AbeGXPUy (ORCPT ); Tue, 24 Jul 2018 11:20:54 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Nir says: This patch set adds extack messages support to tc flower part of mlxsw. The messages provide clear reasoning to failures, as some of the available actions and keys are not supported in driver or HW and resources may get exhausted. The first patch deals with propagation of the extack pointer among the functions dealing with key parsing and action sets handling. Following patches 2-4 add appropriate messages across the different layers of mlxsw tc flower implementation. Nir Dotan (4): mlxsw: spectrum_acl: Propagate extack pointer mlxsw: core_acl_flex_actions: Add extack messages mlxsw: spectrum_acl: Add extack messages mlxsw: spectrum_flower: Add extack messages .../mellanox/mlxsw/core_acl_flex_actions.c | 50 +++++++++++++------ .../mellanox/mlxsw/core_acl_flex_actions.h | 15 ++++-- .../net/ethernet/mellanox/mlxsw/spectrum.h | 17 ++++--- .../ethernet/mellanox/mlxsw/spectrum_acl.c | 44 ++++++++++------ .../ethernet/mellanox/mlxsw/spectrum_flower.c | 41 ++++++++++----- 5 files changed, 114 insertions(+), 53 deletions(-) -- 2.17.1