]> git.openfabrics.org - ~emulex/tmp/compat-rdma/.git/log
~emulex/tmp/compat-rdma/.git
11 years agoRDMA/nes: Fixes for PAU handling
Tatyana Nikolova [Sat, 20 Oct 2012 22:51:40 +0000 (17:51 -0500)]
RDMA/nes: Fixes for PAU handling

Fixes for packed and unaligned fpdu handling

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoib_srp: Add post-3.5 upstream patches
Bart Van Assche [Thu, 18 Oct 2012 12:47:21 +0000 (14:47 +0200)]
ib_srp: Add post-3.5 upstream patches

The following three patches have been accepted upstream after kernel
3.5 was released:
- IB-srp-Fix-a-race-condition: avoid that late replies can trigger
  a crash.
- IB-srp-Fix-use-after-free-in-srp_reset_req
- IB-srp-Avoid-having-aborted-requests-hang

Add these patches to OFED 3.5.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
11 years agoib_srp: Avoid use-after-free during module unload on pre-2.6.36 kernels
Bart Van Assche [Thu, 18 Oct 2012 12:45:33 +0000 (14:45 +0200)]
ib_srp: Avoid use-after-free during module unload on pre-2.6.36 kernels

Since ib_unregister_client() flushes ib_wq that workqueue must be
destroyed after client unregistration instead of before.

This patch has been tested on RHEL 6.3 and SLES 11 SP2.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
11 years agocxgb4: Remove unnecessary #ifdef condition
Vipul Pandya [Fri, 19 Oct 2012 12:34:12 +0000 (05:34 -0700)]
cxgb4: Remove unnecessary #ifdef condition

This patch also fixes the build failure caused due to removal of #ifdef
CONFIG_CHELSIO_T4_OFFLOAD condition

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4: Fix build warnings introduced after T4 configuration file support
Vipul Pandya [Wed, 17 Oct 2012 11:34:50 +0000 (17:04 +0530)]
cxgb4: Fix build warnings introduced after T4 configuration file support

This patch adds patch series from linux-next tree to fix build warnings
introduced after T4 configuration file support addition.

Dynamically allocate memory in t4_memory_rw() and get_vpd_params() to reduce
stack foot prints.

Fixes build failure due to missing linux/vmalloc.h include.

Addresses various sparse warnings related to type assignment issues, function
definition and symbol shadowing.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agolinux-next-cherry-picks: Fix build failure for kernel < 3.2
Vipul Pandya [Wed, 17 Oct 2012 07:48:48 +0000 (13:18 +0530)]
linux-next-cherry-picks: Fix build failure for kernel < 3.2

0004-cxgb4-cxgb4vf-Code-cleanup-to-enable-T4-Configuratio.patch was removing
some defines and enums unconditionally which were being used for kernel < 3.2

This patch adjusts above patch and checks the kernel version before removing
defines and enums.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoIB/qib: remove EBUSY patch
Mike Marciniszyn [Mon, 15 Oct 2012 15:38:15 +0000 (11:38 -0400)]
IB/qib: remove EBUSY patch

0005-A-timing-issue-can-occur-where-qib_mr_dereg-can-retu.patch
upstream patch causes and issue with MR deregistration.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoib_srp: Avoid that module removal can trigger a deadlock
Bart Van Assche [Fri, 12 Oct 2012 12:03:26 +0000 (14:03 +0200)]
ib_srp: Avoid that module removal can trigger a deadlock

Avoid that scsi_remove_host() is invoked from the context of a work
queue thread on which work has been queued that scsi_remove_host()
might be waiting for. That avoids that module removal of ib_srp
triggers a deadlock on a pre-2.6.36 kernel. This patch has been
tested on RHEL 6.1, RHEL 6.2, RHEL 6.3 and SLES 11 SP2.

