Quoting r. Michael S. Tsirkin <[EMAIL PROTECTED]>:
> > My personal preference would be to have this policy controlled by the ULPs.
> 
> OK. I'll write a patch.

Sean, just to wrap it up, the API at the verbs layer will look like the below,
and then ULPs just put the value they want in the CM and CM will pass
it in to low level.

OK?

Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>

Index: openib/drivers/infiniband/include/rdma/ib_user_verbs.h
===================================================================
--- openib.orig/drivers/infiniband/include/rdma/ib_user_verbs.h 2006-03-02 
21:41:01.000000000 +0200
+++ openib/drivers/infiniband/include/rdma/ib_user_verbs.h      2006-03-23 
00:50:48.000000000 +0200
@@ -378,7 +378,8 @@ struct ib_uverbs_qp_attr {
        __u8    rnr_retry;
        __u8    alt_port_num;
        __u8    alt_timeout;
-       __u8    reserved[5];
+       __u8    flow_control;
+       __u8    reserved[4];
 };
 
 struct ib_uverbs_create_qp {
Index: openib/drivers/infiniband/include/rdma/ib_verbs.h
===================================================================
--- openib.orig/drivers/infiniband/include/rdma/ib_verbs.h      2006-03-02 
21:41:01.000000000 +0200
+++ openib/drivers/infiniband/include/rdma/ib_verbs.h   2006-03-23 
00:50:28.000000000 +0200
@@ -573,6 +573,7 @@ struct ib_qp_attr {
        u8                      rnr_retry;
        u8                      alt_port_num;
        u8                      alt_timeout;
+       u8                      flow_control;
 };
 
 enum ib_wr_opcode {

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to