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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 52D1AC433E1 for ; Mon, 17 Aug 2020 07:44:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DC7220772 for ; Mon, 17 Aug 2020 07:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597650259; bh=LryFHNFDSd2PtN6jRcpaptofL3Qn0MUdGJKE9K2UQcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=pnwP/HnD/RONt5LHOtwfNb745sOgPWWEavUELFwpxRuMoO454k+XghmPeAxan5l6h lBa25wU/X7CJ81KQ2A4DLN0cSR3zgG+fKMqsQcLnm10O12oXR265Xqx7n+ZZpyib28 4M7xCqaDDDJHHwhlYDLzfDRkum+xS0QkF9LBwnfQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbgHQHoQ (ORCPT ); Mon, 17 Aug 2020 03:44:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgHQHoO (ORCPT ); Mon, 17 Aug 2020 03:44:14 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E36420738; Mon, 17 Aug 2020 07:44:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597650254; bh=LryFHNFDSd2PtN6jRcpaptofL3Qn0MUdGJKE9K2UQcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PmfQ3F2/3020USngL6qE4F9RMcBQIL0a9fYvDSuNr8UZjmxsHb1fGY3i2rAVurnLQ yPWB4Sm+NLKdJwjIzlNn9HpF4XaIJ38bhVaSm8mtWIFHqc3b4f7zmsR2pPAL+K6Fec Q5Pt1tPiQE065Irh25DCvmXhLLdVOt2laJ2NDQmU= Date: Mon, 17 Aug 2020 10:44:10 +0300 From: Leon Romanovsky To: Stephen Hemminger Cc: David Ahern , Doug Ledford , Jason Gunthorpe , linux-netdev , RDMA mailing list Subject: Re: [PATCH iproute2-rc v1 2/2] rdma: Properly print device and link names in CLI output Message-ID: <20200817074410.GI7555@unreal> References: <20200811073201.663398-1-leon@kernel.org> <20200811073201.663398-3-leon@kernel.org> <20200816154846.63ebf57c@hermes.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200816154846.63ebf57c@hermes.lan> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Aug 16, 2020 at 03:48:46PM -0700, Stephen Hemminger wrote: > On Tue, 11 Aug 2020 10:32:01 +0300 > Leon Romanovsky wrote: > > > + print_color_string(PRINT_ANY, COLOR_NONE, "ifname", "dev %s ", name); > > Since this is an interface name, you might want to consider using COLOR_IFNAME? > > I will go ahead and apply it as is but more work is needed here. Thanks for taking care.