Marciniszyn
Reviewed-by: Dennis Dalessandro
Reviewed-by: Ira Weiny
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_driver.c |4
drivers/infiniband/hw/qib/qib_iba6120.c |8 -
drivers/infiniband/hw/qib/qib_iba7322.c |2
drivers/infiniband/hw/qib
From: Harish Chegondi
Removed qib_query_device function to use rdmavt rvt_query_device function
The device attributes still need to be filled in by the driver.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_verbs.c | 102
From: Harish Chegondi
Use the definitions of the s_flags and r_flags which are now in rdmavt.
Reviewed-by: Dennis Dalessandro
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_driver.c | 10 +-
drivers/infiniband/hw/qib
-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib.h |3
drivers/infiniband/hw/qib/qib_qp.c| 345 +++--
drivers/infiniband/hw/qib/qib_verbs.c | 48 ++---
drivers/infiniband/hw/qib/qib_verbs.h | 19 +-
4 files
From: Harish Chegondi
IB user context alloc and dealloc functions have been added to rdmavt.
Delete the QIB user context alloc/dealloc functions and use the ones in
rdmavt.
Reviewed-by: Ira Weiny
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_verbs.c | 44 ++---
From: Harish Chegondi
Additional work is required to create an AH. This patch adds support to
set the VL correctly.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Dennis Dalessandro
Reviewed-by: Ira Weiny
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_verbs.c | 19
From: Harish Chegondi
Since mmap functionality has been moved into rdmavt, its time for qib to
use that.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/Makefile|2
drivers/infiniband/hw/qib/qib_cq.c| 18 ++-
drivers/infiniband/hw
From: Harish Chegondi
Remove qib query pkey function which is no longer needed as this is now
being done in rdmavt. The allocation and maintenance of the list still
resides in the driver.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_verbs.c
From: Harish Chegondi
This patch removes the private queue pair structure and the table which
holds the queue pair numbers in favor of using what is provided by rdmavt.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/hw/qib/qib_qp.c| 120
This patch set removes the ibport from qib and starts to add in more support for
rdamvt provided verbs functionality. Included is AH notification, pkey support,
and queue pair creation.
This patchset builds on the "Start to add qp support to rdmavt and other verbs"
patchset.
---
Harish Chegondi (
Until all queue pair functionality is moved to rdmavt we need to provide
access to the reset function. This is only temporary and will be reverted
back to a static, non exported function in the end.
Reviewed-by: Ira Weiny
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
From: Harish Chegondi
Adding IB user context alloc and dealloc functions to rdmavt so that the
drivers that use rdmavt can use these functions instead of defining their
own functions.
Reviewed-by: Ira Weiny
Signed-off-by: Harish Chegondi
---
drivers/infiniband/sw/rdmavt/vt.c | 20 ++
Add create queue pair verbs call as well as supporting functions.
Reviewed-by: Ira Weiny
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/qp.c | 425 +++--
drivers/infiniband/sw/rdmavt/vt.c |1
include/rdma
From: Harish Chegondi
With this commit, the drivers using rdmavt need not define query_device
function. But they should fill in the IB device attributes structure
rvt_dev_info.dparms.props
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/sw/rdmavt/vt.c
Use the flags originally provided for hfi1 in the rdmavt driver. These will
be made available to drivers in the qp header file.
Reviewed-by: Harish Chegondi
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdmavt_qp.h | 80
From: Harish Chegondi
qib needs to reserve only one qpn for non-verbs stuff. Also fixed the for
loop to reserve the end qpn.
Reviewed-by: Dennis Dalessandro
Signed-off-by: Harish Chegondi
---
drivers/infiniband/sw/rdmavt/qp.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions
This patch continues adding the support for queue pairs in rdmavt. It also adds
the create queue pair, user context alloc, dealloc, and query device verbs.
This patchset builds on the "Begin to use rdmavt for qib" patchset.
---
Dennis Dalessandro (3):
IB/rdmavt: Add R and S
Remove srq from qib now that it has been moved into rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_qp.c|2 +-
drivers/infiniband/hw/qib/qib_ruc.c |4 ++--
drivers
Original patch from Kamal Heib , split
apart from original.
Remove AH from qib and use rdmavt version.
Reviewed-by: Ira Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_iba7322.c |2
drivers/infiniband/hw/qib/qib_mad.c |2
Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v2:
Handle removal of rvt_reg_phys_mr()
drivers/infiniband/hw/qib/Makefile |4
drivers/infiniband/hw/qib/qib.h | 14 -
drivers/infiniband/hw/qib/qib_cq.c |2
drivers/infiniband/hw/qib
-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_common.h |2 --
drivers/infiniband/hw/qib/qib_qp.c |1 +
drivers/infiniband/hw/qib/qib_verbs.c |4 ++--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/qib/qib_common.h
b/drivers
-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_qp.c| 75 -
drivers/infiniband/hw/qib/qib_rc.c|7 ++-
drivers/infiniband/hw/qib/qib_ruc.c | 18 +---
drivers/infiniband/hw/qib/qib_sdma.c | 17 +--
drivers/infiniband/hw/qib
Implement get_card_name and get_pci_dev helper functions for rdmavt
for qib.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib.h|2 ++
drivers/infiniband/hw/qib/qib_driver.c | 16
drivers
.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/Kconfig |2 +-
drivers/infiniband/hw/qib/qib.h |1 +
drivers/infiniband/hw/qib/qib_init.c |5 +++--
drivers/infiniband/hw/qib/qib_intr.c |2 +-
drivers
This patch removes the qib_dma.c file and uses the version which has been
added to rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/Makefile|2 +-
drivers/infiniband/hw/qib/qib_verbs.c |3 ++-
drivers
nto k.o/for-4.5 commit: 59caae
Handle removal of rvt_reg_phys_mr()
---
Dennis Dalessandro (10):
IB/qib: Begin to use rdmavt for verbs
IB/qib: Remove dma.c and use rdmavt version of dma functions
IB/qib: Use rdmavt protection domain
IB/qib: Remove most uses of QIB_PER
Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_driver.c |2 +-
drivers/infiniband/hw/qib/qib_mad.c|4 ++--
drivers/infiniband/hw/qib/qib_qp.c |5 +++--
drivers/infiniband/hw/qib/qib_ud.c | 11 ++-
drivers/infiniband/hw/qib
Remove protection domain datastructure from qib and use rdmavts version.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_keys.c |6 ++-
drivers/infiniband/hw/qib/qib_mr.c|2 +
drivers/infiniband/hw/qib
Drivers may need to do some work once an address handle has been
created. Add a driver function for this purpose.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/ah.c |7 +-
include
From: Kamal Heib
Original patch is from Kamal Heib . It has
been split into separate patches.
This patch adds RVT_PERMISSIVE_LID and RVT_MULTICAST_LID_BASE
to rdmavt.
Reviewed-by: Ira Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h |3 +++
1
manipulate this long before registering with it.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 46 -
include/rdma/rdma_vt.h| 38
Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/ah.c | 98 +++--
drivers/infiniband/sw/rdmavt/vt.c |5 ++
include/rdma/rdma_vt.h| 17 ++
3 files changed, 115 insertions(+), 5 deletions
: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 24 +
include/rdma/rdma_vt.h| 66 -
2 files changed, 89 insertions(+), 1 deletions(-)
diff --git a/drivers/infiniband/sw/rdmavt/vt.c
b
Patch moves the srq data structure into rdmavt in preparation for
removal from qib and hfi1 which will follow in subsequent patches.
Reviewed-by: Ira Weiny
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h | 13 +
1 files changed, 13
The mmap data structure was moved in a previous commit. This patch now
pulls in the related functions.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/mmap.c | 140 +++
drivers/infiniband
Add table init as well as teardown for handling qpn maps. Drivers can still
provide this functionality by setting the QP_INIT_DRIVER bit.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/qp.c | 197
Use the memory registration routines in hfi1 and move them to rdmavt.
A follow on patch will address removing the duplicated code in the
hfi1 and qib drivers.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Remove rvt_reg_phys_mr
Trying to print debug and error messages with the rdmavt helpers will not
work out so well if the drivers have not provided the get_card and get
pci functions. Use the normal pr_error instead until we can check this.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis
Follow hfi1's example for printing information about the driver and
incorporate into rdmavt. This requires two new functions to be
provided by the driver, one to get_card_name and one to get_pci_dev.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Daless
This adds the post sned and recv function stubs.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Fix typo in subject
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/qp.c | 62
Drivers will need a set of flags to dictate behavior to rdmavt. This patch
adds a placeholder and a spot for it to live, as well as a few flags
that will be used.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h | 12
Drivers are going to need to provide multiple functions for rdmavt to
call in to. We already have one, so go ahead and push this into a
data structure designated for driver supplied functions.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers
Add queue pair data structure as well as supporting structures to rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Rename rvt_sge.m => rvt_sge.cur_map
Rename rvt_sge.n => rvt_sge.cur
drivers/infiniband/sw/rdmavt/qp.h
: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Rename rdi.lk_table => rdi.lkey_table
include/rdma/rdma_vt.h | 53
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/include/rdma/rdma_vt.h b/include/r
Create stubs for completion queue creation, polling,
resizing, calling for notification, and destroying.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2
This adds the get port immutable verbs call.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/vt.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff
Adds the stub for the mmap verbs call.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 +
drivers/infiniband/sw/rdmavt/mmap.c | 60
This adds the stub for process mad. More study is needed to determine the
final MAD interaction between the driver and rvt.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/Makefile |2 -
drivers/infiniband/sw/rdmavt
Adds the function stubs for attach and detach multicast.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 +
drivers/infiniband/sw/rdmavt/mcast.c | 58
Adds the stubs for create, modify, query, and destory for shared
request queues.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 -
drivers/infiniband
Adds the function stubs for allocating, and registering memory regions, as
well as deregistering them.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
Changes since v2:
Remove rvt_reg_phys_mr
Adds the stubs for create, modify, destroy and query functions for queue
pairs.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 -
drivers/infiniband/sw
Adds the stubs for create, destroy, modify, and query of the
address handle.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |3 -
drivers/infiniband/sw
Add the stubs to allocate and deallocate user contexts. This will be
handled completely by rvt.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/vt.c | 22
The handler for query gid operates along the same lines as the query pkey
handler. The driver will take care to keep the guid table updated.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 22
The pkey table will reside in the rvt structure but it will be modified
only when the driver requests then rvt will simply read the value to return
in the query.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 21
.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Fix comment style for rvt_query_port
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/vt.c | 48 +
1 files changed, 48 insertions(+), 0
Add a macro to cut down on writing the same lines over and over again for
what will be a large number of functions that will be supported.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change CDR macro to CHECK_DRIVER_OVERRIDE to
Adds the stubs which will handle the query and modify device functions. At
this time the only intention is to support changing the node desc and the
guid via these calls.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs
Instead of trying to handle each parameter separately, add ib_device_attr
to rvt_driver_params. This means drivers will fill this in and pass to the
rvt registration function.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
remove
Add datastructure for and allocation/deallocation of protection domains for
RDMAVT.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
update comment about protection domain limit
drivers/infiniband/sw/rdmavt/Makefile |3
This patch adds dma functions to rdmavt. The source is hfi1's version of
dma.c which will be removed by a subsequent hfi1 patch.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
return 0 in rvt_map_sg instead of BAD_DMA_ADDRESS
r
core happens in
rdma_vt, most of the work is still done in the drivers themselves. This
will be changing in a follow on patch this is just laying the groundwork
for this infrastructure.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes sin
new memory
registration API")
Changes since v2:
Rebased onto k.o/for-4.5 commit: 59caaed7a72a0e3750dfb84636dae6b781559310
Add back in dma.h include in dma.c due to sparse error
Handle the removal of reg_phys_mr()
---
Dennis Dalessandro (34):
I
On Tue, Dec 29, 2015 at 07:38:30PM +0200, Moni Shoua wrote:
This is not a question if I can hook Soft RoCE driver into this framework.
In fact, I can't think of an IB driver that can't use this framework. What
this
framework offers is just another hop from ib_core the real driver.
Where is the
Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/Makefile |4
drivers/infiniband/hw/qib/qib.h | 14 -
drivers/infiniband/hw/qib/qib_cq.c |2
drivers/infiniband/hw/qib/qib_driver.c |4
drivers/infiniband/hw/qib/qib_keys.c
Remove srq from qib now that it has been moved into rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_qp.c|2 +-
drivers/infiniband/hw/qib/qib_ruc.c |4 ++--
drivers
Original patch from Kamal Heib , split
apart from original.
Remove AH from qib and use rdmavt version.
Reviewed-by: Ira Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_iba7322.c |2
drivers/infiniband/hw/qib/qib_mad.c |2
Implement get_card_name and get_pci_dev helper functions for rdmavt
for qib.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib.h|2 ++
drivers/infiniband/hw/qib/qib_driver.c | 16
drivers
implementation.
This patch builds on the v2 "Add rdma verbs transport library" patch.
Changes since v1:
Rebased onto what appears to be the latest branch on Doug's kernel.org repo
(k.o/for-4.4-rc). I can rebase onto something else if needed.
---
Dennis Dalessandro (10):
I
Remove protection domain datastructure from qib and use rdmavts version.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_keys.c |6 ++-
drivers/infiniband/hw/qib/qib_mr.c|2 +
drivers/infiniband/hw/qib
-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_qp.c| 75 -
drivers/infiniband/hw/qib/qib_rc.c|7 ++-
drivers/infiniband/hw/qib/qib_ruc.c | 18 +---
drivers/infiniband/hw/qib/qib_sdma.c | 17 +--
drivers/infiniband/hw/qib
.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/Kconfig |2 +-
drivers/infiniband/hw/qib/qib.h |1 +
drivers/infiniband/hw/qib/qib_init.c |5 +++--
drivers/infiniband/hw/qib/qib_intr.c |2 +-
drivers
-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_common.h |2 --
drivers/infiniband/hw/qib/qib_qp.c |1 +
drivers/infiniband/hw/qib/qib_verbs.c |4 ++--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/qib/qib_common.h
b/drivers
Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/qib_driver.c |2 +-
drivers/infiniband/hw/qib/qib_mad.c|4 ++--
drivers/infiniband/hw/qib/qib_qp.c |5 +++--
drivers/infiniband/hw/qib/qib_ud.c | 11 ++-
drivers/infiniband/hw/qib
This patch removes the qib_dma.c file and uses the version which has been
added to rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/hw/qib/Makefile|2 +-
drivers/infiniband/hw/qib/qib_verbs.c |3 ++-
drivers
manipulate this long before registering with it.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 46 -
include/rdma/rdma_vt.h| 38
Add table init as well as teardown for handling qpn maps. Drivers can still
provide this functionality by setting the QP_INIT_DRIVER bit.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/qp.c | 197
The mmap data structure was moved in a previous commit. This patch now
pulls in the related functions.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/mmap.c | 140 +++
drivers/infiniband
Drivers may need to do some work once an address handle has been
created. Add a driver function for this purpose.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/ah.c |7 +-
include
Patch moves the srq data structure into rdmavt in preparation for
removal from qib and hfi1 which will follow in subsequent patches.
Reviewed-by: Ira Weiny
Reviewed-by: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h | 13 +
1 files changed, 13
: Harish Chegondi
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/vt.c | 24 +
include/rdma/rdma_vt.h| 66 -
2 files changed, 89 insertions(+), 1 deletions(-)
diff --git a/drivers/infiniband/sw/rdmavt/vt.c
b
Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/ah.c | 98 +++--
drivers/infiniband/sw/rdmavt/vt.c |5 ++
include/rdma/rdma_vt.h| 17 ++
3 files changed, 115 insertions(+), 5 deletions
Trying to print debug and error messages with the rdmavt helpers will not
work out so well if the drivers have not provided the get_card and get
pci functions. Use the normal pr_error instead until we can check this.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis
From: Kamal Heib
Original patch is from Kamal Heib . It has
been split into separate patches.
This patch adds RVT_PERMISSIVE_LID and RVT_MULTICAST_LID_BASE
to rdmavt.
Reviewed-by: Ira Weiny
Signed-off-by: Kamal Heib
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h |3 +++
1
Use the memory registration routines in hfi1 and move them to rdmavt.
A follow on patch will address removing the duplicated code in the
hfi1 and qib drivers.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Remove rvt_reg_phys_mr
Drivers will need a set of flags to dictate behavior to rdmavt. This patch
adds a placeholder and a spot for it to live, as well as a few flags
that will be used.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
include/rdma/rdma_vt.h | 12
Add queue pair data structure as well as supporting structures to rdmavt.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Rename rvt_sge.m => rvt_sge.cur_map
Rename rvt_sge.n => rvt_sge.cur
drivers/infiniband/sw/rdmavt/qp.h
Follow hfi1's example for printing information about the driver and
incorporate into rdmavt. This requires two new functions to be
provided by the driver, one to get_card_name and one to get_pci_dev.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Daless
Drivers are going to need to provide multiple functions for rdmavt to
call in to. We already have one, so go ahead and push this into a
data structure designated for driver supplied functions.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers
This adds the post sned and recv function stubs.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Fix typo in subject
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/qp.c | 62
: Mike Marciniszyn
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Rename rdi.lk_table => rdi.lkey_table
include/rdma/rdma_vt.h | 53
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/include/rdma/rdma_vt.h b/include/r
Create stubs for completion queue creation, polling,
resizing, calling for notification, and destroying.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2
This adds the get port immutable verbs call.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/vt.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff
Adds the stub for the mmap verbs call.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 +
drivers/infiniband/sw/rdmavt/mmap.c | 60
This adds the stub for process mad. More study is needed to determine the
final MAD interaction between the driver and rvt.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
drivers/infiniband/sw/rdmavt/Makefile |2 -
drivers/infiniband/sw/rdmavt
Adds the function stubs for attach and detach multicast.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 +
drivers/infiniband/sw/rdmavt/mcast.c | 58
Adds the stubs for create, modify, query, and destory for shared
request queues.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2 -
drivers/infiniband
Adds the function stubs for allocating, and registering memory regions, as
well as deregistering them.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |2
Adds the stubs for create, destroy, modify, and query of the
address handle.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Signed-off-by: Dennis Dalessandro
---
Changes since v1:
Change stubs to return EOPNOTSUPP
drivers/infiniband/sw/rdmavt/Makefile |3 -
drivers/infiniband/sw
1 - 100 of 224 matches
Mail list logo