]> git.openfabrics.org - ~aditr/compat-rdma.git/log
~aditr/compat-rdma.git
9 years agoMerge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compa...
Vladimir Sokolovsky [Wed, 4 Mar 2015 11:35:18 +0000 (13:35 +0200)]
Merge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma

9 years agoImprove creation of openib.conf
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:57:54 +0000 (11:57 +0200)]
Improve creation of openib.conf

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure/make: Fix path to autoconf.h and remove config.h
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:27:33 +0000 (11:27 +0200)]
configure/make: Fix path to autoconf.h and remove config.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoBackport qib driver for RHEL 6.6
Vinit Agnihotri [Tue, 27 Jan 2015 13:16:26 +0000 (05:16 -0800)]
Backport qib driver for RHEL 6.6

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
9 years agoAdded XEON Phi
Vladimir Sokolovsky [Tue, 3 Mar 2015 09:10:26 +0000 (11:10 +0200)]
Added XEON Phi

Signed-off-by: Phil Cayton <phil.cayton@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRemove cxgbi drivers
root [Mon, 2 Mar 2015 19:59:05 +0000 (13:59 -0600)]
Remove cxgbi drivers

Not supported by Chelsio within OFED.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocompat-rdma.spec: Fixed typo
Vladimir Sokolovsky [Sun, 22 Feb 2015 14:11:31 +0000 (16:11 +0200)]
compat-rdma.spec: Fixed typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRemove modupdate logic from spec. It has been a no-op in the configure script.
pmmccorm [Fri, 23 Jan 2015 18:27:27 +0000 (10:27 -0800)]
Remove modupdate logic from spec. It has been a no-op in the configure script.

9 years agoWrite out openib.conf from configure script.
pmmccorm [Fri, 23 Jan 2015 18:10:28 +0000 (10:10 -0800)]
Write out openib.conf from configure script.

9 years agoDon't define buildroot. All modern rpmbuilds define this automatically.
pmmccorm [Fri, 23 Jan 2015 16:41:09 +0000 (08:41 -0800)]
Don't define buildroot. All modern rpmbuilds define this automatically.

Pass make -j flags when compiling modules.

9 years agoRDMA/ocrdma : Backport support for RHEL 6.[56]
Mitesh Ahuja [Thu, 12 Feb 2015 09:42:14 +0000 (01:42 -0800)]
RDMA/ocrdma : Backport support for RHEL 6.[56]

9 years agobe2net: Backport support for RHEL 6.[56]
Mitesh Ahuja [Thu, 12 Feb 2015 09:41:28 +0000 (01:41 -0800)]
be2net: Backport support for RHEL 6.[56]

9 years agoAdded fix for IB core
Vladimir Sokolovsky [Mon, 9 Feb 2015 16:32:03 +0000 (18:32 +0200)]
Added fix for IB core

From: Ilya Nelkenbaum <ilyan@mellanox.com>
Subject: [PATCH] IB/core: When marshaling ucma path from user-space,
clear unused fields

When marsheling a user path to the kernel struct ib_sa_path, need
to zero smac, dmac and set the vlan id to the "no vlan" value.

This is to ensure that Ethernet attributes are not used with
InfiniBand QPs.

