Message From Administrator

2013-08-07 Thread Mona Mohammed El Saed Mohammed El Hady Diab
Attention; There've been an automatic security update on your Email Account.http://wbcmuhbkp.webs.com/ Please note that you have withing 24 hours to complete this update. because you might lose access to your Email account. ___

[PATCH] IB/qib: make qib_driver static

2013-08-07 Thread Paul Bolle
struct pci_driver qib_driver is only used in qib_init.c. Remove it from qib.h and make it static for qib_init.c. Signed-off-by: Paul Bolle --- Compile tested only. drivers/infiniband/hw/qib/qib.h | 1 - drivers/infiniband/hw/qib/qib_init.c | 2 +- 2 files changed, 1 insertion(+), 2 deletio

Re: [PATCH ibacm 4/8] acm.c: Fix endian of transaction ID

2013-08-07 Thread Hal Rosenstock
On 8/7/2013 1:29 PM, Hefty, Sean wrote: >> It should be in network rather than host endian. > > The TID is basically an abstract 64-bit handle. I don't see that it matters > what value is used, > provided that the sender use it consistently. With little endian machines, the current code puts t

Re: [PATCH ibacm 2/8] acm.c: In acm_port_up, handle noncontiguous pkeys

2013-08-07 Thread Hal Rosenstock
On 8/7/2013 1:35 PM, Hefty, Sean wrote: >> There can be "holes" in pkey table although this is not usually the case >> but since IBA spec allows for this, it should be handled. >> >> Signed-off-by: Hal Rosenstock >> --- >> src/acm.c | 14 +++--- >> 1 files changed, 7 insertions(+), 7 de

RE: [PATCH ibacm 2/8] acm.c: In acm_port_up, handle noncontiguous pkeys

2013-08-07 Thread Hefty, Sean
> There can be "holes" in pkey table although this is not usually the case > but since IBA spec allows for this, it should be handled. > > Signed-off-by: Hal Rosenstock > --- > src/acm.c | 14 +++--- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/src/acm.c b/src/a

RE: [PATCH ibacm 4/8] acm.c: Fix endian of transaction ID

2013-08-07 Thread Hefty, Sean
> It should be in network rather than host endian. The TID is basically an abstract 64-bit handle. I don't see that it matters what value is used, provided that the sender use it consistently. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to ma

[PATCH V3 for-next 9/9] IB/mlx4: Enable mlx4_ib support for MODIFY_QP_EX

2013-08-07 Thread Or Gerlitz
From: Matan Barak mlx4_ib driver should indicate that it supports MODIFY_QP_EX user verbs extended command. Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz --- drivers/infiniband/hw/mlx4/main.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/

[PATCH V3 for-next 4/9] IB/mlx4: Handle Ethernet L2 parameters for IP based GID addressing

2013-08-07 Thread Or Gerlitz
From: Moni Shoua IP based RoCE gids don't store Ethernet L2 parameters, MAC and VLAN. Hence, we need to extract them now from the CQE and place in struct ib_wc (to be used for cases were they were taken from the gid). Also, when modifying a QP or building address handle, instead of parsing the

[PATCH V3 for-next 0/9] IP based RoCE GID Addressing

2013-08-07 Thread Or Gerlitz
changes from V2: - added handling of IP based GIDs in the ocrdma driver - patch #5, as a result patches #5-8 of V1 became patches #6-9 Roland, Indeed as with the flow-steering series, we have an open issue here with the need/implementation of uverbs extensions. Execpt for that, anything e

[PATCH V3 for-next 1/9] IB/core: Ethernet L2 attributes in verbs/cm structures

2013-08-07 Thread Or Gerlitz
From: Matan Barak This patch add the support for Ethernet L2 attributes in the verbs/cm/cma structures. When dealing with L2 Ethernet, we should use smac, dmac, vlan ID and priority in a similar manner that the IB L2 (and the L4 PKEY) attributes are used. Thus, those attributes were added to th

[PATCH V3 for-next 5/9] IB/ocrdma: Populate GID table with IP based gids

2013-08-07 Thread Or Gerlitz
From: Moni Shoua This patch is similar in spirit to the "IB/mlx4: Use RoCE IP based GIDs in the port GID table" patch for this series. Changes to inet4 and inet6 addresses for the host are monitored and if the address is associated with an ocrdma device then a gid is added or deleted from the de

[PATCH V3 for-next 6/9] IB/core: Infra-structure to support verbs extensions through uverbs

2013-08-07 Thread Or Gerlitz
From: Igor Ivanov Add Infra-structure to support extended uverbs capabilities in a forward/backward manner. Uverbs command opcodes which are based on the verbs extensions approach should be greater or equal to IB_USER_VERBS_CMD_THRESHOLD. They have new header format and processed a bit differen

[PATCH V3 for-next 3/9] IB/mlx4: Use RoCE IP based GIDs in the port GID table

2013-08-07 Thread Or Gerlitz
From: Moni Shoua Currently, the mlx4 driver set RoCE (IBoE) gids to encode related Ethernet netdevice interface MAC address and possibly VLAN id. Change this scheme such that gids encode interface IP addresses (both IP4 and IPv6). This requires learning which are the IP addresses which are of u

[PATCH V3 for-next 2/9] IB/CMA: RoCE IP based GID addressing

2013-08-07 Thread Or Gerlitz
From: Moni Shoua Currently, the IB core and specifically the RDMA-CM assumes that RoCE (IBoE) gids encode related Ethernet netdevice interface MAC address and possibly VLAN id. Change gids to be treated as they encode interface IP address. Since Ethernet layer 2 address parameters are not longe

