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=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 BA082C433E0 for ; Tue, 11 Aug 2020 07:25:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9E30520781 for ; Tue, 11 Aug 2020 07:25:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727942AbgHKHZf (ORCPT ); Tue, 11 Aug 2020 03:25:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:33734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727852AbgHKHZf (ORCPT ); Tue, 11 Aug 2020 03:25:35 -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 B42E520656; Tue, 11 Aug 2020 07:25:34 +0000 (UTC) Date: Tue, 11 Aug 2020 10:25:30 +0300 From: Leon Romanovsky To: Stephen Hemminger , David Ahern Cc: Doug Ledford , Jason Gunthorpe , linux-netdev , RDMA mailing list Subject: Re: [PATCH iproute2-rc] rdma: Fix owner name for the kernel resources Message-ID: <20200811072530.GA634816@unreal> References: <20200811063304.581395-1-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200811063304.581395-1-leon@kernel.org> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Tue, Aug 11, 2020 at 09:33:04AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Owner of kernel resources is printed in different format than user > resources to easy with the reader by simply looking on the name. > The kernel owner will have "[ ]" around the name. > > Before this change: > [leonro@vm ~]$ rdma res show qp > link rocep0s9/1 lqpn 1 type GSI state RTS sq-psn 58 comm ib_core > > After this change: > [leonro@vm ~]$ rdma res show qp > link rocep0s9/1 lqpn 1 type GSI state RTS sq-psn 58 comm [ib_core] > > Fixes: b0a688a542cd ("rdma: Rewrite custom JSON and prints logic to use common API") > Signed-off-by: Leon Romanovsky > --- > rdma/res.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Please drop this patch, I'll send another version with extra fix. Thanks