Reported-by: Rupert Dance <rsdance@soft-forge.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
11 years agoib_srp: Unbreak build on SLES 11 SP2
Bart Van Assche [Thu, 4 Oct 2012 08:52:18 +0000 (10:52 +0200)]
ib_srp: Unbreak build on SLES 11 SP2

Use the <scsi/srp.h> header from compat-rdma instead of the
<scsi/srp.h> header from the kernel-devel package provided by
the OS for the srp_cred_req and related structure definitions.
Also, undefine pr_fmt() before redefining it since the
compat-rdma build process includes <linux/printk.h> from the
command line.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
11 years agocxgb4: Add support for T4 configuration file
Vipul Pandya [Fri, 5 Oct 2012 10:32:32 +0000 (03:32 -0700)]
cxgb4: Add support for T4 configuration file

This patch adds patch series from linux-next tree to add support for T4
configuration file.

Starting with T4 firmware version 1.3.11.0 the firmware now supports device
configuration via a Firmware Configuration File. The Firmware Configuration
File was primarily developed in order to centralize all of the configuration,
resource allocation, etc. for Unified Wire operation where multiple
Physical / Virtual Function Drivers would be using a T4 adapter simultaneously.

The Firmware Configuration file can live in three locations as shown below
in order of precedence.
1) User defined configuration file: /lib/firmware/cxgb4/t4-config.txt
2) Factory Default configuration file written to FLASH within
   the manufacturing process.
3) Hardwired driver configuration.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoAdd SRP backport and refresh all patches
Vladimir Sokolovsky [Tue, 2 Oct 2012 14:05:14 +0000 (16:05 +0200)]
Add SRP backport and refresh all patches

This patch has been tested on RHEL 6.0, RHEL 6.1, RHEL 6.2, RHEL 6.3
and Ubuntu 10.04.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoMerge branch 'master' of ssh://git.openfabrics.org/home/vipulp/new_ofed/compat-rdma
Vladimir Sokolovsky [Tue, 2 Oct 2012 11:51:47 +0000 (13:51 +0200)]
Merge branch 'master' of ssh://git.openfabrics.org/home/vipulp/new_ofed/compat-rdma

11 years ago/etc/init.d/openibd: Fix LSB header
Bart Van Assche [Fri, 21 Sep 2012 11:33:46 +0000 (13:33 +0200)]
/etc/init.d/openibd: Fix LSB header

The meaning of the "Required-Stop" tag is which services must be
available during shutdown of a service. Avoid specifying the same
runlevel for the "Default-Start" and "Default-Stop" tag. Also,
the default start runlevels on Debian are 2, 3, 4 and 5.

See also http://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
11 years agoIB/qib: linux-3.6 patches backported
Mike Marciniszyn [Tue, 25 Sep 2012 13:01:11 +0000 (09:01 -0400)]
IB/qib: linux-3.6 patches backported

6a82649f and 354dff1b from 3.6.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoiw_cxgb4: Fix bug 2369 in OFED bugzilla
Vipul Pandya [Fri, 21 Sep 2012 13:07:06 +0000 (06:07 -0700)]
iw_cxgb4: Fix bug 2369 in OFED bugzilla

Bug 2369 - [OFED-3.5] Trace observed in dmesg while running IMB-MPI1 using
openmpi-1.6

dst_neigh_lookup and neigh_release function has been introduced
in kernel >= 3.4.0. neigh_release function was introduced to
decrement the reference acquired by dst_neigh_lookup function.
neigh_release was getting called unnecessary for the kernel < 3.4.0
which was resulting in the trace.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoIB/qib: fix compliance regression in 3.5
Mike Marciniszyn [Thu, 13 Sep 2012 14:19:37 +0000 (10:19 -0400)]
IB/qib: fix compliance regression in 3.5

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoRDMA/nes: Add linux-next-pending patches
Vladimir Sokolovsky [Wed, 12 Sep 2012 11:33:27 +0000 (14:33 +0300)]
RDMA/nes: Add linux-next-pending patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoRDMA/nes: Updated backports
Vladimir Sokolovsky [Tue, 28 Aug 2012 16:13:38 +0000 (19:13 +0300)]
RDMA/nes: Updated backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoNFSRDMA RHEL6.3 backport
Jeff Becker [Fri, 24 Aug 2012 18:18:23 +0000 (11:18 -0700)]
NFSRDMA RHEL6.3 backport

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
11 years agoNFSRDMA SLES11SP2 backport
Jeff Becker [Thu, 16 Aug 2012 17:44:42 +0000 (10:44 -0700)]
NFSRDMA SLES11SP2 backport

