From: Yotam Kenneth yota...@mellanox.com
When accepting a new connection with the listener being IPv6, the
family of the new connection is set as IPv6. This causes cma_zero_addr
function to return true on an non-zero address. As a result, the wrong
code path is taken. This causes the connection
From: Yotam Kenneth yota...@mellanox.com
When accepting a new connection with the listener being IPv6, the
family of the new connection is set as IPv6. This causes cma_zero_addr
function to return true on an non-zero address. As a result, the wrong
code path is taken. This causes the
From: Anish Bhatt an...@chelsio.com
Date: Wed, 12 Nov 2014 17:15:57 -0800
Refactored all macros used in cxgb4i as part of previously started cxgb4 macro
names cleanup. Makes them more uniform and avoids namespace collision.
Minor changes in other drivers where required as some of these macros
From: Ira Weiny ira.we...@intel.com
Check for IB_DEVICE_JUMBO_MAD_SUPPORT in the device capabilities and if
supported mark the special QPs created.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 26 +++---
From: Ira Weiny ira.we...@intel.com
In preparation to support the new OPA MAD Base version, add a base version
parameter ib_create_send_mad and set it to IB_MGMT_BASE_VERSION for current
users.
Definition of the new base version and it's processing will occur in later
patches.
Signed-off-by:
From: Ira Weiny ira.we...@intel.com
Create the jumbo MAD kmem_cache and flag the MAD private structure properly.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 86 +++---
drivers/infiniband/core/mad_priv.h | 4 ++
2 files
From: Ira Weiny ira.we...@intel.com
Add a device capability flag for OPA devices to signal their support of jumbo
MADs.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
include/rdma/ib_verbs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/rdma/ib_verbs.h
The following patch series modifies the kernel MAD processing (ib_mad/ib_umad)
and related interfaces to process Intel Omni-Path Architecture MADs on devices
which support them.
In addition to supporting some IBTA management classes, OPA devices use MADs
with lengths up to 2K. These jumbo MADs
From: Ira Weiny ira.we...@intel.com
Define jumbo_mad, jumbo_rmpp_mad, and jumbo_mad_private structures.
Create an RMPP Base header to share between ib_rmpp_mad and jumbo_rmpp_mad
Update code to use the new structures.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
From: Ira Weiny ira.we...@intel.com
is_rmpp_data_mad is more descriptive for this function.
Reviewed-by: Sean Hefty sean.he...@intel.com
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
From: Ira Weiny ira.we...@intel.com
This helper function will be used for processing both IB and OPA SMPs.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/smi.c | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git
From: Ira Weiny ira.we...@intel.com
If the MAD is an OPA base version; verify the device supports jumbo MADs
Set MAD size and sg lengths as appropriate
Split RMPP MADs as appropriate
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 37
From: Ira Weiny ira.we...@intel.com
This helper function will be used for processing both IB and OPA SMP sends.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/smi.c | 81 +--
1 file changed, 47 insertions(+), 34 deletions(-)
From: Ira Weiny ira.we...@intel.com
If the registration specifies an OPA MAD class version and the device does not
support jumbo MADs, fail the MAD registration.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 22 ++
1 file changed, 14
From: Ira Weiny ira.we...@intel.com
OPA_MIN_CLASS_VERSION -- OPA Class versions are 0x80
OPA_SMP_CLASS_VERSION -- Defined at 0x80
OPA_MGMT_BASE_VERSION -- Defined at 0x80
Increase max management version to accommodate OPA
Signed-off-by: Ira Weiny ira.we...@intel.com
---
From: Ira Weiny ira.we...@intel.com
This helper function will be used for processing both IB and OPA SMPs.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad.c | 85 +--
1 file changed, 49 insertions(+), 36 deletions(-)
diff
From: Ira Weiny ira.we...@intel.com
In support of variable length MADs add in and out MAD size parameters to the
process_mad call.
The out MAD size parameter is passed by reference such that it can be updated
by the agent to indicate the proper response length to be sent by the MAD
stack.
The
From: Ira Weiny ira.we...@intel.com
Define the new OPA SMP format, create support functions for this format, and
call the previously defined helper functions as appropriate.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/mad_priv.h | 2 +
From: Ira Weiny ira.we...@intel.com
This helper function will be used for processing both IB and OPA SMP recvs.
Signed-off-by: Ira Weiny ira.we...@intel.com
---
drivers/infiniband/core/smi.c | 80 +--
1 file changed, 47 insertions(+), 33 deletions(-)
From: Ira Weiny ira.we...@intel.com
OPA SMP packets must carry a valid pkey
process wc.pkey_index returned by agents for response.
Handle variable length OPA MADs based on the Base Version
Support is provided by:
* Adjusting the 'fake' WC for locally routed SMP's to represent
20 matches
Mail list logo