IB/core: Documentation fix to ib_mad_snoop_handler in the MAD header file
PATCH v3 1/1 IB/core: Documentation fix to ib_mad_snoop_handler in the MAD header file
In ib_mad.h, ib_mad_snoop_handler uses send_buf rather than send_wr
---
Change since v2:
Changed title to use "higher" language
Change since v1:
Fixed typo in patch description
include/rdma/ib_mad.h +2 -2
@@ -424,11 +424,11 @@ typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent,/** * ib_mad_snoop_handler - Callback handler for snooping sent MADs. * @mad_agent: MAD agent that snooped the MAD. -* @send_wr: Work request information on the sent MAD. +* @send_buf: send MAD data buffer. * @mad_send_wc: Work completion information on the sent MAD. Valid * only for snooping that occurs on a send completion. * -* Clients snooping MADs should not modify data referenced by the @send_wr +* Clients snooping MADs should not modify data referenced by the @send_buf * or @mad_send_wc. */ typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent,
--
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
PiBJbiBpYl9tYWQuaCwgaWJfbWFkX3Nub29wX2hhbmRsZXIgdXNlcyBzZW5kX2J1ZiByYXRoZXIg dGhhbiBzZW5kX3dyDQoNClRoZSBNQUQgc25vb3Bpbmcgc2hvdWxkIGJlIHJlbW92ZWQgZnJvbSB0 aGUgbWFkIHN0YWNrLiAgVGhlcmUgYXJlIG5vIGluIHRyZWUgdXNlcnMgYW5kIHRoZSBvbmx5IGF0 dGVtcHQgYXQgYWRkaW5nIG9uZSB3YXMgcmVqZWN0ZWQuDQo=
--
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
Quoted 3 lines · Sean
Quoted 1 line
In
ib_mad.h,ib_mad_snoop_handlerusessend_bufrather thansend_wrThe MAD snooping should be removed from the mad stack.
This last discussed on linux-rdma list back in late September when Ira posted a partial RFC patch to do this.
Quoted 1 line
There are no in tree users and the only attempt at adding one was rejected.
There are no in tree users of this but there is your madeye tool (which is out of tree). This is still a useful debug tool for MADs and there are people who still use that.
Ira posted the start of MAD stack tracing but AFAIT it was not equivalent and that thread died out.
--
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
PiA+IFRoZXJlIGFyZSBubyBpbiB0cmVlIHVzZXJzIGFuZCB0aGUgb25seSBhdHRlbXB0IGF0IGFk ZGluZyBvbmUgd2FzDQo+IHJlamVjdGVkLg0KPiANCj4gVGhlcmUgYXJlIG5vIGluIHRyZWUgdXNl cnMgb2YgdGhpcyBidXQgdGhlcmUgaXMgeW91ciBtYWRleWUgdG9vbCAod2hpY2gNCj4gaXMgb3V0 IG9mIHRyZWUpLiBUaGlzIGlzIHN0aWxsIGEgdXNlZnVsIGRlYnVnIHRvb2wgZm9yIE1BRHMgYW5k IHRoZXJlDQo+IGFyZSBwZW9wbGUgd2hvIHN0aWxsIHVzZSB0aGF0Lg0KDQpJdCdzIGFuIG91dCBv ZiB0cmVlIHRvb2wuICBNYWludGFpbiB0aGUgc25vb3BpbmcgaG9va3MgaW50byB0aGUgbWFkIGxh eWVyIG91dCBvZiB0cmVlIGFzIHdlbGwuDQo=
--
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
Quoted 8 lines · Sean
Quoted 6 lines
Quoted 1 line
There are no in tree users and the only attempt at adding one was
rejected.
There are no in tree users of this but there is your madeye tool (which is out of tree). This is still a useful debug tool for MADs and there are people who still use that.
It's an out of tree tool. Maintain the snooping hooks into the mad layer out of tree as well.
Any real reason not to pick this good tool into the kernel code?
Or.
--
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