Signed-off-by: Jeff Becker <jeffrey.c.becker@nasa.gov>
11 years agolinux-next-cherry-picks: RDMA/ucma.c: Different fix for ucma context uid=0, causing...
Vladimir Sokolovsky [Wed, 8 Aug 2012 15:32:44 +0000 (18:32 +0300)]
linux-next-cherry-picks: RDMA/ucma.c: Different fix for ucma context uid=0, causing iWarp RDMA applications to fail in connection establishment

Fix for ucma context uid=0, causing iWarp RDMA applications to fail in connection establishment.

This is a new patch addressing the librdmacm segfault when RDMA_CM_EVENT_ESTABLISHED event shows up with evt->id_priv = NULL
In the ucma_event_handler(), ctx->file->mut is moved up to prevent race conditions and protect from assigning zero ucma ctx->uid to asynchronously generated events.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Sean Hefty <Sean.Hefty@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoconnectx_port_config: remove port type restrictions and bug fixes
Vladimir Sokolovsky [Sun, 5 Aug 2012 21:43:36 +0000 (00:43 +0300)]
connectx_port_config: remove port type restrictions and bug fixes

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoconfigure: Fix ARCH definition for ppc64 and x86
Vladimir Sokolovsky [Sun, 5 Aug 2012 21:36:37 +0000 (00:36 +0300)]
configure: Fix ARCH definition for ppc64 and x86

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoRefresh patches for linux-3.5
Vladimir Sokolovsky [Sun, 5 Aug 2012 19:10:32 +0000 (22:10 +0300)]
Refresh patches for linux-3.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agomlx4_en: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vladimir Sokolovsky [Sun, 5 Aug 2012 19:04:56 +0000 (22:04 +0300)]
mlx4_en: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoIPoIB: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vladimir Sokolovsky [Thu, 2 Aug 2012 13:21:09 +0000 (16:21 +0300)]
IPoIB: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoMerge branch 'master' of git://git.openfabrics.org/~mmarciniszyn/new_ofed/compat...
Vladimir Sokolovsky [Wed, 1 Aug 2012 13:50:26 +0000 (16:50 +0300)]
Merge branch 'master' of git://git.openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma

11 years agoMerge branch 'master' of ssh://beany.openfabrics.org/home/vipulp/new_ofed/compat...
Vladimir Sokolovsky [Wed, 1 Aug 2012 13:45:06 +0000 (16:45 +0300)]
Merge branch 'master' of ssh://beany.openfabrics.org/home/vipulp/new_ofed/compat-rdma

11 years agomakefile: Add CONFIG_COMPAT_SKB_FRAG_NEEDED
Vladimir Sokolovsky [Wed, 1 Aug 2012 13:41:13 +0000 (16:41 +0300)]
makefile: Add CONFIG_COMPAT_SKB_FRAG_NEEDED

It is required for kernels <= 3.2 except RHEL6.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoiw_cxgb4: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vipul Pandya [Tue, 31 Jul 2012 09:58:36 +0000 (15:28 +0530)]
iw_cxgb4: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoiw_cxgb3: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vipul Pandya [Tue, 31 Jul 2012 09:58:16 +0000 (15:28 +0530)]
iw_cxgb3: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vipul Pandya [Tue, 31 Jul 2012 09:57:53 +0000 (15:27 +0530)]
cxgb4: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb3: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2
Vipul Pandya [Tue, 31 Jul 2012 09:57:24 +0000 (15:27 +0530)]
cxgb3: Backports for RHEL6.2 RHEL6.3 and SLES11 SP2

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoiw_cxgb3/iw_cxgb4: Enable header file inclusion with absolute path
Vipul Pandya [Tue, 31 Jul 2012 09:25:41 +0000 (14:55 +0530)]
iw_cxgb3/iw_cxgb4: Enable header file inclusion with absolute path