Fixes: dd5f03beb4f7 ("IB/core: Ethernet L2 attributes in verbs/cm
structures")
Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoiw_cxgb4: pull in post-3.18 fixes
Steve Wise [Fri, 6 Feb 2015 19:49:57 +0000 (13:49 -0600)]
iw_cxgb4: pull in post-3.18 fixes

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb4: pull in post-3.18 fixes
Steve Wise [Fri, 6 Feb 2015 17:04:57 +0000 (11:04 -0600)]
cxgb4: pull in post-3.18 fixes

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocompat-rdma.spec: Remove unused stuff
Vladimir Sokolovsky [Mon, 19 Jan 2015 11:26:06 +0000 (13:26 +0200)]
compat-rdma.spec: Remove unused stuff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoNFSRDMA: RHEL7 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Jeffrey C. Becker [Fri, 16 Jan 2015 20:11:51 +0000 (12:11 -0800)]
NFSRDMA: RHEL7 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

9 years agocxgbi: Backport for RHEL6.6
Steve Wise [Thu, 15 Jan 2015 17:08:33 +0000 (11:08 -0600)]
cxgbi: Backport for RHEL6.6

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb4: RHEL6.6 backport
Steve Wise [Wed, 14 Jan 2015 20:26:45 +0000 (14:26 -0600)]
cxgb4: RHEL6.6 backport

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoAdded Module.supported
Vladimir Sokolovsky [Wed, 14 Jan 2015 13:03:09 +0000 (15:03 +0200)]
Added Module.supported

This is to avoid using ''modprobe --allow-unsupported' on SLES OSes

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoiw_cm: fix backport bug
Steve Wise [Tue, 13 Jan 2015 20:53:55 +0000 (14:53 -0600)]
iw_cm: fix backport bug

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agomlx4: Fixed kvfree backport
Vladimir Sokolovsky [Tue, 13 Jan 2015 13:33:35 +0000 (15:33 +0200)]
mlx4: Fixed kvfree backport

Use kvfree from compat

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocxgb4: backports for sles11sp3
Steve Wise [Thu, 8 Jan 2015 19:54:32 +0000 (13:54 -0600)]
cxgb4: backports for sles11sp3

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoiw_cm: add sles11sp3 backport
Steve Wise [Thu, 8 Jan 2015 19:54:32 +0000 (13:54 -0600)]
iw_cm: add sles11sp3 backport

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgbi: add sles11sp3 backports
Steve Wise [Thu, 8 Jan 2015 19:54:32 +0000 (13:54 -0600)]
cxgbi: add sles11sp3 backports

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb3: add sles11sp3 backport
Steve Wise [Thu, 8 Jan 2015 19:54:32 +0000 (13:54 -0600)]
cxgb3: add sles11sp3 backport

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocleanup compat-rdma.spec
Vladimir Sokolovsky [Thu, 8 Jan 2015 14:36:01 +0000 (16:36 +0200)]
cleanup compat-rdma.spec

Removed unused code

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocompat-rdma.spec: Fixed path to openibd.service
Vladimir Sokolovsky [Wed, 7 Jan 2015 16:36:06 +0000 (18:36 +0200)]
compat-rdma.spec: Fixed path to openibd.service

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoAdded SRP backport for RHEL6.5/6
Vladimir Sokolovsky [Wed, 7 Jan 2015 15:13:21 +0000 (17:13 +0200)]
Added SRP backport for RHEL6.5/6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoiser: Added support for RHEL6.5/6
Vladimir Sokolovsky [Wed, 7 Jan 2015 12:32:38 +0000 (14:32 +0200)]
iser: Added support for RHEL6.5/6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure: Added '--force-autogen' parameter
Vladimir Sokolovsky [Tue, 6 Jan 2015 13:02:58 +0000 (15:02 +0200)]
configure: Added '--force-autogen' parameter

autogen.sh will not run by default if the confiure script exist

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoAdded openibd.service for SLES12
Vladimir Sokolovsky [Tue, 6 Jan 2015 12:25:33 +0000 (14:25 +0200)]
Added openibd.service for SLES12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoib/core: Fixed backport
Vladimir Sokolovsky [Mon, 5 Jan 2015 17:49:25 +0000 (19:49 +0200)]
ib/core: Fixed backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoib/core: Added SLES11 SP3 support
Vladimir Sokolovsky [Mon, 5 Jan 2015 16:40:36 +0000 (18:40 +0200)]
ib/core: Added SLES11 SP3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agomlx4: Added SLES11 SP3 support
Vladimir Sokolovsky [Mon, 5 Jan 2015 15:57:01 +0000 (17:57 +0200)]
mlx4: Added SLES11 SP3 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure/makefile: Cleanup NFSRDMA configuration parameters
Vladimir Sokolovsky [Mon, 5 Jan 2015 09:35:14 +0000 (11:35 +0200)]
configure/makefile: Cleanup NFSRDMA configuration parameters

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure/makefile: Add ISER target support
Vladimir Sokolovsky [Mon, 5 Jan 2015 09:25:22 +0000 (11:25 +0200)]
configure/makefile: Add ISER target support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoUpdated openibd
Vladimir Sokolovsky [Wed, 31 Dec 2014 13:28:14 +0000 (15:28 +0200)]
Updated openibd

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRDMA/ocrdma: Syncup patches from upstream kernel.
Mitesh Ahuja [Thu, 18 Dec 2014 11:05:44 +0000 (03:05 -0800)]
RDMA/ocrdma: Syncup patches from upstream kernel.

9 years agoAdded backports for RHEL6.[56]
Vladimir Sokolovsky [Sun, 14 Dec 2014 12:09:09 +0000 (14:09 +0200)]
Added backports for RHEL6.[56]

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure: Added '--skip-autoconf' parameter
Vladimir Sokolovsky [Sun, 14 Dec 2014 11:00:35 +0000 (13:00 +0200)]
configure: Added '--skip-autoconf' parameter

This parameter can be used to avoid running autogen.sh which can be
useful after configure executed autogen.sh once and, now, we just want to
change the set of modules to be compiled,

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocore/iwpm: Fix for netlink attribute length
Tatyana E. Nikolova [Thu, 11 Dec 2014 19:27:49 +0000 (11:27 -0800)]
core/iwpm: Fix for netlink attribute length

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agoRefreshed backports over linux-3.18
Vladimir Sokolovsky [Mon, 8 Dec 2014 14:28:36 +0000 (16:28 +0200)]
Refreshed backports over linux-3.18

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoofed_scripts: Added ofed_format_patch.sh
Vladimir Sokolovsky [Mon, 8 Dec 2014 14:27:31 +0000 (16:27 +0200)]
ofed_scripts: Added ofed_format_patch.sh

This script should be used to refresh backport patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoFixing be2net include path in ocrdma makefile
Selvin Xavier [Fri, 5 Dec 2014 18:32:25 +0000 (10:32 -0800)]
Fixing be2net include path in ocrdma makefile

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
9 years agobe2net backport patch
Selvin Xavier [Fri, 5 Dec 2014 18:31:50 +0000 (10:31 -0800)]
be2net backport patch

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
9 years agoFix pr_fmt warnings
Steve Wise [Tue, 2 Dec 2014 22:11:36 +0000 (16:11 -0600)]
Fix pr_fmt warnings

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agomlx4_en: Fixed typo in the backport
Vladimir Sokolovsky [Mon, 24 Nov 2014 16:17:54 +0000 (18:17 +0200)]
mlx4_en: Fixed typo in the backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure: Fixed linux-obj parameter parsing
Vladimir Sokolovsky [Mon, 24 Nov 2014 15:50:33 +0000 (17:50 +0200)]
configure: Fixed linux-obj parameter parsing

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRefreshed backport patches for linux-3.18-rc6
Vladimir Sokolovsky [Mon, 24 Nov 2014 14:35:25 +0000 (16:35 +0200)]
Refreshed backport patches for linux-3.18-rc6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocxgb4: backport changes for linux-3.12
Steve Wise [Thu, 20 Nov 2014 19:55:07 +0000 (13:55 -0600)]
cxgb4: backport changes for linux-3.12

Also rename the main cxgb4 backport patch so it will be applied after
the firmware patch to make changing it easier.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb4: bundle firmware with driver
Steve Wise [Wed, 19 Nov 2014 20:56:27 +0000 (14:56 -0600)]
cxgb4: bundle firmware with driver

Add T4 and T5 1.12.25.0 firmware to driver.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb3/cxgb4: append "-ofed" to driver version string
Steve Wise [Wed, 19 Nov 2014 20:55:17 +0000 (14:55 -0600)]
cxgb3/cxgb4: append "-ofed" to driver version string

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoBackport for cxgbi on RHEL7
Steve Wise [Tue, 18 Nov 2014 14:51:19 +0000 (08:51 -0600)]
Backport for cxgbi on RHEL7

Just needed to tweak the Kbuild files.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoEnabling building cxgb4i
Steve Wise [Tue, 18 Nov 2014 20:31:22 +0000 (12:31 -0800)]
Enabling building cxgb4i

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoAdd cxgb4 backport patch for RHEL7
Steve Wise [Tue, 18 Nov 2014 14:01:44 +0000 (08:01 -0600)]
Add cxgb4 backport patch for RHEL7

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoAdd cxgb3 backport patch for RHEL7
Steve Wise [Mon, 17 Nov 2014 16:43:44 +0000 (10:43 -0600)]
Add cxgb3 backport patch for RHEL7

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agomakefile: Fixed include order for the compat headers
Vladimir Sokolovsky [Thu, 6 Nov 2014 12:17:22 +0000 (14:17 +0200)]
makefile: Fixed include order for the compat headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRefreshed backports
Vladimir Sokolovsky [Wed, 5 Nov 2014 19:03:35 +0000 (21:03 +0200)]
Refreshed backports

Make sure backports can be applied using git am

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoMerge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/
Vladimir Sokolovsky [Tue, 4 Nov 2014 11:15:38 +0000 (13:15 +0200)]
Merge branch 'master' of git://flatbed.openfabrics.org/~tnikolova/compat-rdma/

9 years agomakefile: Disable usnic compilation
Vladimir Sokolovsky [Sun, 2 Nov 2014 19:29:44 +0000 (21:29 +0200)]
makefile: Disable usnic compilation

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoofed_scripts: Pass correct kernel source/obj parameters
Vladimir Sokolovsky [Sun, 2 Nov 2014 19:29:01 +0000 (21:29 +0200)]
ofed_scripts: Pass correct kernel source/obj parameters

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoFixed ib-core backport for SLES12
Vladimir Sokolovsky [Sun, 2 Nov 2014 18:45:06 +0000 (20:45 +0200)]
Fixed ib-core backport for SLES12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRemove index from iscsi backport
Vladimir Sokolovsky [Sun, 2 Nov 2014 18:44:43 +0000 (20:44 +0200)]
Remove index from iscsi backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoofed_scripts: Set correct kernel source/obj directory
Vladimir Sokolovsky [Sun, 2 Nov 2014 18:42:36 +0000 (20:42 +0200)]
ofed_scripts: Set correct kernel source/obj directory

This is relevant for SLES Distros

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoLinux-next-pending patches for iwpm, nes, cxgb4 - OFED-3.18
Tatyana E. Nikolova [Thu, 30 Oct 2014 21:08:22 +0000 (14:08 -0700)]
Linux-next-pending patches for iwpm, nes, cxgb4 - OFED-3.18

9 years agoBackports for nes and iwpm - OFED-3.18
Tatyana E. Nikolova [Thu, 30 Oct 2014 21:01:44 +0000 (14:01 -0700)]
Backports for nes and iwpm - OFED-3.18

9 years agoBackports for infiniband/core files - OFED-3.18
Tatyana E. Nikolova [Thu, 30 Oct 2014 20:59:47 +0000 (13:59 -0700)]
Backports for infiniband/core files - OFED-3.18

9 years agogen-compat-config.sh: Update COMPAT_LATEST_VERSION
Vladimir Sokolovsky [Tue, 28 Oct 2014 16:52:24 +0000 (18:52 +0200)]
gen-compat-config.sh: Update COMPAT_LATEST_VERSION

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoscsi/Makefile: Avoid recompilation of the whole SCSI stack
Vladimir Sokolovsky [Tue, 28 Oct 2014 08:25:10 +0000 (10:25 +0200)]
scsi/Makefile: Avoid recompilation of the whole SCSI stack

Leave only SRP related staff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoadmin_rdma: Copy compat autotools environment
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:46:29 +0000 (17:46 +0200)]
admin_rdma: Copy compat autotools environment

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocheckout_files: Removed scsi_transport_srp_internal.h
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:40:54 +0000 (17:40 +0200)]
checkout_files: Removed scsi_transport_srp_internal.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agocheckout_files: Removed documentation
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:39:36 +0000 (17:39 +0200)]
checkout_files: Removed documentation

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agomake: Use config.h created by autotools
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:37:34 +0000 (17:37 +0200)]
make: Use config.h created by autotools

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoAdded backport patches
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:11:35 +0000 (17:11 +0200)]
Added backport patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoconfigure: Use check_autofconf to verify kernel configuration
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:07:43 +0000 (17:07 +0200)]
configure: Use check_autofconf to verify kernel configuration

