[ofa-general] [PATCH] IB/core: ib_post_send_mad() returns zero but doesn't generate send completion

Ralph Campbell ralph.campbell at qlogic.com
Tue Mar 3 10:24:02 PST 2009


On Tue, 2009-03-03 at 05:55 -0800, Hal Rosenstock wrote:

> >> Does the packet really get out on the IB wire ? Was that with a
> >> Mellanox HCA ? I don't recall ever seeing these extra packets but
> >> maybe they end up swallowed by certain HCAs.
> >
> > Yes, a packet is sent with either mthca or ipath.
> 
> What does it look like ? Is it responded to ?

I changed smpquery to send a node info MAD with the method set
to SEND so mthca_process_mad would return zero and no matching
mad agent receiver. This is what a second node sees & replies.

Madeye:recv SMP
MAD version....0x1
Class..........0x81 (Directed route SMP)
Class version..0x1
Method.........0x3 (Send)
Status.........0x00
Hop pointer....0x1
Hop counter....0x0
Trans ID.......0x150c798f86
Attr ID........0x11 (node info)
Attr modifier..0x0000
Mkey...........0x0
DR SLID........0xffff
DR DLID........0xffff

Madeye:sent SMP
MAD version....0x1
Class..........0x81 (Directed route SMP)
Class version..0x1
Method.........0x81 (Get response)
Status.........0x8008
               method not supported
Hop pointer....0x0
Hop counter....0x0
Trans ID.......0x150c798f86
Attr ID........0x11 (node info)
Attr modifier..0x0000
Mkey...........0x0
DR SLID........0xffff
DR DLID........0xffff





More information about the general mailing list