iw_cxgb3/iw_cxgb4 driver includes header files of cxgb3/cxgb4 drivers
respectively. OFED build environment is not able to find the header files
if absolute path is not given.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoIB/ipath: backport < 3.2 for pinned_vm field
Mike Marciniszyn [Wed, 25 Jul 2012 16:34:10 +0000 (12:34 -0400)]
IB/ipath: backport < 3.2 for pinned_vm field

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoIB/ipath: backport qib_fs.c before 2.6.35
Mike Marciniszyn [Wed, 25 Jul 2012 16:33:31 +0000 (12:33 -0400)]
IB/ipath: backport qib_fs.c before 2.6.35

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoIB/qib: backport < 3.2 for pinned_vm field
Mike Marciniszyn [Wed, 25 Jul 2012 16:08:06 +0000 (12:08 -0400)]
IB/qib: backport < 3.2 for pinned_vm field

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoIB/qib: backport qib_fs.c before 2.6.35
Mike Marciniszyn [Wed, 25 Jul 2012 16:06:47 +0000 (12:06 -0400)]
IB/qib: backport qib_fs.c before 2.6.35

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agoRefresh patches
Vladimir Sokolovsky [Mon, 16 Jul 2012 14:17:19 +0000 (17:17 +0300)]
Refresh patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agobackport dst_fetch_ha: Add SLES11.2 support
Vladimir Sokolovsky [Mon, 16 Jul 2012 14:12:01 +0000 (17:12 +0300)]
backport dst_fetch_ha: Add SLES11.2 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdd SLES11.2 support
Vladimir Sokolovsky [Mon, 16 Jul 2012 13:40:58 +0000 (16:40 +0300)]
Add SLES11.2 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agomakefile: Update to support kernels >= 3.1
Vladimir Sokolovsky [Sun, 15 Jul 2012 11:04:21 +0000 (14:04 +0300)]
makefile: Update to support kernels >= 3.1

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoBackports for linux-3.5 nes to RHEL-6.2 and RHEL-6.3
Tatyana Nikolova [Sun, 15 Jul 2012 10:37:20 +0000 (13:37 +0300)]
Backports for linux-3.5 nes to RHEL-6.2 and RHEL-6.3

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoBACKPORT ucma: Revert sysctl registrations
Vladimir Sokolovsky [Thu, 12 Jul 2012 21:29:35 +0000 (00:29 +0300)]
BACKPORT ucma: Revert sysctl registrations

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdd mlx4/ib backport
Vladimir Sokolovsky [Thu, 12 Jul 2012 20:31:26 +0000 (23:31 +0300)]
Add mlx4/ib backport

Tested on RHEL6.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdd ib/core backports
Vladimir Sokolovsky [Wed, 11 Jul 2012 08:28:41 +0000 (11:28 +0300)]
Add ib/core backports

All backport patches reside in the same directory "patches"
These patches being applied by admin_rdma.sh script.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoconfig.mk: Set latest supported kernel version to 3.5
Vladimir Sokolovsky [Wed, 11 Jul 2012 07:54:42 +0000 (10:54 +0300)]
config.mk: Set latest supported kernel version to 3.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoconfig.mk: backport compat to RHEL6.3
Vladimir Sokolovsky [Tue, 10 Jul 2012 12:46:37 +0000 (15:46 +0300)]
config.mk: backport compat to RHEL6.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoadmin_rdma.sh: Take also header files from compat directory
Vladimir Sokolovsky [Mon, 9 Jul 2012 14:49:37 +0000 (17:49 +0300)]
admin_rdma.sh: Take also header files from compat directory

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoNFSRDMA: Makefile fix
Jeff Becker [Thu, 5 Jul 2012 16:40:50 +0000 (09:40 -0700)]
NFSRDMA: Makefile fix

