[openib-general] ib_verbs.h ib_send/recv_wr struct discrepancy

Roland Dreier roland at topspin.com
Tue Sep 14 11:07:16 PDT 2004


    Hal> I think the ib_send_wr struct needs updating on Roland's
    Hal> branch from:

    Hal> struct ib_send_wr {
    Hal>         struct ib_send_wr      *next;

    Hal> to 

    Hal> struct ib_send_wr {
    Hal>         struct list_head        list;
    Hal>         u64                     wr_id;

Actually I would prefer not to make this change.  If we use the list.h
linked list implementation for work requests then consumers need to
allocate an extra struct list_head and the low-level driver has to
chase an extra pointer, even to post a single work request (the common
case).

 - R.




More information about the general mailing list