~emulex/compat-rdma.git
5 years agoFixing be2net include path in ocrdma makefile master
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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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/

5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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

5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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).

6 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

6 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.

6 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.

6 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

6 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>
6 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>
6 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>
6 years agoadd missing docs directory
Phil Cayton [Wed, 27 Aug 2014 20:14:28 +0000 (13:14 -0700)]
add missing docs directory

6 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.

6 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.

6 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>
6 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>
6 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

6 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

6 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>
6 years agoadd xeon-phi as tech preview
Phil Cayton [Wed, 6 Aug 2014 20:28:07 +0000 (13:28 -0700)]
add xeon-phi as tech preview

6 years agomlx4_en: Fixed crash when port type is change
Vladimir Sokolovsky [Tue, 5 Aug 2014 07:41:33 +0000 (10:41 +0300)]
mlx4_en: Fixed crash when port type is change

Taken from the upstream kernel commit
1ec4864b10171b0691ee196d7006ae56d2c153f2

timecounter_init() was was called only after first potential
timecounter_read().
Moved mlx4_en_init_timestamp() before mlx4_en_init_netdev()

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoRDMA/cxgb4: Initialize the device status page
Steve Wise [Wed, 16 Jul 2014 14:29:16 +0000 (09:29 -0500)]
RDMA/cxgb4: Initialize the device status page

Cherry picked from Roland's for-next branch.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agocxgb4: update fw to 1.11.27.0
Steve Wise [Wed, 25 Jun 2014 17:01:56 +0000 (12:01 -0500)]
cxgb4: update fw to 1.11.27.0

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agomakefile: Added -I$$(srctree)/include to support SLES12
Vladimir Sokolovsky [Thu, 19 Jun 2014 08:23:17 +0000 (11:23 +0300)]
makefile: Added -I$$(srctree)/include to support SLES12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocxgb4/iw_cxgb4 fixes
Steve Wise [Tue, 17 Jun 2014 21:07:15 +0000 (16:07 -0500)]
cxgb4/iw_cxgb4 fixes

Cherry pick these from linux-3.16-rc1:

c887ad0 cxgb4: Change default Interrupt Holdoff Packet Count Threshold
b408ff2 iw_cxgb4: don't truncate the recv window size
92e7ae7 iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections
cf38be6 iw_cxgb4: Allocate and use IQs specifically for indirect interrupts

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoMove cxgb4 patches from pending to cherry-picks
Steve Wise [Tue, 17 Jun 2014 21:07:15 +0000 (16:07 -0500)]
Move cxgb4 patches from pending to cherry-picks

Since all these patches are upstream, move them to
linux-next-cherry-picks.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded iSER backport and refreshed other backports
Vladimir Sokolovsky [Mon, 16 Jun 2014 13:54:49 +0000 (16:54 +0300)]
Added iSER backport and refreshed other backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoiw_cxgb4: RDMA/cxgb4: Fix vlan support
Steve Wise [Thu, 5 Jun 2014 19:42:50 +0000 (14:42 -0500)]
iw_cxgb4: RDMA/cxgb4: Fix vlan support

Pull in:

commit 11b8e22d4d0979d8201cbdf0b5fffdbe2d5bcedf
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Fri May 16 12:42:46 2014 -0500

    RDMA/cxgb4: Fix vlan support

    RDMA connections over a vlan interface don't work due to
    import_ep() not using the correct egress device.

     - use the real device in import_ep()
     - use rdma_vlan_dev_real_dev() in get_real_dev().

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agocompat-rdma.spec: Fix typo vofed-3.12
Vladimir Sokolovsky [Tue, 27 May 2014 10:15:21 +0000 (13:15 +0300)]
compat-rdma.spec: Fix typo

