]> git.openfabrics.org - compat-rdma/compat-rdma.git/log
compat-rdma/compat-rdma.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoNFSRDMA: RHEL7.2 backport
Jeff Becker [Fri, 1 Apr 2016 21:35:57 +0000 (14:35 -0700)]
NFSRDMA: RHEL7.2 backport

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
8 years agocxgb4: update firmware to 1.4.14.0
Steve Wise [Wed, 30 Mar 2016 14:35:00 +0000 (07:35 -0700)]
cxgb4: update firmware to 1.4.14.0

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
8 years agocxgb4: RHEL7.2 backports
Potnuri Bharat Teja [Thu, 3 Mar 2016 22:25:45 +0000 (14:25 -0800)]
cxgb4: RHEL7.2 backports

Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
8 years agocxgb4: fix up bonding.h include paths
Potnuri Bharat Teja [Thu, 3 Mar 2016 22:23:48 +0000 (14:23 -0800)]
cxgb4: fix up bonding.h include paths

Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
8 years agoIB/ipoib: Do not update neigh validity if not resolved yet
Vladimir Sokolovsky [Tue, 1 Mar 2016 08:05:56 +0000 (10:05 +0200)]
IB/ipoib: Do not update neigh validity if not resolved yet

ipoib_neigh_get whenever tries to access specific neigh updates its
"alive" variable member, the neigh now considered as updated and will
not bee cleaned by the GC process even if it needs to be resolved again.

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2561

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agomlx4_en: Fixed compilation on RHEL6.6
Vladimir Sokolovsky [Tue, 1 Mar 2016 08:02:14 +0000 (10:02 +0200)]
mlx4_en: Fixed compilation on RHEL6.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agomakefile: Added distclean target
Vladimir Sokolovsky [Tue, 1 Mar 2016 06:50:47 +0000 (08:50 +0200)]
makefile: Added distclean target

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoxeon-phi: mlx5_ib bug fix releated to large memory regions registration.
Jay Sternberg [Mon, 22 Feb 2016 20:17:06 +0000 (12:17 -0800)]
xeon-phi: mlx5_ib bug fix releated to large memory regions registration.

Issue described in the release notes for Mellanox OFED 2.4-1.0.4
(page 12, bug fix item number 8) also effects xeon-phi's ability to
use the mlx5_ib is kernel-mode, i.e. ipoib and other ulp's.

Descripion for those release notes:

"Fixed an issue related to large memory regions registration. The problem
 mainly occurred on PPC systems due to the large page size, and on non PPC
 systems with large pages (contig pages)"

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
8 years agoRDMA/ocrdma: ocrdma sync up patch series
Selvin Xavier [Wed, 24 Feb 2016 12:51:16 +0000 (18:21 +0530)]
RDMA/ocrdma: ocrdma sync up patch series

Updating the ocrdma driver with the bug fixes from upstream

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
8 years agobe2net: backport fixes for RHEL 7.2
Selvin Xavier [Mon, 15 Feb 2016 09:14:21 +0000 (01:14 -0800)]
be2net: backport fixes for RHEL 7.2

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
8 years agomlx4: Added support for RHEL7.2
Vladimir Sokolovsky [Thu, 28 Jan 2016 14:17:43 +0000 (16:17 +0200)]
mlx4: Added support for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoconfigure: Fixed autoconf.h path vofed-3.18-1
Vladimir Sokolovsky [Mon, 9 Nov 2015 15:17:49 +0000 (17:17 +0200)]
configure: Fixed autoconf.h path

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2579

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
8 years agoxeon-phi: ibscif bug 2575: Allow xeon-phi support for Knights Landing
Jay Sternberg [Fri, 9 Oct 2015 18:41:06 +0000 (11:41 -0700)]
xeon-phi: ibscif bug 2575: Allow xeon-phi support for Knights Landing

New patch file for the compat-rdma tech-preview/xeon-phi directory