Only build sunrpc/xprtrdma

Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
12 years agoibdev2netdev: Support RNIC.
Steve Wise [Wed, 27 Jun 2012 19:48:05 +0000 (14:48 -0500)]
ibdev2netdev: Support RNIC.

The oldstyle=y logic in ibdev2netdev to match netdevs to ibdevs didn't
work for RNIC devices since their mac address is left justified in
the gid.  This patch uses the type attribute to do the right thing for
RNIC devices.  Note: the oldstyle=n logic works.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
12 years agomakefile: Add compat_base
Vladimir Sokolovsky [Mon, 2 Jul 2012 12:02:40 +0000 (15:02 +0300)]
makefile: Add compat_base

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoadmin_rdma.sh: Update with admin-update from compat-wireless
Vladimir Sokolovsky [Wed, 27 Jun 2012 21:11:58 +0000 (00:11 +0300)]
admin_rdma.sh: Update with admin-update from compat-wireless

compat-wireless commit: 3ede8e02ea893b3ac1b61933df11cba74dec3c73

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agopatches: Remove patches that cannot be applied
Vladimir Sokolovsky [Sun, 17 Jun 2012 15:30:35 +0000 (18:30 +0300)]
patches: Remove patches that cannot be applied

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agocheckout_files: Get rid of duplicated file
Vladimir Sokolovsky [Sun, 17 Jun 2012 15:28:51 +0000 (18:28 +0300)]
checkout_files: Get rid of duplicated file

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoofed_scripts/checkout_files: Remove extra files
Vladimir Sokolovsky [Sun, 17 Jun 2012 15:25:36 +0000 (18:25 +0300)]
ofed_scripts/checkout_files: Remove extra files

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoRemove linux-next-cherry-picks patches
Vladimir Sokolovsky [Sun, 17 Jun 2012 15:17:38 +0000 (18:17 +0300)]
Remove linux-next-cherry-picks patches

These patches are applied in kernel 3.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoRemove backport directories
Vladimir Sokolovsky [Sun, 17 Jun 2012 15:12:31 +0000 (18:12 +0300)]
Remove backport directories

Backport will include patches that will add support for all kernels using:
...

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoofed_makedist.sh: Run admin_rdma.sh -n origin/ofed_3_2
Vladimir Sokolovsky [Tue, 5 Jun 2012 14:52:24 +0000 (17:52 +0300)]
ofed_makedist.sh: Run admin_rdma.sh -n

This is in order to apply patches from linux-next-cherry-picks directory

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agolinux-next-cherry-picks: IB/mlx4: pass SMP vendor-specific attribute MADs to firmware
Vladimir Sokolovsky [Tue, 5 Jun 2012 14:14:55 +0000 (17:14 +0300)]
linux-next-cherry-picks: IB/mlx4: pass SMP vendor-specific attribute MADs to firmware

Original patch:
From a6f7feae6d19e84253918d88b04153af09d3a243 Mon Sep 17 00:00:00 2001
From: Jack Morgenstein <jackm@mellanox.com>
Date: Thu, 26 Jan 2012 16:41:33 +0200
Subject: [PATCH] IB/mlx4: pass SMP vendor-specific attribute MADs to firmware

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoMerge branch 'master' of ssh://openfabrics.org/home/vipulp/new_ofed/compat-rdma
Vladimir Sokolovsky [Tue, 5 Jun 2012 12:39:28 +0000 (15:39 +0300)]
Merge branch 'master' of ssh://openfabrics.org/home/vipulp/new_ofed/compat-rdma