This typo prevents mlx5_ib to be loaded by the openibd script

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agobe2net: Fixing a crash during vlan traffic introduced by the backport
Selvin Xavier [Wed, 7 May 2014 09:06:20 +0000 (02:06 -0700)]
be2net: Fixing a crash during vlan traffic introduced by the backport
    patch

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
6 years agoMore iw_cxgb4 fixes
Steve Wise [Tue, 29 Apr 2014 01:56:43 +0000 (20:56 -0500)]
More iw_cxgb4 fixes

Pull in these fixes:

c2f9da9 RDMA/cxgb4: Only allow kernel db ringing for T4 devs
92e5011 RDMA/cxgb4: Force T5 connections to use TAHOE congestion control
cc18b93 RDMA/cxgb4: Fix endpoint mutex deadlocks

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agocxgb4: fixed regression bug in fw load patch.
Steve Wise [Tue, 29 Apr 2014 01:48:43 +0000 (20:48 -0500)]
cxgb4: fixed regression bug in fw load patch.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agocxgb4: Fix fw flash.
Hariprasad Shenai [Tue, 22 Apr 2014 13:51:36 +0000 (08:51 -0500)]
cxgb4: Fix fw flash.

Fixed the flash patch to always load the latest FW, be it from
/lib/firmware -or- that which is bound into the driver.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoiw_cxgb4: fix sles11sp3 backport.
Steve Wise [Tue, 22 Apr 2014 13:40:21 +0000 (08:40 -0500)]
iw_cxgb4: fix sles11sp3 backport.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agolinux-next-pending: Pull in cxgb4 fix.
Steve Wise [Tue, 22 Apr 2014 13:40:21 +0000 (08:40 -0500)]
linux-next-pending: Pull in cxgb4 fix.

Pull in these cxgb4 fixes from net/master:

commit 6f1d7210376727d090e04b8635e6dda4d7eb7b0c
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Tue Apr 15 14:22:34 2014 -0500

    cxgb4: use the correct max size for firmware flash

    The wrong max fw size was being used and causing false
    "too big" errors running ethtool -f.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
commit bfae23249955819a42aa6c23d93708c818eff5c9
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Mon Apr 14 14:22:43 2014 -0500

    cxgb4: Save the correct mac addr for hw-loopback connections in the L2T

    Hardware needs the local device mac address to support hw loopback for
    rdma loopback connections.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agolinux-next-pending: pull in more iw_cxgb4 fixes.
Steve Wise [Thu, 10 Apr 2014 15:02:51 +0000 (10:02 -0500)]
linux-next-pending: pull in more iw_cxgb4 fixes.

Pull in these heading into 3.15:

Hariprasad Shenai (1):
      iw_cxgb4: Use pr_warn_ratelimited

Steve Wise (9):
      iw_cxgb4: use the BAR2/WC path for kernel QPs and T5 devices
      iw_cxgb4: endpoint timeout fixes
      iw_cxgb4: rmb() after reading valid gen bit
      iw_cxgb4: SQ flush fix
      iw_cxgb4: Max fastreg depth depends on DSGL support
      iw_cxgb4: Initialize reserved fields in a FW work request
      iw_cxgb4: Add missing debug stats
      iw_cxgb4: Use uninitialized_var()
      iw_cxgb4: fix over-dereference when terminating

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agolinux-next-pending: Pull pending iw_cxgb4 fixes
Steve Wise [Thu, 3 Apr 2014 17:47:23 +0000 (12:47 -0500)]
linux-next-pending: Pull pending iw_cxgb4 fixes

Pull in these commits from:

git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git

branch for-next:

