~tnikolova/compat-rdma/.git
2 years agoFixes for i40iw which have been included in kernels master
Tatyana Nikolova [Mon, 9 Oct 2017 17:11:21 +0000 (10:11 -0700)]
Fixes for i40iw which have been included in kernels
4.12 and 4.13

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
2 years agoib_srp: Fixed backport origin/HEAD origin/master
Sergey Gorenko [Mon, 25 Sep 2017 15:51:43 +0000 (18:51 +0300)]
ib_srp: Fixed backport

This patch fixes http://bugs.openfabrics.org/show_bug.cgi?id=2635

Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agobnxt_en: Misc bug fixes
Selvin Xavier [Sun, 24 Sep 2017 16:00:44 +0000 (09:00 -0700)]
bnxt_en: Misc bug fixes

Add new device ids.
Fixes the rtnl_lock issue while loading bnxt_re driver on some of the
systems.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agobnxt_re: Fix bnxt_en installation in the latest daily builds
Selvin Xavier [Wed, 13 Sep 2017 10:33:15 +0000 (03:33 -0700)]
bnxt_re: Fix bnxt_en installation in the latest daily builds

During OFED installation, bnxt_en is not getting installed after
the check-in  "makefile: Added CONFIG_BNXT parameter to override
kernel's default". Fixing the issue by passing
CONFIG_BNXT=m instead of y.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agobnxt_re: Adding bug fix patches
Selvin Xavier [Tue, 5 Sep 2017 18:07:30 +0000 (11:07 -0700)]
bnxt_re: Adding bug fix patches

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agobnxt_re: Backports for SLES12SP0/SP1/SP2 and RH7.0/7.1
Selvin Xavier [Mon, 4 Sep 2017 13:01:21 +0000 (06:01 -0700)]
bnxt_re: Backports for SLES12SP0/SP1/SP2 and RH7.0/7.1

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agoNFS/RDMA backport patch for SLES12SP2
Jeff Becker [Fri, 1 Sep 2017 20:25:35 +0000 (13:25 -0700)]
NFS/RDMA backport patch for SLES12SP2

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
2 years agoNFS/RDMA backport patch to revert source files to 4.6 kernel in order to facilitate...
Jeff Becker [Thu, 24 Aug 2017 17:06:10 +0000 (10:06 -0700)]
NFS/RDMA backport patch to revert source files to 4.6 kernel in order to facilitate dependency on distro SUNRPC. Include fix to use correct ib_map_mr_sg signature from OFED4.8.

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
2 years agomakefile: Added CONFIG_BNXT parameter to override kernel's default
Vladimir Sokolovsky [Mon, 28 Aug 2017 19:39:31 +0000 (22:39 +0300)]
makefile: Added CONFIG_BNXT parameter to override kernel's default

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agocompat-rdma.spec: Fixed QED firmware installation
Vladimir Sokolovsky [Mon, 28 Aug 2017 18:52:53 +0000 (21:52 +0300)]
compat-rdma.spec: Fixed QED firmware installation

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agoconfigure: Fix typos introduced by b8520c5751cc6c40bb2f5ba8533a34dc260f86f2
Vladimir Sokolovsky [Thu, 24 Aug 2017 20:02:19 +0000 (23:02 +0300)]
configure: Fix typos introduced by b8520c5751cc6c40bb2f5ba8533a34dc260f86f2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agoconfigure: Fix typo
Vladimir Sokolovsky [Thu, 24 Aug 2017 20:02:19 +0000 (23:02 +0300)]
configure: Fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agoMerge branch 'master' of https://github.com/selvintxavier/compat-rdma
Vladimir Sokolovsky [Tue, 22 Aug 2017 21:46:11 +0000 (00:46 +0300)]
Merge branch 'master' of https://github.com/selvintxavier/compat-rdma

2 years agoFixed SRP support on RHEL7.2 by using blk_iopoll API in ib_core
Sergey Gorenko [Mon, 21 Aug 2017 20:59:05 +0000 (23:59 +0300)]
Fixed SRP support on RHEL7.2 by using blk_iopoll API in ib_core

