From: Wei Yongjun
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun
---
drivers/infiniband/ulp/isert/ib_isert.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/driv
Hi.
I'm measuring the number of RDMA reads and writes per second. In my
experimental setup I have one server connected to several clients and I
want to extract the maximum IOs from the server. I had two questions
regarding this:
1. What is the expected number of small (16 byte values) RDMA reads
Hi.
I'm measuring the number of RDMA reads and writes per second. In my
experimental setup I have one server connected to several clients and
I want to extract the maximum IOs from the server. I had two questions
regarding this:
1. What is the expected number of small (16 byte values) RDMA reads
> +enum ib_mr_create_flags {
> + IB_MR_SIGNATURE_EN = 1,
> +};
> +
> +/**
> + * ib_mr_init_attr - Memory region init attributes passed to routine
> + * ib_create_mr.
> + * @max_reg_descriptors: max number of registration units that
> + * may be used with UMR work requests.
> + * @fl
Hello,
about two month we had some problems with IPoIB transfer speeds .
See more http://marc.info/?l=linux-rdma&m=137823326109158&w=2
After some quite hard test iterations the problem seems to come from the
IPoIB switch from LRO to GRO between kernels 2.6.37 and 2.6.38.
I built a test setup w
> > drivers/infiniband/core/cma.c:1336 cma_req_handler() warn:
> > inconsistent returns mutex:&listen_id->handler_mutex: locked (1271
> > [(-22)], 1274 [(-103)]) unlocked (1323 [0], 1336
> > [s32min-(-1),1-s32max], 1336 [(-12)])
> >
> > drivers/infiniband/core/cma.c:1535 iw_conn_req_handler() warn:
From: Alex Netes
When invalidating cache p_sw->hops[i] arrays aren't cleared.
Signed-off-by: Alex Netes
Signed-off-by: Hal Rosenstock
---
opensm/osm_ucast_cache.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/opensm/osm_ucast_cache.c b/opensm/osm_ucast_cache
Support create_mr and destroy_mr verbs.
The user may request signature enable memory region attribute
where in this case the memory region shall be indirect MR
and shall be attached to with signature attributes (BSF, PSVs).
Otherwise, the create_mr routine is equivalent to alloc_fast_reg_mr.
Signe
This commit introduces verbs for creating/destoying memory
regions which will allow new types of memory key operations such
as protected memory registration.
Indirect memory registration is registering several (one
of more) pre-registered memory regions in a specific layout.
The Indirect region ma
This patch implements IB_WR_REG_SIG_MR posted by the user.
Baisically this WR involvs 3 WQEs in order to prepare and properly
register the signature layout:
1. post UMR WR to register the sig_mr in one of two possible ways:
* In case the user registered a single MR for data so the UMR data se
This will be useful when processing signature errors
on a specific key. The mlx5 driver will lookup the
matching mlx5 memory region structure and mark it as
dirty (contains signature errors).
Signed-off-by: Sagi Grimberg
---
drivers/net/ethernet/mellanox/mlx5/core/main.c |1 +
drivers/net/et
Currently support only T10-DIF types of signature
handover operations (typs 1|2|3).
Signed-off-by: Sagi Grimberg
---
drivers/infiniband/hw/mlx5/main.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/
This commit Introduces the Verbs Interface for signature related
operations. A signature handover operation shall configure the
layouts of data and protection attributes both in memory and wire
domains.
Signature operations are:
- INSERT
Generate and insert protection information when handing ov
If user requested signature enable we Initialize
relevant mlx5_ib_qp members. we mark the qp as sig_enable
we initiatlize empty sig_err_list, and we increase qp size.
Signed-off-by: Sagi Grimberg
---
drivers/infiniband/hw/mlx5/mlx5_ib.h |3 +++
drivers/infiniband/hw/mlx5/qp.c |5 +++
This commit takes care of the generated signature
error cqe generated by the HW (if happened) and stores
it on the QP signature error list.
Once the user will get the completion for the transaction
he must check for signature errors on signature memory region
using a new lightweight verb ib_check_
get_umr_flags helper function might be used for types
of access modes other than ACCESS_MODE_MTT, such as
ACCESS_MODE_KLM. so remove it from helper and caller
will add it's own access mode flag.
This patch does not add/change functionality.
Signed-off-by: Sagi Grimberg
---
drivers/infiniband/hw
As a preliminary step for signature feature which will
reuqire posting multiple (3) WQEs for a single WR, we
break post_send routine WQE indexing into begin and
finish routines.
This patch does not change any functionality.
Signed-off-by: Sagi Grimberg
---
drivers/infiniband/hw/mlx5/qp.c | 95
This patchset Introduces Verbs level support for signature handover
feature. Siganture is intended to implement end-to-end data integrity
on a transactional basis in a completely offloaded manner.
There are several end-to-end data integrity methods used today in various
applications and/or upper l
Signed-off-by: Vladimir Koushnir
---
opensm/osm_link_mgr.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/opensm/osm_link_mgr.c b/opensm/osm_link_mgr.c
index 98126f1..0d00984 100644
--- a/opensm/osm_link_mgr.c
+++ b/opensm/osm_link_mgr.c
@@ -440,13 +440,12 @@ static i
From: Naresh Gottumukkala
Please neglect my last two patches. I am resending those.
Naresh Gottumukkala (2):
RDMA/ocrdma: Remove redundant check in ocrdma_build_fr.
RDMA/ocrdma: Fix the driver crash during rmmod.
drivers/infiniband/hw/ocrdma/ocrdma_main.c | 7 ---
drivers/infiniband/h
From: Naresh Gottumukkala
ocrdma_remove_free funtion can be called in a bottom-half context.
So the code in this funtion should not sleep.
Moved the resource cleanup code to ocrdma_remove instead of
ocrdma_remove_free.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma
From: Naresh Gottumukkala
Remove the redundant check of comparing if 32 bit value is greater
than 0xULL.
This is reported by Dan Carpenter.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
From: Naresh Gottumukkala
ocrdma_remove_free funtion can be called in a bottom-half context.
So the code in this funtion should not sleep.
Moved the resource cleanup code to ocrdma_remove instead of
ocrdma_remove_free.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma
From: Naresh Gottumukkala
Remove the redundant check of comparing if 32 bit value is greater
than 0xULL.
This is reported by Dan Carpenter.
Signed-off-by: Naresh Gottumukkala
---
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
24 matches
Mail list logo