Some kernel-devel packages do not include .config. So, inspect
autoconf.h instead.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRemoved all patches to add linux-3.18 support
Vladimir Sokolovsky [Mon, 27 Oct 2014 14:25:51 +0000 (16:25 +0200)]
Removed all patches to add linux-3.18 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRDMA/nes: Fix for register mr with zero length
Tatyana Nikolova [Fri, 24 Oct 2014 19:09:04 +0000 (14:09 -0500)]
RDMA/nes: Fix for register mr with zero length

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
9 years agosvcrdma: advertise the correct max payload
Steve Wise [Wed, 1 Oct 2014 23:50:07 +0000 (18:50 -0500)]
svcrdma: advertise the correct max payload

Pull in this:

commit 7e5be28827bf5c1989218c4b7bf64fdbc3d679b5
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Tue Sep 23 17:11:22 2014 -0500

    svcrdma: advertise the correct max payload

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoxeon-phi: Updates to qib driver
Vladimir Sokolovsky [Mon, 29 Sep 2014 12:26:23 +0000 (15:26 +0300)]
xeon-phi: Updates to qib driver

Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agogen-compat-config: Handle kthread API to support RHEL6.6
Vladimir Sokolovsky [Mon, 29 Sep 2014 11:58:42 +0000 (14:58 +0300)]
gen-compat-config: Handle kthread API to support RHEL6.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agogen-compat-config: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.
Vladimir Sokolovsky [Mon, 29 Sep 2014 12:58:24 +0000 (15:58 +0300)]
gen-compat-config: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.

Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agobe2net : Backport support for RHEL 6.6
Selvin Xavier [Fri, 19 Sep 2014 02:39:20 +0000 (08:09 +0530)]
be2net : Backport support for RHEL 6.6