On RHEL7.3 CONFIG_IRQ_POLL option is supported but not on RHEL7.2. So, SRP
fails to create cq with IB_POLL_SOFTIRQ.
Using blk_iopoll API instead of irq_poll in this case.

Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agobnxt_re: Add bnxt_re backports
Selvin Xavier [Tue, 22 Aug 2017 21:11:23 +0000 (14:11 -0700)]
bnxt_re: Add bnxt_re backports

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agobnxt_re: Enable bnxt_re building
Selvin Xavier [Sat, 12 Aug 2017 02:30:07 +0000 (19:30 -0700)]
bnxt_re: Enable bnxt_re building

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
2 years agoRemoved previously applied patch 0057-qed-Fix-error-in-the-dcbx-app-meta-data.patch
Vladimir Sokolovsky [Mon, 7 Aug 2017 15:16:08 +0000 (18:16 +0300)]
Removed previously applied patch 0057-qed-Fix-error-in-the-dcbx-app-meta-data.patch

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
2 years agoAdd qedr
Ram Amrani [Tue, 25 Jul 2017 14:48:21 +0000 (17:48 +0300)]
Add qedr

2 years agoBACKPORT-ib_srp: synced with MLNX_OFED ib_srp backport vofed-4.8
Vladimir Sokolovsky [Thu, 6 Jul 2017 22:22:34 +0000 (01:22 +0300)]
BACKPORT-ib_srp: synced with MLNX_OFED ib_srp backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoIB/srp: force reconnect_delay module param to exceed fast_io_fail_tmo
Vladimir Sokolovsky [Wed, 5 Jul 2017 22:43:06 +0000 (01:43 +0300)]
IB/srp: force reconnect_delay module param to exceed fast_io_fail_tmo

This commit works-around a rare warning caused by a race condition between
srp_post_send and srp_rport_reconnect.
When reconnect_delay <= fast_io_fail_tmo, race condition of calling
srp_terminate_io() while srp_queuecommand() is running is not safe.
Forcing reconnect_delay > fast_io_fail_tmo causes all I/O to fail
before trying to reconnect to target.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoFinal updates to ccl ABI between host and card to match OFED 4.8 and kernel 4.9.
Patrick McCormick [Wed, 21 Jun 2017 22:55:48 +0000 (01:55 +0300)]
Final updates to ccl ABI between host and card to match OFED 4.8 and kernel 4.9.

Add some missing fields, update sizes of existing fields, and keep aligned on 8 byte
boundary. Bump driver version to 1.2. These changes are not backward compatible.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
3 years agoFix rstream timeouts on 4k_lat test
tczeszun [Mon, 19 Jun 2017 10:07:01 +0000 (12:07 +0200)]
Fix rstream timeouts on 4k_lat test

3 years agoSupport for Kernel 4.8 in QIB on OFED-4.8
Pawel Schulfer [Wed, 7 Jun 2017 08:35:37 +0000 (10:35 +0200)]
Support for Kernel 4.8 in QIB on OFED-4.8

Changes included in this patch:
1) Remove check if get_user_pages have 6 params from qib_user_pages.c

Signed-off-by: Pawel Schulfer <pawel.schulfer@intel.com>
3 years agoRevert "iwpmd: Enable the port mapper service for iWarp providers." vofed-4.8-rc4
Vladimir Sokolovsky [Thu, 25 May 2017 20:37:47 +0000 (23:37 +0300)]
Revert "iwpmd: Enable the port mapper service for iWarp providers."

This reverts commit de76aaec433b7ca4905d5435d4f5592e3c789ea9.

3 years agoiwpmd: Enable the port mapper service for iWarp providers. vofed-4.8-rc3
Tatyana Nikolova [Thu, 18 May 2017 14:23:10 +0000 (09:23 -0500)]
iwpmd: Enable the port mapper service for iWarp providers.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
3 years agocompat-rdma: Add i40iw to openibd
Tatyana Nikolova [Wed, 17 May 2017 04:15:41 +0000 (23:15 -0500)]
compat-rdma: Add i40iw to openibd

Add i40iw to openibd to load the module
at boot, if it is selected.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
3 years agoInterop related fixes for iWarp drivers i40iw and nes
Tatyana Nikolova [Sun, 14 May 2017 23:28:49 +0000 (16:28 -0700)]
Interop related fixes for iWarp drivers i40iw and nes

The fixes are discovered and tested in the OFA Interop
Debug event at the UNH-IOL.

3 years agoRevert "Add qedr - QLogic (Cavium) Everest Driver for RDMA"
Vladimir Sokolovsky [Wed, 10 May 2017 13:55:27 +0000 (16:55 +0300)]
Revert "Add qedr - QLogic (Cavium) Everest Driver for RDMA"

