Re: [PATCH 2/4] cxgb4/iw_cxgb4: use firmware ord/ird resource limits

2014-07-13 Thread Yann Droneaud
Hi, Le vendredi 11 juillet 2014 à 20:44 +0530, Hariprasad Shenai a écrit : > diff --git a/drivers/infiniband/hw/cxgb4/qp.c > b/drivers/infiniband/hw/cxgb4/qp.c > index 6f74e0e..c911e96 100644 > --- a/drivers/infiniband/hw/cxgb4/qp.c > +++ b/drivers/infiniband/hw/cxgb4/qp.c > @@ -58,6 +58,30 @@ sta

[PATCH 2/4] cxgb4/iw_cxgb4: use firmware ord/ird resource limits

2014-07-11 Thread Hariprasad Shenai
Advertise a larger max read queue depth for qps, and gather the resource limits from fw and use them to avoid exhaustinq all the resources. Design: cxgb4: Obtain the max_ordird_qp and max_ird_adapter device params from FW at init time and pass them up to the ULDs when they attach. If these para