The Knights Landing (KNL) version of Intel mpss will use the scif driver that
was upstreamed to kernel.org.  Although the data structure layout is the same
as the Knights Corner (KNC) version, some functions have changed.  The
scif_get_nodeIDs call is renamed to scif_get_node_ids and the scif_pci_info is
removed.  These changes impact the ibscif and ib_qib drivers for KNL.  The
attached patch will allow OFED-3.18-1 --with-xeon-phi to work with both
versions of mpss.  This new patch file should be added to the compat-rdma
source rpm in the tech-preview/xeon-phi directory.

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
8 years agoxeon-phi: ibscif bug 2570: correction to communitate between host and card
Jay Sternberg [Mon, 5 Oct 2015 15:49:37 +0000 (08:49 -0700)]
xeon-phi: ibscif bug 2570: correction to communitate between host and card

included are updated patches for xeon-phi so they apply cleanly in
3.18-1 and updated ofed-mic script to handle this situation better.

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/ vofed-3.18 vofed-3.18-1-rc1
Vladimir Sokolovsky [Wed, 8 Jul 2015 05:35:17 +0000 (08:35 +0300)]
Merge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/

9 years agoAdding backport to neigh resolve fix for RHEL 6.5 and RHEL 6.6
Tatyana E. Nikolova [Tue, 7 Jul 2015 22:28:11 +0000 (15:28 -0700)]
Adding backport to neigh resolve fix for RHEL 6.5 and RHEL 6.6

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/
Vladimir Sokolovsky [Tue, 7 Jul 2015 06:46:13 +0000 (09:46 +0300)]
Merge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/

9 years agoibscif: Fixed bring up of scif device on kernels >= 3.11
Phil Cayton [Tue, 7 Jul 2015 06:43:38 +0000 (09:43 +0300)]
ibscif: Fixed bring up of scif device on kernels >= 3.11

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2554

Signed-off-by: Phil Cayton <phil.cayton@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoopenibd: Unload in-box drivers upon boot
Vladimir Sokolovsky [Tue, 7 Jul 2015 06:34:52 +0000 (09:34 +0300)]
openibd: Unload in-box drivers upon boot

in-box drivers can be loaded from initramfs before openibd starts.
openibd will check if loaded kernel modules are coming from in-box
and will unload them in order to load OFED kernel modules.

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2557

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRDMA/nes: Fix for incorrect recording of the MAC address
Tatyana E. Nikolova [Mon, 6 Jul 2015 18:51:54 +0000 (11:51 -0700)]
RDMA/nes: Fix for incorrect recording of the MAC address

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agoRDMA/nes: Fix for resolving the neigh
Tatyana E. Nikolova [Mon, 6 Jul 2015 18:17:10 +0000 (11:17 -0700)]
RDMA/nes: Fix for resolving the neigh

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agoRDMA/iwpm: Updated fixes for the client registration functionality
Tatyana E. Nikolova [Thu, 2 Jul 2015 19:20:29 +0000 (12:20 -0700)]
RDMA/iwpm: Updated fixes for the client registration functionality

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agoRDMA/ocrdma: insert Dual/BSD license.
Devesh Sharma [Tue, 16 Jun 2015 16:54:51 +0000 (22:24 +0530)]
RDMA/ocrdma: insert Dual/BSD license.

This patch updates ocrdma driver license to Dual/BSD GPL.

Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma
Devesh Sharma [Tue, 16 Jun 2015 15:14:49 +0000 (20:44 +0530)]
Merge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma

9 years agoIB/ipoib: Change To max_cm_mtu when changing mode to connected
Vladimir Sokolovsky [Mon, 8 Jun 2015 07:42:53 +0000 (10:42 +0300)]
IB/ipoib: Change To max_cm_mtu when changing mode to connected

When switching between modes (datagram / connected) change the MTU
accordingly.
datagram mode up to 4K, connected mode up to (64K - 0x10).

Signed-off-by: ELi Cohen <eli@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma
Devesh Sharma [Thu, 4 Jun 2015 11:58:59 +0000 (17:28 +0530)]
Merge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma

9 years agoRDMA/ocrdma : ocrdma upstream sync up patch.
Selvin Xavier [Tue, 2 Jun 2015 17:56:02 +0000 (10:56 -0700)]
RDMA/ocrdma : ocrdma upstream sync up patch.

These patches are pushed upstream for linux 4.1 release
Signed-off-by: Selvin Xavier <selvin.xavier@avagotech.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/~emulex/for-vlad/compat-rdma
Vladimir Sokolovsky [Sun, 31 May 2015 14:19:26 +0000 (17:19 +0300)]
Merge branch 'master' of git://flatbed.openfabrics.org/~emulex/for-vlad/compat-rdma

9 years agoNFS/RDMA: fix for RHEL7.1
root [Thu, 28 May 2015 16:41:37 +0000 (09:41 -0700)]
NFS/RDMA: fix for RHEL7.1

Suggested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Jeff Becker <jeffrey.c.becker@nasa.gov>
9 years agobe2net: Fixing the build failure for SLES11 SP4
Selvin Xavier [Thu, 28 May 2015 13:53:24 +0000 (06:53 -0700)]
be2net: Fixing the build failure for SLES11 SP4

Signed-off-by: Selvin Xavier <selvin.xavier@avagotech.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma
Devesh Sharma [Wed, 27 May 2015 11:27:54 +0000 (16:57 +0530)]
Merge branch 'master' of git://flatbed.openfabrics.org/compat-rdma/compat-rdma

9 years agoFix XEON PHI compilation
Phil Cayton [Mon, 25 May 2015 13:32:41 +0000 (16:32 +0300)]
Fix XEON PHI compilation

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2543

Signed-off-by: Phil Cayton <phil.cayton@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma
Vladimir Sokolovsky [Mon, 25 May 2015 13:27:58 +0000 (16:27 +0300)]
Merge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma

9 years agocompat-rdma/linux-next-pending: Adding changes to enable the use
Tatyana E. Nikolova [Thu, 21 May 2015 16:45:16 +0000 (09:45 -0700)]
compat-rdma/linux-next-pending: Adding changes to enable the use
of the tos field for iwarp providers

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agogen-compat-config.sh: Added XPS related staff
Vladimir Sokolovsky [Thu, 21 May 2015 13:08:19 +0000 (16:08 +0300)]
gen-compat-config.sh: Added XPS related staff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoopenibd: Check if iwpmd is running before unloading modules
Vladimir Sokolovsky [Thu, 21 May 2015 10:45:35 +0000 (13:45 +0300)]
openibd: Check if iwpmd is running before unloading modules

iwpmd takes the reference on ib_core preventing ib_core from being unloaded.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocompat-rdma.spec: Updated content of compat-rdma-devel RPM
Vladimir Sokolovsky [Thu, 21 May 2015 07:46:56 +0000 (10:46 +0300)]
compat-rdma.spec: Updated content of compat-rdma-devel RPM

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocompat-rdma: add backport to fix ofed-bz2539
Devesh Sharma [Mon, 18 May 2015 16:58:22 +0000 (22:28 +0530)]
compat-rdma: add backport to fix ofed-bz2539

fixes the missing semicolon
adds compile-time macro to handle function rename.

Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
9 years agocompat-rdma: add backport to fix ofed-bz2539
Devesh Sharma [Mon, 18 May 2015 16:58:22 +0000 (22:28 +0530)]
compat-rdma: add backport to fix ofed-bz2539

fixes the missing semicolon
adds compile-time macro to handle function rename.

Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
9 years agoFixed openibd stop on OSes using systemd
Vladimir Sokolovsky [Wed, 13 May 2015 10:14:18 +0000 (13:14 +0300)]
Fixed openibd stop on OSes using systemd

The issue caused by truescale.cmds as it was sourced from openibd and messed up
environment variables causing systemd to skip the required operation.