This reverts commit 40a80c9ba337992dc8292ae0930d072588da9034.

3 years agoconfigure: Fix typo
Vladimir Sokolovsky [Mon, 8 May 2017 14:25:17 +0000 (17:25 +0300)]
configure: Fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoAdd qedr - QLogic (Cavium) Everest Driver for RDMA
Ram Amrani [Thu, 4 May 2017 11:23:33 +0000 (14:23 +0300)]
Add qedr - QLogic (Cavium) Everest Driver for RDMA

3 years agoiw_cxgb4: Guard against null cm_id in dump_ep/qp vofed-4.8-rc2
Potnuri Bharat Teja [Mon, 24 Apr 2017 16:51:17 +0000 (09:51 -0700)]
iw_cxgb4: Guard against null cm_id in dump_ep/qp

Endpoints that are aborting can have already dereferenced the
cm_id and set ep->com.cm_id to NULL.  So guard against that in
dump_ep() and dump_qp().

Also create a common function for setting up ip address pointers
since the same logic is needed in several places.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
3 years agoXeon Phi updates
Mccormick, Patrick M [Sun, 23 Apr 2017 08:30:06 +0000 (11:30 +0300)]
Xeon Phi updates

0003 patch should replace the existing and includes these changes:

Update ccl-direct ABI to pass PD correct local_dma_lkey.
Update ccl-direct ABI to pass cq flags.
Zero initialize sa path_recs in ibp_server to avoid null pointer deref.

The 0008 patch will be new:

Forward port QP multicast changes from 3.18-3 for mlx4 and mlx5
kernel QPs. This is needed for IPoIB with ccl-direct.

Signed-off-by: Mccormick, Patrick M <patrick.m.mccormick@intel.com>
3 years agoFixes for i40iw which have been included in kernels > 4.8
Tatyana Nikolova [Wed, 19 Apr 2017 16:32:44 +0000 (09:32 -0700)]
Fixes for i40iw which have been included in kernels > 4.8

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
3 years agoUpdated 0003-add-the-ibp-client-and-server-drivers.patch
Mccormick, Patrick M [Wed, 19 Apr 2017 13:25:15 +0000 (16:25 +0300)]
Updated 0003-add-the-ibp-client-and-server-drivers.patch

It fixes an issue where vmalloc_to_page() fails on some newer (RHEL7.3+) kernels.

Apparently vmalloc_to_page is no longer guaranteed to return a struct page pointer
for all vmalloc allocated addresses.

Signed-off-by: Mccormick, Patrick M <patrick.m.mccormick@intel.com>
3 years agocompat-rdma.spec: Changed license to GPLv2 vofed-4.8-rc1
Vladimir Sokolovsky [Thu, 16 Mar 2017 13:47:31 +0000 (15:47 +0200)]
compat-rdma.spec: Changed license to GPLv2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomakefile: Added CONFIG_I40E
Vladimir Sokolovsky [Wed, 15 Mar 2017 22:20:25 +0000 (00:20 +0200)]
makefile: Added CONFIG_I40E

This is required to mask the setting comming with the in-box kernel where this config is set

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoMerge branch 'for-vlad' of git://git.openfabrics.org/~aditr/compat-rdma
Vladimir Sokolovsky [Wed, 15 Mar 2017 21:52:06 +0000 (23:52 +0200)]
Merge branch 'for-vlad' of git://git.openfabrics.org/~aditr/compat-rdma

3 years agocompat-rdma: Adopt i40iw Makefile and Kbuild
Vladimir Sokolovsky [Wed, 15 Mar 2017 21:21:41 +0000 (23:21 +0200)]
compat-rdma: Adopt i40iw Makefile and Kbuild

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agocompat-rdma: Add i40iw and i40e to the build scripts
Tatyana Nikolova [Fri, 3 Feb 2017 18:23:27 +0000 (12:23 -0600)]
compat-rdma: Add i40iw and i40e to the build scripts

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
3 years agovmw_pvrdma: Update patches with fixes
Adit Ranadive [Wed, 15 Mar 2017 06:44:23 +0000 (23:44 -0700)]
vmw_pvrdma: Update patches with fixes