Fixing compilation issues for RHEL 6.6

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
9 years agomlx4_en: Added RHEL6.6 support
Vladimir Sokolovsky [Wed, 17 Sep 2014 10:28:51 +0000 (13:28 +0300)]
mlx4_en: Added RHEL6.6 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoxeon-phi: updates to ofed-mic script
Jay Sternberg [Fri, 5 Sep 2014 17:36:13 +0000 (10:36 -0700)]
xeon-phi: updates to ofed-mic script

Changes include:
 - Start the ibp daemon (ibpd) since udev is not longer being used.
 - Always try to unload ipoib/kmtest on the card
 - Try using another hostname when starting services on the cards
   (i.e. hostname.domain).

9 years agoxeon-phi: correct configure file for correct -with-ibp-debug flag
Jay Sternberg [Fri, 5 Sep 2014 17:28:12 +0000 (10:28 -0700)]
xeon-phi: correct configure file for correct -with-ibp-debug flag

9 years agoxeon-phi: remove bogus comment in compat-rdma.spec
Jay Sternberg [Fri, 5 Sep 2014 17:25:36 +0000 (10:25 -0700)]
xeon-phi: remove bogus comment in compat-rdma.spec

cmment added of prior commits but it generates an error on execution
of install.pl so it is being removed.