12 years agoAdd SLES11SP2 detection
Vladimir Sokolovsky [Mon, 4 Jun 2012 20:07:02 +0000 (23:07 +0300)]
Add SLES11SP2 detection

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agolinux-next-cherry-picks: Add DB drop recovery patches for Chelsio's T4 adapter
Vipul Pandya [Thu, 31 May 2012 11:57:37 +0000 (17:27 +0530)]
linux-next-cherry-picks: Add DB drop recovery patches for Chelsio's T4 adapter

This patch-series implements doorbell drop recovery for Chelsio T4 iWARP driver.

In the event where DBs are dropped application can get stalled for one or more
reasons. So, we recover RDMA and LLD queues in such an event.
We also take care for handling DB overflow events.

The patch-series also has some bug fixes, adds RDMA debugfs stats and removes
kfifo usage for ID mangement.

This patch-series is already merged with linux-next. However it is too big to
go into stable branch. It is required for Chelsio's T4 adapter correctness.
Hence adding them to linux-next-cherry-picks.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agocompat-rdma/nes: Fixes
Tatyana Nikolova [Wed, 30 May 2012 19:00:43 +0000 (14:00 -0500)]
compat-rdma/nes: Fixes

Fixes for NES driver which have been accepted upstream.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
12 years agoRemove 01-srp_queue_command.patch from the root directory
Vladimir Sokolovsky [Thu, 31 May 2012 07:24:21 +0000 (10:24 +0300)]
Remove 01-srp_queue_command.patch from the root directory

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoMerge branch 'master' of git://openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma
Vladimir Sokolovsky [Thu, 31 May 2012 07:22:40 +0000 (10:22 +0300)]
Merge branch 'master' of git://openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma

12 years agoIB/srp: backport queue command to 2.6.37 and before
Mike Marciniszyn [Wed, 30 May 2012 15:53:40 +0000 (11:53 -0400)]
IB/srp: backport queue command to 2.6.37 and before

queuecommand changed in 2.6.37 and again before that.

Add in KERNEL_VERSION aware changes to detect the
kernel differences.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agoMerge branch 'master' of ssh://openfabrics.org/home/vipulp/new_ofed/compat-rdma
Vladimir Sokolovsky [Wed, 30 May 2012 15:40:35 +0000 (18:40 +0300)]
Merge branch 'master' of ssh://openfabrics.org/home/vipulp/new_ofed/compat-rdma

12 years agocxgb4: remove netdev_alloc_page and use __GFP_COLD
Vipul Pandya [Wed, 30 May 2012 12:15:52 +0000 (17:45 +0530)]
cxgb4: remove netdev_alloc_page and use __GFP_COLD

This patch removes 08-remove_netdev_alloc_page.patch since there are couple
of additional changes are required in cxgb4 driver apart from what this patch
does. It adds new cxgb4 driver patch with those additional changes.

The additional changes in cxgb4 driver are taken from upstream commit
1f2149c1df50c8c712950872675f46e6e44629f0

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agoMerge branch 'master' of git://sofa.openfabrics.org/~mmarciniszyn/new_ofed/compat...
Vladimir Sokolovsky [Wed, 30 May 2012 07:37:19 +0000 (10:37 +0300)]
Merge branch 'master' of git://sofa.openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma

12 years agoIB/srp: backport queue command to 2.6.37 and before
Mike Marciniszyn [Tue, 29 May 2012 20:12:16 +0000 (16:12 -0400)]
IB/srp: backport queue command to 2.6.37 and before

queuecommand changed in 2.6.37 and again before that.

Add in KERNEL_VERSION aware changes to detect the
kernel differences.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agotruescale.cmds: Drop standard errors
Vladimir Sokolovsky [Tue, 29 May 2012 12:31:30 +0000 (15:31 +0300)]
truescale.cmds: Drop standard errors

