Re: [PATCH iproute2-rc] rdma: Fix owner name for the kernel resources

2020-08-11 Thread Leon Romanovsky
On Tue, Aug 11, 2020 at 08:54:17AM -0700, Stephen Hemminger wrote: > On Tue, 11 Aug 2020 09:33:04 +0300 > Leon Romanovsky wrote: > > > + print_color_string(PRINT_ANY, COLOR_NONE, "comm", "comm %s ", tmp); > > If you don't want color then just print_string will do the same thing. > > print_

Re: [PATCH iproute2-rc] rdma: Fix owner name for the kernel resources

2020-08-11 Thread Stephen Hemminger
On Tue, 11 Aug 2020 09:33:04 +0300 Leon Romanovsky wrote: > + print_color_string(PRINT_ANY, COLOR_NONE, "comm", "comm %s ", tmp); If you don't want color then just print_string will do the same thing. print_string(PRINT_ANY, "comm", "comm %s ", tmp);

Re: [PATCH iproute2-rc] rdma: Fix owner name for the kernel resources

2020-08-11 Thread Leon Romanovsky
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 cha

[PATCH iproute2-rc] rdma: Fix owner name for the kernel resources

2020-08-10 Thread Leon Romanovsky
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 RT