Added the following fixes:
- Put IB device in PORT_ACTIVE state when module is loaded on boot
- Zero out alloc_ucontext uresp
- Move hardcoded page numbers to macro
- Remove unused variables in post_send/post_recv

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoMerge branch 'master' of git://git.openfabrics.org/~jays/compat-rdma
Vladimir Sokolovsky [Thu, 2 Mar 2017 13:09:53 +0000 (15:09 +0200)]
Merge branch 'master' of git://git.openfabrics.org/~jays/compat-rdma

3 years agoadd support for nvme
Rajalaxmi Angadi [Thu, 23 Feb 2017 21:41:51 +0000 (13:41 -0800)]
add support for nvme

Signed-off-by: Rajalaxmi Angadi <rajalaxmi.angadi@intel.com>
Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
3 years agones: Backports for RHEL 7 and SLES 12
Tatyana Nikolova [Wed, 22 Feb 2017 05:29:32 +0000 (21:29 -0800)]
nes: Backports for RHEL 7 and SLES 12

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
3 years agocxgb4 upstream fixes
Steve Wise [Fri, 17 Feb 2017 16:25:24 +0000 (08:25 -0800)]
cxgb4 upstream fixes

Add cxgb fixes and new firmware.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
3 years agoupdate cxgb BACKPORT patches
Steve Wise [Fri, 17 Feb 2017 16:23:03 +0000 (08:23 -0800)]
update cxgb BACKPORT patches

Add RHEL7.0 and SLE12 support

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
3 years agomakefile: Set INSTALL_MOD_DIR to updates
Vladimir Sokolovsky [Sun, 12 Feb 2017 09:33:23 +0000 (11:33 +0200)]
makefile: Set INSTALL_MOD_DIR to updates

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agocheckout_files: Added i40e driver
Vladimir Sokolovsky [Mon, 30 Jan 2017 11:06:32 +0000 (13:06 +0200)]
checkout_files: Added i40e driver

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoxeon-phi: update for the xeon phi patches
Mccormick, Patrick M [Tue, 24 Jan 2017 13:56:36 +0000 (15:56 +0200)]
xeon-phi: update for the xeon phi patches

In ibp cm server change list modification patterns to be atomic. Before adding and removing
from a list would go something like:

1)      Find item in list while holding reader lock
2)      …
3)      Search again for found item while holding writer lock, remove it

Multiple threads could end up holding pointers to items in the list and by the time they get to
deleting it, it may or may not exist in list.

Also: the ibp cm event handler for cm events should always return 0, if it returns non-zero ib_cm
will attempt to remove the cm_id, which is not correct (and causes ib_cm worker thread to dump
stack and hang).

Finally: trivial change an ibscif printk log level to KERN_INFO vs ALERT.

Signed-off-by: Patrick McCormick <patrick.m.mccormick@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoscripts: Copy scsi headers
Vladimir Sokolovsky [Thu, 19 Jan 2017 12:34:42 +0000 (14:34 +0200)]
scripts: Copy scsi headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoUpdated ISER and SRP backports
Vladimir Sokolovsky [Thu, 19 Jan 2017 11:03:40 +0000 (13:03 +0200)]
Updated ISER and SRP backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5: Added RHEL7.0 support
Vladimir Sokolovsky [Mon, 16 Jan 2017 08:25:02 +0000 (10:25 +0200)]
mlx5: Added RHEL7.0 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx4: Added RHEL7.0 support
Vladimir Sokolovsky [Mon, 16 Jan 2017 08:24:48 +0000 (10:24 +0200)]
mlx4: Added RHEL7.0 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_core: Added RHEL7.0 support
Vladimir Sokolovsky [Mon, 16 Jan 2017 08:24:38 +0000 (10:24 +0200)]
ib_core: Added RHEL7.0 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agocompat-rdma: Build support for VMW_PVRDMA driver in OFED 4.8
Adit Ranadive [Wed, 21 Dec 2016 03:00:26 +0000 (19:00 -0800)]
compat-rdma: Build support for VMW_PVRDMA driver in OFED 4.8

Modified the build scripts to compile the VMware PVRDMA driver. I tested
this by compiling and installing the compat-rdma stuff in RHEL 7.3.
This is updated to reflect the new driver name.

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoIB/vmw_pvrdma: Add VMware Paravirtual Driver patches
Adit Ranadive [Wed, 21 Dec 2016 02:58:50 +0000 (18:58 -0800)]
IB/vmw_pvrdma: Add VMware Paravirtual Driver patches

