This fixes a bug with the rev 0 Chelsio T3 hardware...

It needs to be pulled into ofed_1_2.  

Roland, it will need to be merged in with the T3 rdma driver.  I'm
maintaining this in my git tree, so I can resend it to you once you
finish reviewing/merging the T3 driver.

Thanks,

Steve.

-------


Don't copy in the library cq rptr address for T3A devices.

T3A doesn't support kernel bypass, so we must _not_ save off the lib's
cq rptr address for these devices.  Otherwise the re-arm logic will try
and use the library rptr value for T3A re-arm.

Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
---

 drivers/infiniband/hw/cxgb3/iwch_provider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/cxgb3/iwch_provider.c 
b/drivers/infiniband/hw/cxgb3/iwch_provider.c
index 28be418..dbb3f71 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_provider.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_provider.c
@@ -151,7 +151,7 @@ static struct ib_cq *iwch_create_cq(stru
        if (!chp)
                return ERR_PTR(-ENOMEM);
 
-       if (context) {
+       if (context && !t3a_device(rhp)) {
                if (ib_copy_from_udata(&ureq, udata, sizeof (ureq))) {
                        kfree(chp);
                        return ERR_PTR(-EFAULT);


_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to