I'm at a loss on how to get the hex address to go underneath acls when
setting up srpt. If I use the fe80 prefix I see everywhere including
/sys, it gets rejected. If I use the prefix shown in the kernel
rejection method, which I can't find anywhere else, it works fine.
I am using targetcli, but
I think:
TL;DR - I can find my initiator's guid, but targetcli doesn't work
with that in acls. I have to give it the i_port_id to work. How do I
find the i_port_id, other than having a failed connection attempt and
looking at dmesg?
On Wed, Jan 6, 2016 at 3:02 AM, james harvey wrote:
> I'm at
After more digging, I found out this out of no where hex string is
referred to as "initiator_ext", and is being sent since srp_daemon.sh
give srp_daemon the "-n" flag. Since there's no user-set
initiator_ext, srp_daemon grabs it from somewhere.
If I want to continue using the "-n" flag, how can I
After more digging, I found out this out of no where hex string is
referred to as "initiator_ext", and is being sent since srp_daemon.sh
give srp_daemon the "-n" flag. Since there's no user-set
initiator_ext, srp_daemon grabs it from somewhere.
If I want to continue using the "-n" flag, how can I
Looks good,
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Looks good,
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jan 6, 2016 at 6:43 AM, Hariprasad S wrote:
>
> Hi Doug,
>
> I am trying to rping server, but it fails when bound to any address other
> then IF_ANY.
> # rping -s -a 102.1.1.129 -C1 -p -vd
> created cm_id 0x23d7800
> rdma_bind_addr: No such file or directory
> destroy cm_id 0x23d7800
On Thu, Dec 31, 2015 at 05:34:03PM +0200, Haggai Eran wrote:
> > + sock = sockfd_lookup(fd, &rc);
> > + if (IS_ERR_OR_NULL(sock))
> > + return -EINVAL;
> > +
> > + inetsock = inet_sk(sock->sk);
> > +
> > + neigh = neigh_lookup(&arp_tbl, &inetsock->inet_daddr, dev);
>
> Also, isn'
On Wed, Jan 06, 2016 at 12:33:09 +0200, Matan Barak wrote:
> On Wed, Jan 6, 2016 at 6:43 AM, Hariprasad S wrote:
> >
> > Hi Doug,
> >
> > I am trying to rping server, but it fails when bound to any address other
> > then IF_ANY.
> > # rping -s -a 102.1.1.129 -C1 -p -vd
> > created cm_id 0x23
On Fri, Jan 1, 2016 at 2:17 PM, Bart Van Assche
wrote:
> ib_send_cm_drep() calls cm_enter_timewait() while holding a spinlock
> that can be locked from inside an interrupt handler. Hence do not
> enable interrupts inside cm_enter_timewait() if called with interrupts
> disabled.
>
> This patch fixe
On 06/01/2016 13:03, Yuval Shaia wrote:
> On Thu, Dec 31, 2015 at 05:34:03PM +0200, Haggai Eran wrote:
>>> + sock = sockfd_lookup(fd, &rc);
>>> + if (IS_ERR_OR_NULL(sock))
>>> + return -EINVAL;
>>> +
>>> + inetsock = inet_sk(sock->sk);
>>> +
>>> + neigh = neigh_lookup(&arp_tbl, &i
On Wed, Jan 06, 2016 at 02:25:52PM +0200, Haggai Eran wrote:
> On 06/01/2016 13:03, Yuval Shaia wrote:
> > On Thu, Dec 31, 2015 at 05:34:03PM +0200, Haggai Eran wrote:
> >>> + sock = sockfd_lookup(fd, &rc);
> >>> + if (IS_ERR_OR_NULL(sock))
> >>> + return -EINVAL;
> >>> +
> >>> + inetsock =
cma_validate_port wrongly assumed that Ethernet devices are RoCE
devices and thus their ndev should be matched in the GID table.
This broke the iWrap support. Fixing that matching the ndev only if
we work on a RoCE port.
Fixes: abae1b71dd37 ('IB/cma: cma_validate_port should verify the port
On 01/06/2016 06:13 AM, Christoph Hellwig wrote:
pr_debug("Aborting cmd with state %d and tag %lld\n", state,
ioctx->cmd.tag);
@@ -1299,14 +1291,16 @@ static int srpt_abort_cmd(struct srpt_send_ioctx *ioctx)
case SRPT_STATE_NEW:
case SRPT_STATE_DATA_IN:
On 01/06/2016 06:21 AM, Christoph Hellwig wrote:
On Tue, Jan 05, 2016 at 03:26:49PM +0100, Bart Van Assche wrote:
The Last WQE Reached event is only generated after one or more work
requests have been queued on the QP associated with a session. Since
session shutdown can start before any work re
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
The only allowed channel state changes are those that change
the channel state into a state with a higher numerical value.
This allows to merge the functions srpt_set_ch_state() and
srpt_test_and_set_ch_state() into a single function.
Signed-off-by: Bart Van Assche
Cc: Christoph Hellwig
The
Avoid that srpt_close_session() waits if it doesn't have to wait.
Can you explain when it doesn't have to wait? is it possible that
srpt_release_channel_work() was already triggered? isn't that a problem?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a
On 05/01/2016 16:25, Bart Van Assche wrote:
The target core function that should be called if target_submit_cmd()
fails is target_put_sess_cmd(). Additionally, change the return type
of srpt_handle_cmd() from int into void.
Signed-off-by: Bart Van Assche
Cc: Christoph Hellwig
---
drivers/i
Looks good,
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 01/06/2016 03:21 PM, Sagi Grimberg wrote:
Avoid that srpt_close_session() waits if it doesn't have to wait.
Can you explain when it doesn't have to wait? is it possible that
srpt_release_channel_work() was already triggered? isn't that a problem?
Hello Sagi,
The target core can decide to
On 01/06/2016 03:31 PM, Sagi Grimberg wrote:
On 05/01/2016 16:25, Bart Van Assche wrote:
@@ -1518,8 +1517,7 @@ static int srpt_handle_cmd(struct srpt_rdma_ch *ch,
if (srpt_get_desc_tbl(send_ioctx, srp_cmd, &dir, &data_len)) {
pr_err("0x%llx: parsing SRP descriptor table failed.\n
On 05/01/2016 16:26, Bart Van Assche wrote:
The Last WQE Reached event is only generated after one or more work
requests have been queued on the QP associated with a session. Since
session shutdown can start before any work requests have been queued,
use a zero-length RDMA write to wait until a
Looks good,
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 01/06/2016 03:39 PM, Sagi Grimberg wrote:
On 05/01/2016 16:26, Bart Van Assche wrote:
The Last WQE Reached event is only generated after one or more work
requests have been queued on the QP associated with a session. Since
session shutdown can start before any work requests have been queued,
Keep the ib_srpt session as long as srpt_close_session() may
access it.
Makes sense,
Reviewed-by: Sagi Grimberg
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majord
On 06/01/2016 16:34, Bart Van Assche wrote:
On 01/06/2016 03:21 PM, Sagi Grimberg wrote:
Avoid that srpt_close_session() waits if it doesn't have to wait.
Can you explain when it doesn't have to wait? is it possible that
srpt_release_channel_work() was already triggered? isn't that a problem
ULPs are *already* using the same registrations for both local and
remote access.
Where? Out of tree?
I haven't found anything in-tree for sure.
We have that in iSER.
iSCSI allows a FirstBurst functionality and iSER as an iSCSI
transport is required to support that.
The FirstBurst is div
On 1/6/2016 7:06 AM, Matan Barak wrote:
cma_validate_port wrongly assumed that Ethernet devices are RoCE
devices and thus their ndev should be matched in the GID table.
This broke the iWrap support. Fixing that matching the ndev only if
Typo "iWrap"
Reviewed-by: Steve Wise
we work on a RoCE
On Wed, Jan 06, 2016 at 05:10:06PM +0200, Sagi Grimberg wrote:
>
> >>>ULPs are *already* using the same registrations for both local and
> >>>remote access.
> >>
> >>Where? Out of tree?
> >
> >I haven't found anything in-tree for sure.
>
> We have that in iSER.
>
> iSCSI allows a FirstBurst func
On Wed, Jan 06, 2016 at 03:46:34PM +0100, Bart Van Assche wrote:
> I will make the patch description more detailed. Sorry if some of this code
> is hard to follow but that's because of the high level of concurrency in
> the SRP target driver. Some time ago I documented how session management in
The following series implements rdmavt. This is the rdma verbs transport
software library which will help to solve the problem of code duplication
between hardware drivers when it comes to a verbs implementation.
Rdmavt is basically just another verbs provider and lives in the Infiniband tree
in a
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 happen
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
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 +
drivers
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 com
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 to
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 be
This patch adds the query and modify port stubs. The query will mostly
entail the driver returning everything in the ib_port_attr which will get
handed back to the verbs layer. The modify will need some API helpers in
the driver. The send_trap and post_mad_send are still issues to address.
Reviewe
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
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 +
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 +
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/rdm
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 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
drive
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/sw
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/ma
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 ++
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 patch adds the MR datastructures based on hfi1 into rvt. For now the
data structures are defined in include/rdma/rdma_vt.h but once all MR
functionality has been moved from the drivers into rvt these should move to
rdmavt/mr.h
Reviewed-by: Ira Weiny
Reviewed-by: Dean Luick
Reviewed-by: Mike
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/in
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 |5 -
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 ++
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 Dale
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 Dalessandro
---
dri
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 +
d
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
dr
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 insert
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/s
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
From: Kamal Heib
Original patch is from Kamal Heib . It has
been split into three separate patches. This one for rdmavt,
a follow on for qib, and one for hfi1.
Create datastructure for address handle and implement the
create/destroy/modify/query of address handle for rdmavt.
Reviewed-by: Ira We
Converge the ibport data structures of qib and hfi1 into a common ib
port structure. Also provides a place to keep track of these ports
in case rdmavt needs it. Along with this goes an attach and detach
function for drivers to use to notify rdmavt of the ports.
Reviewed-by: Ira Weiny
Reviewed-by:
Add pkey table in rdi per port data structure. Also bring in related pkey
functions. Drivers will still be responsible for allocating and
maintaining the pkey table. However they need to tell rdmavt where to find
the pkey table. We can not move the pkey table up into rdmavt because
drivers need to
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/rd
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
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/qib_ru
The following series implements the beginning support of rdmavt in the qib
driver. The memory registration and protection domain functionality has been
moved out of the driver as well as critical qp data structures. More patches
will follow to incrementally remove code from qib and use the rdmavt
i
This patch removes most of the uses of QIB_PERMISSIBVE_LID and
QIB_MULTICAST_LID_BASE in favor of the recently added IB_* versions.
There are still minor uses in AH functions as well as the QIB_* defines
but those will be removed in a follow on patch.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marc
This patch begins to make use of rdmavt by registering with it and
providing access to the header files. This is just the beginning of
rdmavt support in qib.
Most functionality is still being done in the driver, set flags so that
rdmavt will let qib continue to handle mr, qp, and cq init.
Reviewe
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/infin
In preparation for moving the queue pair data structure to rdmavt the
members of the driver specific queue pairs which are not common need to be
pushed off to a private driver structure. This structure will be available
in the queue pair once moved to rdmavt as a void pointer. This patch while
not
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/infi
Original patch for AH changes from Kamal Heib , split
apart from original. This patch also removes the qib specific multicast
lid base and permissive lid defines since they are no longer needed.
Use common LID defines in qib driver.
Reviewed-by: Ira Weiny
Signed-off-by: Kamal Heib
Signed-off-by
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
drive
Remove qp and mr support from qib and use rdmavt. These two changes
cannot be reasonably be split apart into separate patches because they
depend on eachother in multple places. This paves the way to remove
even more functions in subsequent patches.
Reviewed-by: Ira Weiny
Reviewed-by: Mike Marcin
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/infin
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 flags for queue
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(-)
diff
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
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 |
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/rd
Encountered the below just after booting my NFS/RDMA
server with 4.4.0-rc6-00011-g6948cb2 (k.o/for-4.5 plus
my NFS/RDMA for-4.5 patches). The system is up and
ping-able via eth0, but high-level networking (like sshd
and nfsd) does not work, and my ib0 i/f is missing.
This is an x86_64 system with
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
---
drive
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 ++
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 (
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/qi
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
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
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
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
Rely on rdmavt functions for creation of qp and qp table. Function to
allocate a qpn is still being provided by qib as the algorithm to allocate
a qpn in qib is different from that of the algorithm in rdmavt.
Reviewed-by: Mike Marciniszyn
Reviewed-by: Ira Weiny
Reviewed-
Hi Dan,
(Adding Sagi CC')
On Tue, 2016-01-05 at 00:07 +0300, Dan Carpenter wrote:
> Hello Nicholas Bellinger,
>
> The patch b8d26b3be8b3: "iser-target: Add iSCSI Extensions for RDMA
> (iSER) target driver" from Mar 7, 2013, leads to the following static
> checker warning:
>
> drivers/infi
1 - 100 of 118 matches
Mail list logo