The following error occurs if there is no QIB device:
ls: cannot access /sys/class/infiniband/qib*: No such file or directory
This patch drops this error to /dev/null

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoRDMA/nes: Add RHEL6.2 Backports
Faisal Latif [Mon, 23 Apr 2012 14:45:51 +0000 (09:45 -0500)]
RDMA/nes: Add RHEL6.2 Backports

Add RHEL 6.2 Backport support

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
12 years agoIB/qib: fix warning in qib build
Mike Marciniszyn [Thu, 24 May 2012 19:08:09 +0000 (15:08 -0400)]
IB/qib: fix warning in qib build

The backport to get_sb_single() was incorrect
in b3fff194cb976e7f4a18411192c8151077f4a5ea.

This corrects the return type to avoid the warnings.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agocxgb4: fix sles11sp2 to fix build error
Mike Marciniszyn [Mon, 21 May 2012 17:30:49 +0000 (13:30 -0400)]
cxgb4: fix sles11sp2 to fix build error

Remove __netdev_alloc_page() call for sles11sp2 build error.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agoIB/qib: backport qib_fs.c to RHEL6.2
Mike Marciniszyn [Mon, 21 May 2012 13:30:40 +0000 (09:30 -0400)]
IB/qib: backport qib_fs.c to RHEL6.2

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agobackports: add 3.0.13_sles11_sp2 backport
Mike Marciniszyn [Mon, 21 May 2012 13:18:20 +0000 (09:18 -0400)]
backports: add 3.0.13_sles11_sp2 backport

This kernel differs slightly from the vanilla 3.0.x
kernel in that the netlink_dump_start() routine
has an extra arg.

To enable compilation on both kernels, this patch
forks the SLES11SP2 backport from the 3.0 backport
and adjusts the compat include via the NEED_MIN_DUMP_ALLOC_ARG
to keep the extra arg.

This patch also adjusts the RHEL6.2 backport to leave
the source as it.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
12 years agoadmin_rdma.sh: Always apply patches from crap directory.
Vipul Pandya [Fri, 18 May 2012 15:19:25 +0000 (08:19 -0700)]
admin_rdma.sh: Always apply patches from crap directory.

The patch, 01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch
in the crap directory is necessary to build iw_cxgb3/iw_cxgb4 driver.
Hence modify the admin_rdma.sh to always apply that patch.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agocrap: Add iw_cxgb3/iw_cxgb4 header file inclusion patch
Vipul Pandya [Fri, 18 May 2012 15:14:58 +0000 (08:14 -0700)]
crap: Add iw_cxgb3/iw_cxgb4 header file inclusion patch

iw_cxgb3/iw_cxgb4 driver includes header files of cxgb3/cxgb4 drivers
respectively. OFED build environment is not able to find the header files
if absolute path is not given.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agobackports: Correct ib core RHEL6.2 backports patch
Vipul Pandya [Tue, 15 May 2012 11:31:42 +0000 (17:01 +0530)]
backports: Correct ib core RHEL6.2 backports patch

Source IPv4 address was not correctly resolved with this patch. Due to
this iw_cxgb4 driver was hitting a panic.

Use rt_src from routing table entry to correctly resolve the source IPv4
address.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agocxgb3/cxgb4/iw_cxgb3/iw_cxgb4: Add RHEL 6.2 backports
Vipul Pandya [Thu, 10 May 2012 14:26:52 +0000 (19:56 +0530)]
cxgb3/cxgb4/iw_cxgb3/iw_cxgb4: Add RHEL 6.2 backports

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agocxgb3/cxgb4: Add kernel 3.0 backports
Vipul Pandya [Mon, 7 May 2012 10:26:56 +0000 (15:56 +0530)]
cxgb3/cxgb4: Add kernel 3.0 backports

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agocxgb4: Add kernel 3.1 backports
Vipul Pandya [Mon, 7 May 2012 09:35:13 +0000 (15:05 +0530)]
cxgb4: Add kernel 3.1 backports

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agomakefile: Remove cxgb3/cxgb4 driver header files inclusion
Vipul Pandya [Mon, 7 May 2012 09:20:51 +0000 (14:50 +0530)]
makefile: Remove cxgb3/cxgb4 driver header files inclusion

