James Lentini wrote:
On Tue, 27 May 2008, Steve Wise wrote:
enum ib_send_flags {
@@ -676,6 +683,19 @@ struct ib_send_wr {
u16 pkey_index; /* valid for GSI only */
u8 port_num; /* valid for DR SMPs on switch
only */
} ud;
+ struct {
+ u64 iova_start;
+ struct ib_mr *mr;
+ struct ib_fast_reg_page_list *page_list;
+ unsigned int page_shift;
+ unsigned int page_list_len;
+ unsigned int first_byte_offset;
+ u32 length;
+ int access_flags;
+ } fast_reg;
+ struct {
+ struct ib_mr *mr;
+ } local_inv;
} wr;
};
Ok, while writing a test case for all this jazz,
Could you post the test case when it is ready? An example of how to
use this API would be useful. Of course, I realize you are revising
the API at the moment...
Yes, I have already said I'll post a test case. :)
The krping tool will be the culprit. Its the kernel equivalent of rping
and has been around for a long time in one form or another.
It is available at git://git.openfabrics.org/~swise/krping
It currently supports dma mrs and regular mrs only. I'm adding fastreg
support now. And I want to add mw too.
Steve.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general