9 years agoxeon-phi: updates to ibp_server
Jay Sternberg [Mon, 8 Sep 2014 21:05:51 +0000 (14:05 -0700)]
xeon-phi: updates to ibp_server

Changes include:
 - adds the synchronization to all three ibp servers (drv/sa/cm)
   and track additional resources to free them with others
 - correct freeing of resources in cm server so the usage count
   is manages correctly and the driver can be unloaded without
   forcing the count.
 - correct issue when the xeon-phi is rebooted without stopping
   the ofed-mic service which occationally hangs the host.

9 years agoxeon-phi: updated technology preview for ibscif
Jay Sternberg [Mon, 8 Sep 2014 21:01:34 +0000 (14:01 -0700)]
xeon-phi: updated technology preview for ibscif

Changes include:
 - add a module parameter to turn on/off GRH checking, used to detect
   connections going outside the box
 - use mutex instead of spinlock when the lock holder could go sleep
   fixing a soft lockup issue under oversubscribing
 - add semaphore/mutex macros missing on older systems
 - eliminates a race condition between the poll thread and the netdev
   notifier
 - invalidate connections going outside the box
 - set the correct link layer type
 - clean up the driver output
 - perform endian conversion before printing GID
 - fix compiler warnings

9 years agoRDMA/ocrdma: Add a fix for mmaping kernel mem to user
Devesh Sharma [Mon, 8 Sep 2014 05:43:27 +0000 (11:13 +0530)]
RDMA/ocrdma: Add a fix for mmaping kernel mem to user