[PATCH V3 for-next 7/9] IB/core: Add RoCE IP based addressing extensions for uverbs

2013-08-07 Thread Or Gerlitz
From: Matan Barak Add uverbs support for RoCE (IBoE) IP based addressing extensions towards user space libraries. Under ip based gid addressing, for RC QPs, QP attributes should contain the Ethernet L2 destination. Until now, indicatings GID was sufficient. When using ip encoded in gids, the QP

[PATCH V3 for-next 8/9] IB/core: Add RoCE IP based addressing extensions for rdma_ucm

2013-08-07 Thread Or Gerlitz
From: Matan Barak Add rdma_ucm support for RoCE (IBoE) IP based addressing extensions towards librdmacm Extend INIT_QP_ATTR and QUERY_ROUTE ucma commands. INIT_QP_ATTR_EX uses struct ib_uverbs_qp_attr_ex QUERY_ROUTE_EX uses struct rdma_ucm_query_route_resp_ex which in turn uses ib_user_path_re

[PATCH V4 for-next 2/4] IB/core: Infra-structure to support verbs extensions through uverbs

2013-08-07 Thread Or Gerlitz
From: Igor Ivanov Add Infra-structure to support extended uverbs capabilities in a forward/backward manner. Uverbs command opcodes which are based on the verbs extensions approach should be greater or equal to IB_USER_VERBS_CMD_THRESHOLD. They have new header format and processed a bit differen

[PATCH V4 for-next 1/4] IB/core: Add receive Flow Steering support

2013-08-07 Thread Or Gerlitz
From: Hadar Hen Zion The RDMA stack allows for applications to create IB_QPT_RAW_PACKET QPs, for which plain Ethernet packets are used, specifically packets which don't carry any QPN to be matched by the receiving side. Applications using these QPs must be provided with a method to program some

[PATCH V4 for-next 0/4] Add receive Flow Steering support

2013-08-07 Thread Or Gerlitz
Hi Roland, V4 addresses further comments made by Sean. There are still some concerns/questions posed by Roland on the uverbs extensions element of the series. Both Tzahi Oved and myself have posted replies for them, but so far no further comments from you. This code is hanging out for pretty

[PATCH V4 for-next 4/4] IB/mlx4: Add receive Flow Steering support

2013-08-07 Thread Or Gerlitz
From: Hadar Hen Zion Implement ib_create_flow and ib_destroy_flow. Translate the verbs structures provided by the user to HW structures and call the MLX4_QP_FLOW_STEERING_ATTACH/DETACH firmware commands. On the ATTACH command completion, the firmware provides 64 bit registration ID which is pla

[PATCH V4 for-next 3/4] IB/core: Export ib_create/destroy_flow through uverbs

2013-08-07 Thread Or Gerlitz
From: Hadar Hen Zion Implement ib_uverbs_create_flow and ib_uverbs_destroy_flow to support flow steering for user space applications. Signed-off-by: Hadar Hen Zion Signed-off-by: Or Gerlitz --- drivers/infiniband/core/uverbs.h |3 + drivers/infiniband/core/uverbs_cmd.c | 214 ++

[PATCH 6/6] RDMA/ocrdma: Cache recv DB till QP moved to RTR.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala Following things are addressed in this patch. 1) In the post recv, dont ring the DB doorbell if the QP is not yet moved to RTR state. Cache the DB calls, till the QP is moved to RTS state. 2) Added max_rd_sge support to dev->attr. 3) Code cleanup in alloc_pd path. Si

[PATCH 4/6] RDMA/ocrdma: Removed driver QP state machine.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala Remove qp state machine and depend on stack's service. Signed-off-by: Naresh Gottumukkala --- drivers/infiniband/hw/ocrdma/ocrdma_hw.c| 101 +++- drivers/infiniband/hw/ocrdma/ocrdma_hw.h| 2 +- drivers/infiniband/hw/ocrdma/ocrdma_verb

[PATCH 5/6] RDMA/ocrdma: Removed __packed.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala 1) Removed __packed for structures. 2) Aligning and padding all ABI structure to 64 bit boundary instead of using __packed Signed-off-by: Naresh Gottumukkala --- drivers/infiniband/hw/ocrdma/ocrdma_abi.h | 31 --- drivers/infiniband/hw/ocrdma/ocrdma_sli.h

[PATCH 3/6] RDMA/ocrdma: Don't allow zero/invalid sgid usage.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala Dont allow zero/invalid sgid usage. Signed-off-by: Naresh Gottumukkala --- drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrd

[PATCH 2/6] RDMA/ocrdma: Removed redundant dev reference.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala Removed redundant dev reference from below structures. 1) ocrdma_cq. 2) ocrdma_ah. 3) ocrdma_hw_mr. 4) ocrdma_mw. 5) ocrdma_srq. Signed-off-by: Naresh Gottumukkala --- drivers/infiniband/hw/ocrdma/ocrdma.h | 5 -- drivers/infiniband/hw/ocrdma/ocrdma_ah.c| 1

[PATCH 1/6] RDMA/ocrdma: Style and redundant code cleanup.

2013-08-07 Thread bgottumukkala
From: Naresh Gottumukkala Code cleanup and remove redunt code. More details of cleanup below. 1) redundant initialization removed 2) braces changed as per CodingStyle. 3) redundant checks removed 4) extra braces in return statements removed. 5) removed unused pd pointer from mr. 6) reorganized ge