Skip to contentSkip to conversation

infiniband-diags/ibstat.c: print link layer for RoCEE support

PATCH Applied Yevgeny Kliteynik 3 participants 3 messages Mar 9, 2010 – Mar 23, 2010 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw
---
 infiniband-diags/src/ibstat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
infiniband-diags/src/ibstat.c +1 -0
index 987bf2b..c44d8c4 100644
@@ -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;
 }
 
Signature · 6 lines
1.5.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 4B9625CB.5040700-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw

How to use IB_QPT_RAW_ETY QP from user space.

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html