1410e14 RDMA/cxgb4: Disable DSGL use.
13f17b7 RDMA/cxgb4: rx_data() needs to hold the ep mutex
925902f RDMA/cxgb4: Drop RX_DATA packets if the endpoint is gone
9306dcb RDMA/cxgb4: Lock around accept/reject downcalls
9c88aa0 RDMA/cxgb4: Update snd_seq when sending MPA messages
be13b2d RDMA/cxgb4: Connect_request_upcall fixes
70b9c66 RDMA/cxgb4: Ignore read reponse type 1 CQEs
1ce1d47 RDMA/cxgb4: Fix possible memory leak in RX_PKT processing
dbb084c RDMA/cxgb4: Don't leak skb in c4iw_uld_rx_handler()
eda6d1d RDMA/cxgb4: Save the correct map length for fast_reg_page_lists
df2d513 RDMA/cxgb4: Default peer2peer mode to 1
ba32de9 RDMA/cxgb4: Mind the sq_sig_all/sq_sig_type QP attributes
8a9c399 RDMA/cxgb4: Fix incorrect BUG_ON conditions
ebf0006 RDMA/cxgb4: Always release neigh entry
f8e8190 RDMA/cxgb4: Allow loopback connections
ffd4359 RDMA/cxgb4: Cap CQ size at T4_MAX_IQ_SIZE
e24a72a RDMA/cxgb4: Fix four byte info leak in c4iw_create_cq()
ff1706f RDMA/cxgb4: Fix underflows in c4iw_create_qp()

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoNFSRDMA: fix client connect crash with RHEL/SLES backports.
Steve Wise [Wed, 2 Apr 2014 20:01:30 +0000 (15:01 -0500)]
NFSRDMA: fix client connect crash with RHEL/SLES backports.

xprt_rdma_connect() takes 1 parameter in sles11sp3 and rhel6.5 kernels.
Yet the OFED version takes 2 parameters.  Need more backport magic...

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoFix NFSRDMA SLES11sp3 backport patch.
Steve Wise [Mon, 31 Mar 2014 20:42:58 +0000 (15:42 -0500)]
Fix NFSRDMA SLES11sp3 backport patch.

The SLES11SP3 patch breaks RHEL6.5 functionality.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agolinux-next-pending: Pull in cxgb4 fixes
Steve Wise [Mon, 31 Mar 2014 20:37:48 +0000 (15:37 -0500)]
linux-next-pending: Pull in cxgb4 fixes

Pull in these fixes from
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

commit 7a2cea2aaae2d5eb5c00c49c52180c7c2c66130a
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Fri Mar 14 21:52:07 2014 +0530

    cxgb4/iw_cxgb4: Treat CPL_ERR_KEEPALV_NEG_ADVICE as negative advice

commit 05eb23893c2cf9502a9cec0c32e7f1d1ed2895c8
Author: Steve Wise <swise@opengridcomputing.com>
Date:   Fri Mar 14 21:52:08 2014 +0530

    cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes

commit bfd2793c9559ae73ae021797f1d4b097c27f24be
Author: Yann Droneaud <[mailto:ydroneaud@opteya.com]>
Date:   Fri Mar 28 14:55:21 2014 -0400

    RDMA/cxgb4: set error code on kmalloc() failure

commit 0183aa626f467dad278050f0918a243164ae5916
Author: Hariprasad Shenai <hariprasad@chelsio.com>
Date:   Thu Mar 27 18:17:09 2014 +0530

    cxgb4: Adds device ID for few more Chelsio Adapters

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agolinux-next-pending: Pull in NFSRDMA fixes.
Steve Wise [Mon, 31 Mar 2014 20:37:47 +0000 (15:37 -0500)]
linux-next-pending: Pull in NFSRDMA fixes.

From git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next:

commit 2b7bbc963da8d076f263574af4138b5df2e1581f
Author: Chuck Lever <chuck.lever@oracle.com>
Date:   Wed Mar 12 12:51:30 2014 -0400

    SUNRPC: Fix large reads on NFS/RDMA

From git://linux-nfs.org/~bfields/linux.git for-3.15:

commit 7e4359e2611f95a97037e2b6905eab52f28afbeb
Author: Tom Tucker <tom@ogc.us>
Date:   Tue Mar 25 15:14:57 2014 -0500

    Fix regression in NFSRDMA server

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded RHEL7.0 support + refreshed backports
Vladimir Sokolovsky [Tue, 18 Mar 2014 16:14:03 +0000 (18:14 +0200)]
Added RHEL7.0 support + refreshed backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat-rdma.spec: Add include/linux/compat_autoconf.h to compat-rdma-devel RPM
Vladimir Sokolovsky [Mon, 17 Mar 2014 15:50:27 +0000 (17:50 +0200)]
compat-rdma.spec: Add include/linux/compat_autoconf.h to compat-rdma-devel RPM

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

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agolinux-next-cherry-picks: Bring upstream fixes on cxgb4
Kumar Sanghvi [Mon, 17 Mar 2014 08:10:25 +0000 (13:40 +0530)]
linux-next-cherry-picks: Bring upstream fixes on cxgb4

This patch brings in below fixes on cxgb4 from linux-next:
ca71de6 (cxgb4: Calculate len properly for LSO path)
c2b955e (cxgb4: Updates for T5 SGE's Egress Congestion Threshold)
0f4d201 (cxgb4: Rectify emitting messages about SGE Ingress DMA channels being potentially stuck)
68bce192 (cxgb4: Add code to dump SGE registers when hitting idma hangs)
92ddcc7 (cxgb4: Fix some small bugs in t4_sge_init_soft() when our Page Size is 64KB)

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
6 years agoRDMA/ocrdma:Rollback patch for RDMA-READ posting on DPP
Devesh Sharma [Tue, 25 Feb 2014 15:48:45 +0000 (07:48 -0800)]
RDMA/ocrdma:Rollback patch for RDMA-READ posting on DPP

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
6 years agoFixed nfsrdma compilation issue on RHEL6.4/5
Vladimir Sokolovsky [Mon, 24 Feb 2014 16:46:45 +0000 (18:46 +0200)]
Fixed nfsrdma compilation issue on RHEL6.4/5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMerge branch 'master' of ssh://beany.openfabrics.org/home/maheshv/for-vlad/compat...
Vladimir Sokolovsky [Mon, 24 Feb 2014 07:57:43 +0000 (09:57 +0200)]
Merge branch 'master' of ssh://beany.openfabrics.org/home/maheshv/for-vlad/compat-rdma-bare/compat-rdma

6 years agoMerge branch 'master' of ssh://git.openfabrics.org/home/vipulp/ofed_3_12/compat-rdma
Vladimir Sokolovsky [Mon, 24 Feb 2014 07:31:01 +0000 (09:31 +0200)]
Merge branch 'master' of ssh://git.openfabrics.org/home/vipulp/ofed_3_12/compat-rdma

6 years agoNFSRDMA: Renumber SLES11sp3 patch Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa...
Jeffrey C. Becker [Thu, 20 Feb 2014 17:51:06 +0000 (09:51 -0800)]
NFSRDMA: Renumber SLES11sp3 patch Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

6 years agoNFSRDMA: SLES11sp3 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Jeffrey C. Becker [Wed, 19 Feb 2014 23:42:08 +0000 (15:42 -0800)]
NFSRDMA: SLES11sp3 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

6 years agobe2net: added backport patch and updated version string
Devesh Sharma [Fri, 21 Feb 2014 19:35:29 +0000 (11:35 -0800)]
be2net: added backport patch and updated version string

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
6 years agolinux_next_pending: Add embedded f/w support for Chelsio T4/T5 adapters
Kumar Sanghvi [Fri, 21 Feb 2014 14:10:24 +0000 (19:40 +0530)]
linux_next_pending: Add embedded f/w support for Chelsio T4/T5 adapters

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
6 years agoRDMA/ocrdma: adding fix for rmmod crash
Devesh Sharma [Thu, 20 Feb 2014 10:36:34 +0000 (02:36 -0800)]
RDMA/ocrdma: adding fix for rmmod crash

1852d1da3b4723d7db0d490f54c07442b3e1c452 RDMA/ocrdma: Fix a crash in rmmod

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
6 years agoMerge branch 'master' of ssh://beany.openfabrics.org/home/vipulp/ofed_3_12/compat...
Vladimir Sokolovsky [Thu, 20 Feb 2014 08:54:45 +0000 (10:54 +0200)]
Merge branch 'master' of ssh://beany.openfabrics.org/home/vipulp/ofed_3_12/compat-rdma

6 years agopatches: Backport for 40G support for Chelsio
Kumar Sanghvi [Wed, 19 Feb 2014 08:56:21 +0000 (14:26 +0530)]
patches: Backport for 40G support for Chelsio

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
6 years agolinux-next-cherry-picks: Bring upstream fixes on cxgb4
Kumar Sanghvi [Wed, 19 Feb 2014 07:11:12 +0000 (12:41 +0530)]
linux-next-cherry-picks: Bring upstream fixes on cxgb4

Bring below upstream fixes on cxgb4:
f0a8e6d cxgb4: Add more PCI device ids.
0034b29 cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()
c1f49e3 cxgb4: Remove unused registers and add missing ones
1ac0f09 cxgb4: Query firmware for T5 ULPTX MEMWRITE DSGL capabilities
4fe44dd cxgb4: LE-Workaround is not atomic in firmware
57d8b76 cxgb4: Allow >10G ports to have multiple queues
a94cd70 cxgb4: Print adapter VPD Part Number instead of Engineering Change field
72aca4b cxgb4: Add support to recognize 40G links

This adds support for Chelsio 40G adapters.
And also, brings in misc. fixes on cxgb4 for T4 and T5 adapters.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
6 years agoRDMA/ocrdma: updated next-pending with inflight patches
Devesh Sharma [Wed, 19 Feb 2014 11:12:14 +0000 (03:12 -0800)]
RDMA/ocrdma: updated next-pending with inflight patches

Following patches are inflight currently. Adding here to make ocrmda synced.

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
6 years agoRDMA/ocrdma: Added ocrdma cherry-picks based on upstream commits
Devesh Sharma [Wed, 19 Feb 2014 11:10:35 +0000 (03:10 -0800)]
RDMA/ocrdma: Added ocrdma cherry-picks based on upstream commits

fe5e8a1acc7fd877b6706053cf88c418c33fe7a3 RDMA/ocrdma: Fix AV_VALID bit position
be8348df6efac6b602f2ad3210139bccf0dbe3d7 RDMA/ocrdma: Fix OCRDMA_GEN2_FAMILY macro definition
da2f920ba5405aa1d1b2c71168e5c59f9ef732dc RDMA/ocrdma: Fix traffic class shift
b140314053fe6b7f4543b3e9c92f716712ec3d7a RDMA/ocrdma: Fix load time panic during GID table init

Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
6 years agolinux-next-cherry-picks: Bring upstream fix on RDMA/cxgb4 LE-Workaround path
Kumar Sanghvi [Tue, 18 Feb 2014 10:47:57 +0000 (16:17 +0530)]
linux-next-cherry-picks: Bring upstream fix on RDMA/cxgb4 LE-Workaround path

This brings upstream fix 0f01320 (RDMA/cxgb4: Add missing neigh_release in LE-Workaround path),
and makes corresponding backport adjustment.
This resolves OFED Bugzilla Bug#2459

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
6 years agoopenibd: Change unload module flow
Vladimir Sokolovsky [Mon, 17 Feb 2014 14:06:48 +0000 (16:06 +0200)]
openibd: Change unload module flow

Modules will be removed recursively, following their dependencies.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoRDMA/nes: Fixes for OFED-3.12
Tatyana E. Nikolova [Thu, 13 Feb 2014 19:01:00 +0000 (11:01 -0800)]
RDMA/nes: Fixes for OFED-3.12

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
6 years agogen-compat-config.sh: Fix SLES11 SP3 detection
Vladimir Sokolovsky [Thu, 13 Feb 2014 08:17:49 +0000 (10:17 +0200)]
gen-compat-config.sh: Fix SLES11 SP3 detection

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoFixed nfsrdma backport patch name
Vladimir Sokolovsky [Wed, 5 Feb 2014 07:56:56 +0000 (09:56 +0200)]
Fixed nfsrdma backport patch name

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