Added the PVRDMA driver files as a tech preview. These patches are
based on the ones submitted upstream to the linux-rdma mailing list.
These apply cleanly to the Linux 4.8 tree.

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoIB/pvrdma: Remove old pvrdma patches
Adit Ranadive [Wed, 21 Dec 2016 02:56:54 +0000 (18:56 -0800)]
IB/pvrdma: Remove old pvrdma patches

The module needs to be renamed to vmw_pvrdma.

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoibscif fixes
Vladimir Sokolovsky [Tue, 13 Dec 2016 10:42:26 +0000 (12:42 +0200)]
ibscif fixes

This update includes two fixes:

1)      kunmap -> kunmap_atomic , this fixes the ibscif polling thread switching into atomic mode.
2)      Add include for tasklet in ibscf driver. SLES 12.1/2 kernels need this to compile ibscf.ko. This is our only “backport” needed for these kernels.

Signed-off-by: Mccormick, Patrick M <patrick.m.mccormick@intel.com>
Signed-off-by: Jerrie Coffman <jerrie.l.coffman@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx4/5: Added RHEL7.1 support
Vladimir Sokolovsky [Mon, 12 Dec 2016 08:38:49 +0000 (10:38 +0200)]
mlx4/5: Added RHEL7.1 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoSupport RHEL7.2 and SLES12SP1 for QIB in OFED-4.8
Pawel Schulfer [Tue, 6 Dec 2016 21:26:40 +0000 (13:26 -0800)]
Support RHEL7.2 and SLES12SP1 for QIB in OFED-4.8

Changes included in this patch:
1) Check for write_iter in file_operations structure
2) Check for inode_lock function in fs.h
3) Check for simple_positive function in dcache.h
4) Check for __GFP_RECLAIM in gfp.h

Signed-off-by: Pawel Schulfer <pawel.schulfer@intel.com>
3 years agoib_iser: Added backport
Vladimir Sokolovsky [Mon, 5 Dec 2016 16:34:09 +0000 (18:34 +0200)]
ib_iser: Added backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_srp: Added backport
Vladimir Sokolovsky [Mon, 5 Dec 2016 16:19:43 +0000 (18:19 +0200)]
ib_srp: Added backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5_ib: Fixed backport
Vladimir Sokolovsky [Sun, 4 Dec 2016 15:16:18 +0000 (17:16 +0200)]
mlx5_ib: Fixed backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomakefile: Added autoconf.h to the list of clean-files
Vladimir Sokolovsky [Thu, 1 Dec 2016 15:51:57 +0000 (17:51 +0200)]
makefile: Added autoconf.h to the list of clean-files

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_core: Fixed backport
Vladimir Sokolovsky [Thu, 1 Dec 2016 15:48:33 +0000 (17:48 +0200)]
ib_core: Fixed backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_ipoib: Added SLES12 SP1 support
Vladimir Sokolovsky [Thu, 1 Dec 2016 14:59:35 +0000 (16:59 +0200)]
ib_ipoib: Added SLES12 SP1 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5: Added SLES12 SP1 support
Vladimir Sokolovsky [Thu, 1 Dec 2016 14:40:07 +0000 (16:40 +0200)]
mlx5: Added SLES12 SP1 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx4: Added SLES12 SP1 support
Vladimir Sokolovsky [Thu, 1 Dec 2016 14:39:53 +0000 (16:39 +0200)]
mlx4: Added SLES12 SP1 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_core: Added SLES12 SP1 support
Vladimir Sokolovsky [Thu, 1 Dec 2016 14:39:36 +0000 (16:39 +0200)]
ib_core: Added SLES12 SP1 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoconfigure: Fixed autoconf.h location on SLES12 SP1
Vladimir Sokolovsky [Thu, 1 Dec 2016 14:20:01 +0000 (16:20 +0200)]
configure: Fixed autoconf.h location on SLES12 SP1

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5: Added support for SLES12 SP2
Vladimir Sokolovsky [Sun, 20 Nov 2016 10:38:04 +0000 (12:38 +0200)]
mlx5: Added support for SLES12 SP2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5: Added RHEL7.3 support
Vladimir Sokolovsky [Wed, 16 Nov 2016 16:31:26 +0000 (18:31 +0200)]
mlx5: Added RHEL7.3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_core: Added RHEL7.3 support
Vladimir Sokolovsky [Wed, 16 Nov 2016 16:31:11 +0000 (18:31 +0200)]
ib_core: Added RHEL7.3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomakefile: Added CONFIG_INFINIBAND_I40IW
Vladimir Sokolovsky [Wed, 16 Nov 2016 15:35:54 +0000 (17:35 +0200)]
makefile: Added CONFIG_INFINIBAND_I40IW