issue: http://bugs.openfabrics.org/bugzilla/show_bug.cgi?id=2534

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocompat-rdma.spec: Fixed openibd header
Vladimir Sokolovsky [Tue, 12 May 2015 12:09:20 +0000 (15:09 +0300)]
compat-rdma.spec: Fixed openibd header

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agomlx4/5: Added bug fixes
Vladimir Sokolovsky [Tue, 12 May 2015 10:38:45 +0000 (13:38 +0300)]
mlx4/5: Added bug fixes

 7c68dd435b3ea128550c3eed62cd3cb405431374 net/mlx4_core: Fix wrong reading of reserved_eqs
 492f5add4be84652bbe13da8a250d60c6856a5c5 net/mlx4_en: Doorbell is byteswapped in Little Endian archs
 772103e6b1a0ceb4fb482fb9414e55ac9be27250 net/mlx4_core: Fix mem leak in SRIOV mlx4_init_one error flow
 30a5da5b3301e386de99911fe6c1cd1aa37fb970 net/mlx4_core: Fix HW2SW_EQ to conform to the firmware spec
 19ab574f6271a2f912a449cfdea14a60098fba90 net/mlx4: Fix memory corruption in mlx4_MAD_IFC_wrapper
 5a2e87b16875f9b83b7e9494cf1fce8e17dc764a net/mlx4_core: Fix kernel Oops (mem corruption) when working
 f5956fafb00afab474c3886b6297f9b5e7aff722 net/mlx4_core: Fix wrong mask and error flow for the
 a16f3565703cfc3094938fb3c979cbb90f6d9eb4 net/mlx4_en: Fix off-by-one in ethtool statistics display
 4cbdd27c9c3abf87d6fe88cdd749218193ed3e12 net/mlx5_core: Fix a bug in alloc_token
 fde913e25496761a4e2a4c81230c913aba6289a2 net/mlx4_core: Fix error message deprecation for ConnectX-2
 42eab005a5dd5d7ea2b0328aecc4d6cc0c23c9c2 mlx4: Fix tx ring affinity_mask creation
 f94813f3c1d02090cc02dcfcbed339897830acb8 mlx4_en: Use correct loop cursor in error path.
 479163f4608214d18bc3266ab6e4b578897a3052 mlx5: don't duplicate kvfree()
 3a9e161a59b29b3aa2f39446b26622867322bf2b net/mlx5_core: Fix min vectors value in
 2d446d18aa09f16aef9e34774c4fcbc8a84a923e net/mlx5_core: Fix command queue size enforcement
 6b60d5e221ce11f6b247136bd221dbd952fe931e net/mlx5_core: Clear outbox of dealloc uar
 28c167fa8f8ea1850e6053bffb8ee30c1ac4411a net/mlx5_core: Add more supported devices
 065bd8c28ba37d04c9a5b732173c1508954b1f58 mlx5: avoid build warnings on 32-bit
 1c755cc5be5023c9523d558de0c507316efa6c62 net/mlx5_core: Move to use hex PCI device IDs
 1d966d03a37f7f58abf12e87203d03f96950cfd0 net: Mellanox: Delete unnecessary checks before the
 de61390cb3e03186f85997fe08a11dcb9f7a01a3 net/mlx5_core: Fix configuration of log_uar_page_sz
 6b9f53bc102d4e61b73c13f661de4a1c358768c1 net/mlx5_core: don't export static symbol
 9ef9baa2acda077f3831f6e7cdf751bc8691f78f net/mlx5_core: Avoid setting DC requestor/responder
 b812b5441e359adb9bd44108f7f91e5b0ba4a768 net/mlx5_core: Clear doorbell record inside
 60722c2ba02be052140998bc80ed77d74e3c03df net/mlx5_core: Use the right inbox struct in destroy
 05e4ecd1dc8b085a9010f20dcb5409b25488480a net/mlx5_core: Avoid copying outbox in aysnc command
 21db507439ec3a76a9587f2ad50ad3e4d13f4440 net/mlx5_core: Avoid usage command work entry after
 59d2d18cc4e9ba30b370db18d0e02d792699da96 mlx5: wrong page mask if CONFIG_ARCH_DMA_ADDR_T_64BIT

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>