Dennis Dalessandro
81ba39a82e
IB/rdmavt: Add support for tracing events
...
This patch adds support of tracing events using the kernels built-in event
tracing infrastructure. This can be extended to provide a wide range of
trace and debug capabilities which have a negligible impact on performance
when enabled. These should be preferred over the use of the rvt_pr*
functions.
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:24 -05:00
Dennis Dalessandro
cf16335a0c
IB/rdmavt: Add completion queue function stubs
...
Create stubs for completion queue creation, polling,
resizing, calling for notification, and destroying.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:10 -05:00
Dennis Dalessandro
dc21752e2c
IB/rdmavt: Add mmap stub
...
Adds the stub for the mmap verbs call.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:09 -05:00
Dennis Dalessandro
3dd1faf89b
IB/rdmavt: Add process MAD stub
...
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 <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:09 -05:00
Dennis Dalessandro
9fa2517116
IB/rdmavt: Add multicast stubs
...
Adds the function stubs for attach and detach multicast.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:08 -05:00
Dennis Dalessandro
aad9158bda
IB/rdmavt: Add SRQ stubs
...
Adds the stubs for create, modify, query, and destory for shared
request queues.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:08 -05:00
Dennis Dalessandro
2a055eb7aa
IB/rdmavt: Add memory region stubs
...
Adds the function stubs for allocating, and registering memory regions, as
well as deregistering them.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:08 -05:00
Dennis Dalessandro
4c1e497286
IB/rdmavt: Add address handle stubs
...
Adds the stubs for create, destroy, modify, and query of the
address handle.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:08 -05:00
Dennis Dalessandro
b518d3e69e
IB/rdmavt: Add queue pair function stubs
...
Adds the stubs for create, modify, destroy and query functions for queue
pairs.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:07 -05:00
Dennis Dalessandro
8afd32eb58
IB/rdmavt: Add protection domain to rdmavt.
...
Add datastructure for and allocation/deallocation of protection domains for
RDMAVT.
Reviewed-by: Ira Weiny <ira.weiny@intel.com >
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:05 -05:00
Dennis Dalessandro
c1b332bc16
IB/rdmavt: Consolidate dma ops in rdmavt.
...
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 <ira.weiny@intel.com >
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:04 -05:00
Dennis Dalessandro
0194621b22
IB/rdmavt: Create module framework and handle driver registration
...
This patch introduces the basics for a new module called rdma_vt. This new
driver is a software implementation of the InfiniBand verbs and aims to
replace the multiple implementations that exist and duplicate each others'
code.
While the call to actually register the device with the IB 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 <ira.weiny@intel.com >
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com >
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com >
Signed-off-by: Doug Ledford <dledford@redhat.com >
2016-03-10 20:37:04 -05:00