This is to disable undesired compilation triggered by kernel's configuration file

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoib_core: Added CONFIGFS backport for RHEL7.2
Vladimir Sokolovsky [Wed, 16 Nov 2016 11:44:13 +0000 (13:44 +0200)]
ib_core: Added CONFIGFS backport for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoofed_scripts: Added new CONFIG_* options and cleaned up
Vladimir Sokolovsky [Thu, 10 Nov 2016 08:46:55 +0000 (10:46 +0200)]
ofed_scripts: Added new CONFIG_* options and cleaned up

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agocxgb: Add "-ofed" tag to drivers
Steve Wise [Mon, 7 Nov 2016 21:56:49 +0000 (13:56 -0800)]
cxgb: Add "-ofed" tag to drivers

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
3 years agoFixed ib_core backport for RHEL7.2
Vladimir Sokolovsky [Mon, 7 Nov 2016 15:33:11 +0000 (17:33 +0200)]
Fixed ib_core backport for RHEL7.2

Fixed unknown symbols issue:
ib_ipoib: Unknown symbol ib_get_vf_config (err 0)
ib_ipoib: Unknown symbol ib_get_vf_stats (err 0)
ib_ipoib: Unknown symbol ib_set_vf_link_state (err 0)

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx5: Added support for RHEL7.2
Vladimir Sokolovsky [Mon, 7 Nov 2016 13:43:32 +0000 (15:43 +0200)]
mlx5: Added support for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoconfigure: Fixed typo under '--without-pvrdma-mod'
Vladimir Sokolovsky [Thu, 3 Nov 2016 11:36:30 +0000 (13:36 +0200)]
configure: Fixed typo under '--without-pvrdma-mod'

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agocompat-rdma: Build support for PVRDMA driver in OFED 4.8
Adit Ranadive [Wed, 2 Nov 2016 21:22:40 +0000 (14:22 -0700)]
compat-rdma: Build support for PVRDMA driver in OFED 4.8

Modified the build scripts to compile the PVRDMA driver. I tested
this by compiling and installing the compat-rdma stuff in RHEL 7.2.

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoIB/pvrdma: Add Paravirtual RDMA driver patches for OFED-4.8
Adit Ranadive [Wed, 2 Nov 2016 21:20:42 +0000 (14:20 -0700)]
IB/pvrdma: Add Paravirtual RDMA driver patches for OFED-4.8

Added the PVRDMA driver files as a tech preview. These patches are
based on the ones submitted upstream to the linux-rdma mailing list.
These apply cleanly to a Linux 4.8-rc8 tree.

Signed-off-by: Adit Ranadive <aditr@vmware.com>
3 years agoBACKPORT: cxgb4
Steve Wise [Tue, 11 Oct 2016 22:51:19 +0000 (15:51 -0700)]
BACKPORT: cxgb4

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
3 years agoBACKPORT: cxgb3
Steve Wise [Tue, 11 Oct 2016 20:32:41 +0000 (13:32 -0700)]
BACKPORT: cxgb3

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
3 years agoumem: Fixed get_user_pages backport
Vladimir Sokolovsky [Mon, 10 Oct 2016 12:13:53 +0000 (15:13 +0300)]
umem: Fixed get_user_pages backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agomlx4: Added support for SLES12.2
Vladimir Sokolovsky [Mon, 10 Oct 2016 08:17:19 +0000 (11:17 +0300)]
mlx4: Added support for SLES12.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoxeon-phi: add tech preview patches for xeon-phi
Jay Sternberg [Thu, 6 Oct 2016 18:37:42 +0000 (11:37 -0700)]
xeon-phi: add tech preview patches for xeon-phi

builds under 4.8 and RHEL 7.2.  since mpss is not available for 4.8, creating an
empty /lib/modules/4.8.0/scif.symvers file will allow compilation to occur.

