Re: [PATCH REPOST libibverbs] Add IP and TCP/UDP TX checksum offload support

2015-06-18 Thread Christoph Lameter
We run those patches and we would like to see them upstream. -- 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

Re: [PATCH REPOST libibverbs] Add IP and TCP/UDP TX checksum offload support

2015-06-18 Thread Jason Gunthorpe
On Sun, Jun 14, 2015 at 01:13:04PM +0300, Or Gerlitz wrote: From: Moshe Lazer mos...@mellanox.com Add a device capability flag IB_DEVICE_IP_SUM to denote checksum offload support. Devices should set this flag if they support insertion of IP, TCP and UDP checksums on outgoing IP packets sent

Re: Upstream mlx4 driver very broken (when using SRIOV)

2015-06-18 Thread Doug Ledford
On Jun 14, 2015, at 10:31 AM, Or Gerlitz gerlitz...@gmail.com wrote: On Sat, Jun 13, 2015 at 8:35 AM, Doug Ledford dledf...@redhat.com wrote: I ran across a problem today when I went to do some run tests of my for-4.2 tree. For a second there, I was about to seriously have a conniption

[PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Hal Rosenstock
Persuant to Liran's comments on node_type on linux-rdma mailing list: In an effort to reform the RDMA core and ULPs to minimize use of node_type in struct ib_device, an additional bit is added to struct ib_device for is_switch (IB switch). This is needed to be initialized by any IB switch device

Re: [PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Jason Gunthorpe
On Thu, Jun 18, 2015 at 04:18:27PM -0400, Hal Rosenstock wrote: In addition, an ib_switch helper was added to ib_verbs.h based on the is_switch device bit rather than node_type (although those should be consistent). This is basically fine, but it would be nicer to change the port handling

Re: [PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Hal Rosenstock
On 6/18/2015 4:25 PM, Jason Gunthorpe wrote: Ira had patch that made some functions related to this public, not sure if it is applied yet.. Which patch from Ira are you referring to ? -- Hal -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to

RE: [PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Hefty, Sean
In an effort to reform the RDMA core and ULPs to minimize use of node_type in struct ib_device, an additional bit is added to struct ib_device for is_switch (IB switch). This is needed to be initialized by any IB switch device driver. This is a NEW requirement on such device drivers which are

Re: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-18 Thread Doug Ledford
On Jun 16, 2015, at 5:05 PM, Liran Liss lir...@mellanox.com wrote: From: Doug Ledford [mailto:dledf...@redhat.com] No. RoCE is as an open standard from the IBTA with the exact same RDMA protocol semantics as InfiniBand and a clear set of compliancy rules without which an implementation

RE: [PATCH 14/14] IB/mad: Add final OPA MAD processing

2015-06-18 Thread Liran Liss
From: Weiny, Ira [mailto:ira.we...@intel.com] ib_verbs define an *extensive* direct HW access API, which is constantly evolving. This is the problem with verbs... Huh? It is its strength, if you don't break backward compatibility... You cannot describe the intricate object relations

RE: [PATCH RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Weiny, Ira
On 6/18/2015 4:25 PM, Jason Gunthorpe wrote: Ira had patch that made some functions related to this public, not sure if it is applied yet.. Which patch from Ira are you referring to ? This patch which is in Dougs for 4.2 tree: commit ca0369e31d1794a4f4e39c52fe39b0406617e2b4 Author:

[PATCHv2 RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Hal Rosenstock
Persuant to Liran's comments on node_type on linux-rdma mailing list: In an effort to reform the RDMA core and ULPs to minimize use of node_type in struct ib_device, an additional bit is added to struct ib_device for is_switch (IB switch). This is needed to be initialized by any IB switch device

RE: [PATCHv2 RFC] IB: Add rdma_cap_ib_switch helper and use where appropriate

2015-06-18 Thread Hefty, Sean
In an effort to reform the RDMA core and ULPs to minimize use of node_type in struct ib_device, an additional bit is added to struct ib_device for is_switch (IB switch). This is needed to be initialized by any IB switch device driver. This is a NEW requirement on such device drivers which are

Re: [PATCH 08/11] IB/cma: Add net_dev and private data checks to RDMA CM

2015-06-18 Thread Haggai Eran
On 17/06/2015 20:18, Jason Gunthorpe wrote: On Tue, Jun 16, 2015 at 08:26:26AM +0300, Haggai Eran wrote: On 15/06/2015 20:08, Jason Gunthorpe wrote: On Mon, Jun 15, 2015 at 11:47:13AM +0300, Haggai Eran wrote: Instead of relying on a the ib_cm module to check an incoming CM request's private

Re: [PATCH 04/11] IB/cm: Expose DGID in SIDR request events

2015-06-18 Thread Haggai Eran
On 17/06/2015 20:06, Jason Gunthorpe wrote: On Tue, Jun 16, 2015 at 02:25:07PM +0300, Haggai Eran wrote: Regarding APM, currently the ib_cm code always sends the GMP to the primary path anyway, right? And in any case, one would expect the primary path's GID to have a valid net_device and