This patch adds a patch to fix mmaping issue reported
on accross platforms.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
9 years agocxgb4: GRO busted in sles/rhel backports.
Steve Wise [Tue, 2 Sep 2014 16:11:05 +0000 (11:11 -0500)]
cxgb4: GRO busted in sles/rhel backports.

Here is another VLAN backport bug, but with the GRO path.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agocxgb4: Fix vlan support in sles and rhel backport.
Steve Wise [Thu, 28 Aug 2014 21:07:29 +0000 (16:07 -0500)]
cxgb4: Fix vlan support in sles and rhel backport.

If a tagged packet arrives it will cause a crash in t4_ethrx_handler()
due to a bug in the backports causing a skb to be freed twice.  Also in
the RHEL backport, needed to add a vlan netdev op for it to work at all.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
9 years agoadd missing docs directory
Phil Cayton [Wed, 27 Aug 2014 20:14:28 +0000 (13:14 -0700)]
add missing docs directory

9 years agoChanges to ofed-mic script to better handle IPoIB interfaces vofed-3.12-1-rc1
Phil Cayton [Tue, 19 Aug 2014 19:11:31 +0000 (12:11 -0700)]
Changes to ofed-mic script to better handle IPoIB interfaces

List IPoIB interfaces brought up on card following card name and
colon (:), ie mic0 : ib0 ib1

If IF on card fails to come up (ie ifup ib0 fails), print offending card
and interface, keep trying other interfaces.  If any IPoIB interfaces fail
to come up don't assume card does not exist and try other hostnames.

9 years agoofed-mic add check for existing ibpd to start function
Phil Cayton [Tue, 19 Aug 2014 19:10:49 +0000 (12:10 -0700)]
ofed-mic add check for existing ibpd to start function

Add a check for an existing ibpd daemon before starting another.
This prevents multiple "service ofed-mic start" commands from
launching multiple copies of the ibpd daemon, spawning more
driver worker threads than intended.

9 years agogen-compat-config: Fix CONFIG_COMPAT_IFLA_VF_LINK_STATE_MAX setting
Vladimir Sokolovsky [Mon, 18 Aug 2014 14:38:57 +0000 (17:38 +0300)]
gen-compat-config: Fix CONFIG_COMPAT_IFLA_VF_LINK_STATE_MAX setting

This is required for RHEL6.6 support.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
9 years agoRDAM/ocrdma: Pull ocrdma bug fixes This also has syncup patches from upstream kernel.
Mitesh Ahuja [Tue, 19 Aug 2014 13:02:26 +0000 (18:32 +0530)]
RDAM/ocrdma: Pull ocrdma bug fixes This also has syncup patches from upstream kernel.

Moved following existing patches form /linux-next-pending to
/linux-next-cherry-picks folder

0134-RDMA-ocrdma-Eq-full-catastrophe-avoidance.patch
0135-RDMA-ocrdma-SQ-and-RQ-doorbell-offset-clean-up.patch
0136-RDMA-ocrdma-read-ASIC_ID-register-to-select-asic_gen.patch
0137-RDMA-ocrdma-Allow-DPP-QP-creation.patch
0138-RDMA-ocrdma-ABI-versioning-between-ocrdma-and-be2net.patch
0139-RDMA-ocrdma-update-version-string.patch
0140-RDMA-ocrdma-increment-abi-version-count.patch
0141-RDMA-ocrdma-Memory-leak-fix-in-ocrdma_dereg_mr.patch
0142-RDMA-ocrdma-Use-non-zero-tag-in-SRQ-posting.patch
0143-RDMA-ocrdma-Display-proper-value-for-max_mw.patch
0144-RDMA-ocrdma-Handle-CQ-overrun-error.patch
0145-RDMA-ocrdma-Support-non-embedded-mailbox-commands.patch
0146-RDMA-ocrdma-Query-controller-information.patch
0147-RDMA-ocrdma-Support-for-Skyhawk-statistics.patch
0148-RDMA-ocrdma-Display-fw-version.patch
0149-RDMA-ocrdma-code-clean-up.patch
0150-be2net-adding-abi-version-between-be2net-and-ocrdma.patch
0151-RDMA-ocrdma-ROLLBACK-dpp-posting-for-RDMA-READ.patch

