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

2015-06-14 Thread Or Gerlitz
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 over IB UD or ETH RAW_PACKET QPs. In addition add a send flag

[PATCH REPOST libmlx4] Add IP and TCP/UDP TX checksum offload support

2015-06-14 Thread Or Gerlitz
From: Moshe Lazer mos...@mellanox.com Add support for IBV_SEND_IP_CSUM for posted send work-requests. When this flag is set, enable the HW checksum calculation by setting MLX4_WQE_CTRL_IP_CSUM and MLX4_WQE_CTRL_TCP_UDP_CSUM flags in the WQE control segment. Signed-off-by: Eyal Perry

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

2015-06-14 Thread Or Gerlitz
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 fit. But, after about 6 hours of work bisecting and debugging, I've come

Re: [PATCH 36/41] IB/hfi1: add low level page locking

2015-06-14 Thread Or Gerlitz
On Fri, Jun 12, 2015 at 2:11 AM, Mike Marciniszyn mike.marcinis...@intel.com wrote: +++ b/drivers/infiniband/hw/hfi1/user_pages.c +/** + * hfi1_get_user_pages - lock user pages into memory + * @start_page: the start page + * @num_pages: the number of pages + * @p: the output page

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

2015-06-14 Thread Doug Ledford
On 06/14/2015 03:16 PM, Liran Liss wrote: From: Doug Ledford [mailto:dledf...@redhat.com] But the node_type stands for more than just an abstract RDMA device: In IB, it designates an instance of an industry-standard, well-defined, device type: it's possible link types, transport, semantics,

Re: [-stable] commit 377b513485fd (IB/core: Avoid leakage from kernel to user space)

2015-06-14 Thread Zefan Li
On 2015/3/27 20:42, Yann Droneaud worte: Hi, Please add commit 377b513485fd (IB/core: Avoid leakage from kernel to user space) to -stable. It can be applied to v2.6.32 and later. Queued up for 3.4. Thanks! -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body

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

2015-06-14 Thread Liran Liss
From: Doug Ledford [mailto:dledf...@redhat.com] But the node_type stands for more than just an abstract RDMA device: In IB, it designates an instance of an industry-standard, well-defined, device type: it's possible link types, transport, semantics, management, everything. It *should* be

Re: [PATCH 06/41] IB/hfi1: add char device instantiation code

2015-06-14 Thread Or Gerlitz
On Fri, Jun 12, 2015 at 2:09 AM, Mike Marciniszyn mike.marcinis...@intel.com wrote: +++ b/drivers/infiniband/hw/hfi1/device.c +int __init dev_init(void) +{ + int ret; + + ret = alloc_chrdev_region(hfi1_dev, 0, HFI1_NMINORS, DRIVER_NAME); + if (ret 0) { +