3 years agoAdd IPoIB backport for RHEL7.2
Vladimir Sokolovsky [Sun, 9 Oct 2016 12:18:46 +0000 (15:18 +0300)]
Add IPoIB backport for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoAdded tech-preview directory
Vladimir Sokolovsky [Mon, 26 Sep 2016 14:21:57 +0000 (17:21 +0300)]
Added tech-preview directory

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoRefreshed backports over linux-4.8-rc8 code base
Vladimir Sokolovsky [Mon, 26 Sep 2016 12:16:39 +0000 (15:16 +0300)]
Refreshed backports over linux-4.8-rc8 code base

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoAdded mlx4 ib/en backport patch for RHEL7.2
Vladimir Sokolovsky [Mon, 26 Sep 2016 05:51:12 +0000 (08:51 +0300)]
Added mlx4 ib/en backport patch for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoBACKPORT: ib_core for RHEL 7.2
Vladimir Sokolovsky [Thu, 22 Sep 2016 13:33:57 +0000 (16:33 +0300)]
BACKPORT: ib_core for RHEL 7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoUpdated ofed_scripts
Vladimir Sokolovsky [Thu, 22 Sep 2016 13:33:09 +0000 (16:33 +0300)]
Updated ofed_scripts

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoBACKPORT: scsi/Makefile
Vladimir Sokolovsky [Sun, 28 Aug 2016 14:52:54 +0000 (17:52 +0300)]
BACKPORT: scsi/Makefile

Avoid recompilation of the whole SCSI stack
Leave only SRP related staff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agogen-compat-config.sh: Add support for 4.8 kernel
Vladimir Sokolovsky [Sun, 28 Aug 2016 14:52:01 +0000 (17:52 +0300)]
gen-compat-config.sh: Add support for 4.8 kernel

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
3 years agoRemove all patches
Vladimir Sokolovsky [Thu, 25 Aug 2016 15:11:16 +0000 (18:11 +0300)]
Remove all patches

This is to prepare environment for the linux-4.8 backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoxeon-phi: add dependency for scif.symvers for ibscif vofed-3.18-2
Jay Sternberg [Fri, 20 May 2016 19:12:33 +0000 (12:12 -0700)]
xeon-phi: add dependency for scif.symvers for ibscif

add dependency to compat-rdma.spec for scif.symvers for ibscif

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
4 years agoIB/security: Restrict use of the write() interface vofed-3.18-2-rc2
Vladimir Sokolovsky [Sun, 15 May 2016 06:15:09 +0000 (09:15 +0300)]
IB/security: Restrict use of the write() interface

The drivers/infiniband stack uses write() as a replacement for
bi-directional ioctl().  This is not safe. There are ways to
trigger write calls that result in the return structure that
is normally written to user space being shunted off to user
specified kernel memory instead.

For the immediate repair, detect and deny suspicious accesses to
the write API.

For long term, update the user space libraries and the kernel API
to something that doesn't present the same security vulnerabilities
(likely a structured ioctl() interface).

The impacted uAPI interfaces are generally only available if
hardware from drivers/infiniband is installed in the system.

Reported-by: Jann Horn <jann@thejh.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
[ Expanded check to all known write() entry points ]
Cc: stable@vger.kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoxeon-phi: adjust mlx5_ib bug fix releated to large memory region registration
Jerrie Coffman [Wed, 20 Apr 2016 20:18:43 +0000 (13:18 -0700)]
xeon-phi: adjust mlx5_ib bug fix releated to large memory region registration

Updates patch from commit 422cdc19af80d1aae4fd86bf28a5e0998b84454d
The umr check value was off by one.

Signed-off-by: Jerrie Coffman <jerrie.l.coffman@intel.com>
4 years agoxeon-phi: allow full ibscif ud mtu vofed-3.18-2-rc1
Jerrie Coffman [Fri, 15 Apr 2016 19:51:33 +0000 (12:51 -0700)]
xeon-phi: allow full ibscif ud mtu

The ibscif ud header size was not properly accounted for in ud packets.

Fixes http://bugs.openfabrics.org/show_bug.cgi?id=2594

Signed-off-by: Jerrie Coffman <jerrie.l.coffman@intel.com>
4 years agoxeon-phi: allow rdma_bind to mic0 device
Jerrie Coffman [Fri, 15 Apr 2016 19:46:21 +0000 (12:46 -0700)]
xeon-phi: allow rdma_bind to mic0 device

The rdma_cm cma_acquire_dev routine requires changes to handle the mic0:ib0
device.  The mic0:ib0 device is used for address resolution among scif devices
within the host.  The attached patch adds checks needed to locate the scif
devices.

Fixes http://bugs.openfabrics.org/show_bug.cgi?id=2593

Signed-off-by: Jerrie Coffman <jerrie.l.coffman@intel.com>