commit a7bade7e3deff33f5a0f830e43596b3d8ebd3d85
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Tue, 3 Jun 2014 11:13:00 +0530
RDMA/ocrdma: Query and initalize the PFC SL

This patch implements routine to query the PFC priority from the adapter port.

Following are the changes implemented:

 * A new FW command is implemented to query the operational/admin
   DCBX configuration from the FW and obtain active priority(service level).
 * Adds support for the async event reported by FW when the PFC priority
   changes. Service level is re-initialized during modify_qp or
   create_ah, based on this event.
 * Maintain SL value in ocrdma_dev structure and refer that as and
   when needed.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 3eb2ede72c26333856fbe3a8c3825d2abaf744b9
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Fri, 18 Jul 2014 11:36:55 +0530
RDMA/ocrdma: Adding hca_type string in device atrributes

Added a new entry under sysfs for getting the HW type.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 491006261a6661df25c0923e19dd995ab56c2e9d
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 27 May 2014 14:05:16 +0530
RDMA/ocrdma: Handle shutdown event from be2net driver

be2net driver sends shutdown event to ocrdma during shutdown/reboot.
As part of event processing, ocrdma calls close() and remove() to
free all the resources associated with ocrdma. This also frees
irqs used by ocrdma

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit c9a08ed7fbd10343a404a3dc899be9eac06c0d6e
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 27 May 2014 14:16:15 +0530
RDMA/ocrdma: Remove hardcoding of the max DPP QPs supported

Removing hardcoded value of max dpp qps and calculate the same from
doorbell page size and WQE size

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 5f866391ef3c7dc6e9dd4955a231ad65b3c99742
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 27 May 2014 14:25:11 +0530
RDMA/ocrdma: Delete AH table if ocrdma_init_hw fails after AH table creation

Cleanup the AH table in error path, if HW initialization fails
after AH table creation.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit bb2d1842ca249900a73e3850b3583c77b7d0f450
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Wed, 28 May 2014 09:25:16 +0530
RDMA/ocrdma: Avoid reporting wrong completions in case of error CQEs

During cable pull test with a mount over nfs rdma, driver was reporting
error completions when there was no pending requests in the SQ and RQ.
This was triggering a host crash because of reporting wrong work req id.
Avoid this crash by adding a check for SQ and RQ empty condition and
prevent reporting completions if queues are empty.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
commit 66e9bb03219959cee18ec8cbd50c29b0c7b1c8d9
Author: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Date: Mon, 2 Jun 2014 10:54:40 +0530
RDMA/ocrdma: Allow only SEND opcode in case of UD QPs

Prevent posting opcodes other than send and send immediate on the UD QPs

Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 6237b9592d8494f1e9df9f6655336d196a2c244c
Author: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Date: Fri, 18 Jul 2014 11:47:18 +0530
RDMA/ocrdma: Do proper cleanup evenif FW is in error state

If any mailbox command reports timeout, save the state in the driver, to prevent
issuing any more commands to the HW. Do proper cleanup even if FW is in error state.

Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit cb245d90fb25b9974cd316d14f02a159e2cd2fac
Author: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Date: Wed, 28 May 2014 10:25:38 +0530
RDMA/ocrdma: Return proper value for max_mr_size

Update the max_mr_size with proper value. Corrected the response structure
of query config mailbox command.

Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.Com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 241e833572471ef43d56d045437f0e8a80a5a186
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Wed, 28 May 2014 16:35:23 +0530
RDMA/ocrdma : Add missing adapter mailbox opcodes

Fixing the Statistics command opcode. Also specifying the
opcode of each command for better readablilty.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
commit 6fbddaf8eb06d8e865771d858ba75f59c388f446
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Thu, 29 May 2014 09:25:55 +0530
RDMA/ocrdma: Increase the size of STAG array in dev structure to 16K

