public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* infiniband-diags/ibstat.c: print link layer for RoCEE support
@ 2010-03-09 10:41 Yevgeny Kliteynik
       [not found] ` <4B9625CB.5040700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Yevgeny Kliteynik @ 2010-03-09 10:41 UTC (permalink / raw)
  To: Sasha Khapyorsky, Linux RDMA


Signed-off-by: Yevgeny Kliteynik <kliteyn-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
---
 infiniband-diags/src/ibstat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/infiniband-diags/src/ibstat.c b/infiniband-diags/src/ibstat.c
index 987bf2b..c44d8c4 100644
--- a/infiniband-diags/src/ibstat.c
+++ b/infiniband-diags/src/ibstat.c
@@ -124,6 +124,7 @@ static int port_dump(umad_port_t * port, int alone)
 	printf("%sCapability mask: 0x%08x\n", pre, ntohl(port->capmask));
 	printf("%sPort GUID: 0x%016llx\n", pre,
 	       (long long unsigned)ntohll(port->port_guid));
+	printf("%sLink layer: %s\n", pre, port->link_layer);
 	return 0;
 }

-- 
1.5.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* How to use IB_QPT_RAW_ETY QP from user space.
       [not found] ` <4B9625CB.5040700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2010-03-09 15:09   ` Walukiewicz, Miroslaw
  2010-03-23 11:50   ` infiniband-diags/ibstat.c: print link layer for RoCEE support Sasha Khapyorsky
  1 sibling, 0 replies; 3+ messages in thread
From: Walukiewicz, Miroslaw @ 2010-03-09 15:09 UTC (permalink / raw)
  To: Linux RDMA

Hello,

I look for equivalent of definition of the IB_QPT_RAW_ETY in libibverbs/include/infiniband/verbs.h

ib_verbs.h 

enum ib_qp_type {
        /*
         * IB_QPT_SMI and IB_QPT_GSI have to be the first two entries
         * here (and in that order) since the MAD layer uses them as
         * indices into a 2-entry table.
         */
        IB_QPT_SMI,
        IB_QPT_GSI,

        IB_QPT_RC,
        IB_QPT_UC,
        IB_QPT_UD,
        IB_QPT_RAW_IPV6,
        IB_QPT_RAW_ETY
};

I see only 
Verbs.h 
enum ibv_qp_type {
        IBV_QPT_RC = 2,
        IBV_QPT_UC,
        IBV_QPT_UD,
        IBV_QPT_XRC
};

Is something missing in libibverbs.h?

Regards, 

Mirek

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk

Sad Rejonowy Gdansk Polnoc w Gdansku, 
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego, 
numer KRS 101882

NIP 957-07-52-316
Kapital zakladowy 200.000 zl

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: infiniband-diags/ibstat.c: print link layer for RoCEE support
       [not found] ` <4B9625CB.5040700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  2010-03-09 15:09   ` How to use IB_QPT_RAW_ETY QP from user space Walukiewicz, Miroslaw
@ 2010-03-23 11:50   ` Sasha Khapyorsky
  1 sibling, 0 replies; 3+ messages in thread
From: Sasha Khapyorsky @ 2010-03-23 11:50 UTC (permalink / raw)
  To: Yevgeny Kliteynik; +Cc: Linux RDMA

On 12:41 Tue 09 Mar     , Yevgeny Kliteynik wrote:
> 
> Signed-off-by: Yevgeny Kliteynik <kliteyn-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>

Applied. Thanks.

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-23 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 10:41 infiniband-diags/ibstat.c: print link layer for RoCEE support Yevgeny Kliteynik
     [not found] ` <4B9625CB.5040700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2010-03-09 15:09   ` How to use IB_QPT_RAW_ETY QP from user space Walukiewicz, Miroslaw
2010-03-23 11:50   ` infiniband-diags/ibstat.c: print link layer for RoCEE support Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox