From patchwork Thu Sep 5 12:43:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tariq Toukan X-Patchwork-Id: 1158413 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46PL2t0hqSz9s4Y for ; Thu, 5 Sep 2019 22:43:33 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389465AbfIEMna (ORCPT ); Thu, 5 Sep 2019 08:43:30 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:58418 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389448AbfIEMn3 (ORCPT ); Thu, 5 Sep 2019 08:43:29 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from tariqt@mellanox.com) with ESMTPS (AES256-SHA encrypted); 5 Sep 2019 15:43:23 +0300 Received: from dev-l-vrt-207-011.mtl.labs.mlnx. (dev-l-vrt-207-011.mtl.labs.mlnx [10.134.207.11]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x85ChNGX021437; Thu, 5 Sep 2019 15:43:23 +0300 From: Tariq Toukan To: Stephen Hemminger , David Ahern Cc: netdev@vger.kernel.org, Moshe Shemesh , Aya Levin , Jiri Pirko , Tariq Toukan Subject: [PATCH iproute2 0/4] Devlink health FMSG fixes and enhancements Date: Thu, 5 Sep 2019 15:43:03 +0300 Message-Id: <1567687387-12993-1-git-send-email-tariqt@mellanox.com> X-Mailer: git-send-email 1.8.3.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, This patchset by Aya enhances FMSG output and fixes bugs in devlink health. Patch 1 adds a helper function wrapping repeating code which determines whether left-hand-side space separator in needed or not. It's not needed after a newline. Patch 2 fixes left justification of FMSG output. Prior to this patch the FMSG output had an extra space on the left-hand-side. This patch avoids this by looking at a flag turned on by pr_out_new_line. Patch 3 fixes inconsistency between input and output in devlink health show command. Patch 4 fixes ill setting of auto_recovery, prior to this patch setting auto_recovery zeroed grace_period. Series generated against master commit: 84b9168328bf ip nexthop: Allow flush|list operations to specify a specific protocol Thanks, Tariq Aya Levin (4): devlink: Add helper for left justification print devlink: Left justification on FMSG output devlink: Fix inconsistency between command input and output devlink: Fix devlink health set command devlink/devlink.c | 66 +++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 deletions(-)