From: Naresh Gottumukkala
Reorg structures to better packing to avoid cacheline padding.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma.h | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h
b/driv
From: Naresh Gottumukkala
Removed using self defined macro ocrdma_err and replaced with standard pr_err.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma.h | 2 -
drivers/infiniband/hw/ocrdma/ocrdma_hw.c| 44 +++---
drivers/infiniband/hw/ocrdma/ocrd
From: Naresh Gottumukkala
Changed macros to inline funtions.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma.h | 43 ++---
drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 15 --
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 +-
From: Naresh Gottumukkala
Use MCC_CREATE_EXT_V1 to create MCC_queue to receive RoCE events.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 39 +++
drivers/infiniband/hw/ocrdma/ocrdma_sli.h | 20 ++--
2 files changed, 1
From: Naresh Gottumukkala
Fixed post_send to set the bad_wr in error case.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
b/drivers/infiniband/hw/ocrdma/ocrdma
On 08/06/2013 19:42, Liu Ginhann wrote:
does this works if you use get_free_pages in the kernel instead of
kmem_cache?
I tried get_free_pages, kmalloc, kmem_cache_alloc. None of them work, it failed
with the same error - EFAULT bad pointer.
After code walk through, I believe it failed in ib_u