cxgb3/cxgb4 drivers header files have the same name. They get included while
building iw_cxgb3/iw_cxgb4 drivers respectively. Including them from the top
level makefile results in wrong header file inclusion while building
iw_cxgb3/iw_cxgb4 drivers.

Remove inclusion of cxgb3/cxgb4 header files from the top level makefile
and let them get included from the individual Makefile of iw_cxgb3/iw_cxgb4
drivers.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
12 years agoAdd RHEL6.2 backports
Vladimir Sokolovsky [Fri, 23 Mar 2012 20:47:51 +0000 (22:47 +0200)]
Add RHEL6.2 backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agomakefile: Get rid of file not present errors
Vladimir Sokolovsky [Fri, 23 Mar 2012 19:38:10 +0000 (21:38 +0200)]
makefile: Get rid of file not present errors

Redirect kconfig.h/autoconf.h file not present error to /dev/null

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoMakefile: Remove memtrack
Vladimir Sokolovsky [Fri, 23 Mar 2012 19:59:10 +0000 (21:59 +0200)]
Makefile: Remove memtrack

Memtrack is not available in compat-rdma.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoofed_makedist.sh: Remove .gitignore
Vladimir Sokolovsky [Tue, 20 Mar 2012 16:34:21 +0000 (18:34 +0200)]
ofed_makedist.sh: Remove .gitignore

.gitignore removed to track all changes in package directories created by
ofed_makedist.sh

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoofed_makedist.sh: Adopt for compat-rdma
Vladimir Sokolovsky [Wed, 14 Mar 2012 22:09:12 +0000 (00:09 +0200)]
ofed_makedist.sh: Adopt for compat-rdma

Created tarballs per backport directory will include initial git commit
in order to ease creating new backport patches.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agosetlocalversion: Do not skip tagged commits
Vladimir Sokolovsky [Wed, 14 Mar 2012 22:03:50 +0000 (00:03 +0200)]
setlocalversion: Do not skip tagged commits

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoadmin_rdma.sh: Use setlocalversion instead of git describe
Vladimir Sokolovsky [Wed, 14 Mar 2012 21:51:32 +0000 (23:51 +0200)]
admin_rdma.sh: Use setlocalversion instead of git describe

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdded setlocalversion script
Vladimir Sokolovsky [Wed, 14 Mar 2012 21:35:18 +0000 (23:35 +0200)]
Added setlocalversion script

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoadmin_rdma.sh: Remove include/scsi
Vladimir Sokolovsky [Tue, 6 Mar 2012 20:05:05 +0000 (22:05 +0200)]
admin_rdma.sh: Remove include/scsi

compat does not include scsi headers yet.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoFix makefiles
Vladimir Sokolovsky [Wed, 22 Feb 2012 13:45:20 +0000 (15:45 +0200)]
Fix makefiles

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoadmin_rdma.sh: Use compat git tree
Vladimir Sokolovsky [Wed, 22 Feb 2012 08:46:15 +0000 (10:46 +0200)]
admin_rdma.sh: Use compat git tree

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdd backports for kernels 3.0 and 3.1
Vladimir Sokolovsky [Wed, 22 Feb 2012 08:44:02 +0000 (10:44 +0200)]
Add backports for kernels 3.0 and 3.1

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agoAdd OFED's kernel installation environment
Vladimir Sokolovsky [Wed, 22 Feb 2012 08:43:03 +0000 (10:43 +0200)]
Add OFED's kernel installation environment

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
12 years agocompat-rdma: Initial commit
Vladimir Sokolovsky [Wed, 22 Feb 2012 08:42:12 +0000 (10:42 +0200)]
compat-rdma: Initial commit

Based on https://github.com/mcgrof/compat-wireless master

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