From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from linode.aoot.com ([69.164.194.13]:51874 "EHLO linode.aoot.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbeCMToE (ORCPT ); Tue, 13 Mar 2018 15:44:04 -0400 From: "Steve Wise" To: "'Leon Romanovsky'" Cc: , , , References: <743dc7a5306f9b3368fcd4c143cdd822250444a6.1520020530.git.swise@opengridcomputing.com> <20180313180736.GJ1080@mtr-leonro.local> In-Reply-To: <20180313180736.GJ1080@mtr-leonro.local> Subject: RE: [PATCH v2 iproute2-next 3/6] rdma: Add CM_ID resource tracking information Date: Tue, 13 Mar 2018 14:44:02 -0500 Message-ID: <02bb01d3bb03$a3ab60d0$eb022270$@opengridcomputing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: en-us Sender: netdev-owner@vger.kernel.org List-ID: > On Tue, Feb 27, 2018 at 08:07:05AM -0800, Steve Wise wrote: > > Sample output: > > > > # rdma resource > > 2: cxgb4_0: pd 5 cq 2 qp 2 cm_id 3 mr 7 > > 3: mlx4_0: pd 7 cq 3 qp 3 cm_id 3 mr 7 > > > > # rdma resource show cm_id > > link cxgb4_0/- lqpn 0 qp-type RC state LISTEN ps TCP pid 30485 comm > rping src-addr 0.0.0.0:7174 > > link cxgb4_0/2 lqpn 1048 qp-type RC state CONNECT ps TCP pid 30503 > comm rping src-addr 172.16.2.1:7174 dst-addr 172.16.2.1:38246 > > link cxgb4_0/2 lqpn 1040 qp-type RC state CONNECT ps TCP pid 30498 > comm rping src-addr 172.16.2.1:38246 dst-addr 172.16.2.1:7174 > > link mlx4_0/- lqpn 0 qp-type RC state LISTEN ps TCP pid 30485 comm rping > src-addr 0.0.0.0:7174 > > link mlx4_0/1 lqpn 539 qp-type RC state CONNECT ps TCP pid 30494 > comm rping src-addr 172.16.99.1:7174 dst-addr 172.16.99.1:43670 > > link mlx4_0/1 lqpn 538 qp-type RC state CONNECT ps TCP pid 30492 > comm rping src-addr 172.16.99.1:43670 dst-addr 172.16.99.1:7174 > > > > # rdma resource show cm_id dst-port 7174 > > link cxgb4_0/2 lqpn 1040 qp-type RC state CONNECT ps TCP pid 30498 > comm rping src-addr 172.16.2.1:38246 dst-addr 172.16.2.1:7174 > > link mlx4_0/1 lqpn 538 qp-type RC state CONNECT ps TCP pid 30492 > comm rping src-addr 172.16.99.1:43670 dst-addr 172.16.99.1:7174 > > > > Signed-off-by: Steve Wise > > --- > > rdma/rdma.h | 2 + > > rdma/res.c | 258 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > > rdma/utils.c | 5 ++ > > 3 files changed, 264 insertions(+), 1 deletion(-) > > > > Steve, can you please add man pages update as a followup to this series? > > Especially the fact that you are providing dst-port filter option should > be mentioned. > > Thanks, > Reviewed-by: Leon Romanovsky Will do.