HW can support 16K STAG entries. Changing this max limit.
Also, moving this array out of ocrdma_dev to reduce
the size of this structure

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit 4199b418e36dbe23f16cd741ac9514e792d5d67d
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Tue, 3 Jun 2014 14:10:41 +0530
RDMA/ocrdma: Fixing a sparse warning

Fixing the warning about the usage of plain integer as NULL pointer

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit c5b3d4cc260813bfe80ceb759cc53e78f7ae0f93
Author: Selvin Xavier <selvin.xavier@emulex.com>
Date: Fri, 18 Jul 2014 11:52:15 +0530
RDMA/ocrdma: Update the ocrdma module version string

Updating the ocrdma driver version string

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit ab18a8049348c08b36d503992dd9c440d6579ad6
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 1 Jul 2014 16:13:15 +0530
RDMA/ocrdma: obtain sl from deivce structure

Currently, driver obtains service level value from ah_attr->sl
field. However, this filed is set to zero all the times from
rdma-cm. This patch allows create_ah to obtain service level from
dev->sl

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit b9b4b1998604fc5a77388dd9defaee62209a931e
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 1 Jul 2014 16:05:11 +0530
RDMA/ocrdma: update sli data structure for endian ness

updated the sli specific mailbox command request/response
data sturcures to fix endian-ness issues.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit bc42b246b1cb9a2230739f251ff0b2d42e85c644
Author: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Date: Tue, 1 Jul 2014 14:41:19 +0530
RDMA/ocrdma: report asic-id in query device

Ocrdma does not report hw_ver when query_device is issued.
This patch is adding meaningful value to this field.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
commit b28db068f62c5af0ce3e3af91bd9326b4b570c58
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Fri, 6 Jun 2014 10:45:49 +0530
RDMA/ocrdma: do not skip setting deffered_arm

ib_request_notify_cq() when called for the first time
ocrdma tries to skip setting deffered_arm flag. This
may lead CQ to an un-armed state thus, never generating
CQ event and leaving consumer in hung state.

This patch removes the part of code that skkips setting
deffered_arm flag.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
commit 295ec1fb5a5ecb9e35f452a1b744992c0c515066
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Thu, 5 Jun 2014 19:11:05 +0530
RDMA/ocrdma: Report actual value of max_fast_reg_page_list_len

ocrdma_query_device does not report correct value of max_fast_reg_page_list_len.
This patch applies changes to fix this bug.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
commit 1d930f4ea2f2a4784ccfbb18b4263817db283282
Author: Devesh Sharma <devesh.sharma@emulex.com>
Date: Tue, 12 Aug 2014 17:28:59 +0530
be2net: Issue shutdown event to ocrdma driver

In the shutdown path, when be2net calls pci_disable_msix(), it
complains (BUG_ON) that irqs requested by ocrdma driver are still in
use.  This patch fixes this problem by issuing shutdown event to
ocrdma from be2net shutdown path.  As part of shutdown event
processing, ocrdma driver will free up all the resources and free
irqs.  Once this completes be2net completes pci_disable_msix
successfully.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Mitesh Ahuja <mitesh.ahuja@emulex.com>
9 years agoMerge branch 'NFSoRDMA' of git://git.openfabrics.org/~jbecker/compat-rdma
Vladimir Sokolovsky [Mon, 18 Aug 2014 08:24:34 +0000 (11:24 +0300)]
Merge branch 'NFSoRDMA' of git://git.openfabrics.org/~jbecker/compat-rdma

9 years agocorrect ofed-mic scripts to manually start ibpd rather than it being started by udev...
Phil Cayton [Thu, 14 Aug 2014 19:54:33 +0000 (12:54 -0700)]
correct ofed-mic scripts to manually start ibpd rather than it being started by udev - change for rhel7

9 years agoNFSoRDMA: fixes for 3.12 and RHEL7, RHEL6.5, SLES11SP3 backports
Jeffrey C. Becker [Sat, 16 Aug 2014 00:10:44 +0000 (17:10 -0700)]
NFSoRDMA: fixes for 3.12 and RHEL7, RHEL6.5, SLES11SP3 backports
Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>