]> git.openfabrics.org - ~emulex/compat-rdma_3.12.git/log
~emulex/compat-rdma_3.12.git
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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

10 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

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

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

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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 years agoNFSRDMA: Add RHEL6.5 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Jeffrey C. Becker [Tue, 4 Feb 2014 00:17:34 +0000 (16:17 -0800)]
NFSRDMA: Add RHEL6.5 backport Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>

10 years agoocrdma: idr_alloc backport for kernels < 3.9
Vladimir Sokolovsky [Mon, 3 Feb 2014 15:50:00 +0000 (17:50 +0200)]
ocrdma: idr_alloc backport for kernels < 3.9

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoocrdma: Enable header file inclusion with absolute path
Vladimir Sokolovsky [Mon, 3 Feb 2014 15:42:07 +0000 (17:42 +0200)]
ocrdma: Enable header file inclusion with absolute path

ocrdma driver includes header files of benet driver.
OFED build environment is not able to find the header files
if absolute path is not given.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoIB/mlx5: Fix binary compatibility with libmlx5
Vladimir Sokolovsky [Mon, 3 Feb 2014 15:25:40 +0000 (17:25 +0200)]
IB/mlx5: Fix binary compatibility with libmlx5

Commit c1be5232d21d "Fix micro UAR allocator" broke binary compatibility
between libmlx5 and mlx5_ib since it defines a different value to the number of
micro UARs per page, leading to wrong calculation in libmlx5. This patch
defines struct mlx5_ib_alloc_ucontext_req_v2 as an extension to struct
mlx5_ib_alloc_ucontext_req.  The extended size is determined in
mlx5_ib_alloc_ucontext() and in case of old library we use uuarn 0 which works
fine -- this is acheived due to create_user_qp() falling back from high to
medium then to low class where low class will return 0. For new libraries we
use the more sophisticated allocation algorithm.

Issue: 371069

Change-Id: I43b67013e11f4c8dc395b4920118fe2831ffe19d
Fixes: c1be5232d21d ('Fix micro UAR allocator')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoRefreshed linux-next-cherry-picks to be applied cleanly by git am
Vladimir Sokolovsky [Mon, 3 Feb 2014 15:20:54 +0000 (17:20 +0200)]
Refreshed linux-next-cherry-picks to be applied cleanly by git am

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded mlx5 cherry-picks based on upstream commits
Vladimir Sokolovsky [Mon, 3 Feb 2014 15:18:36 +0000 (17:18 +0200)]
Added mlx5 cherry-picks based on upstream commits

57761d8df8efc7cc1227f9bc22e0dda01b0dd91b IB/mlx5: Verify reserved fields are cleared
8c8a49148b95c4d7c5f58a6866a30ea02485d7a3 IB/mlx5: Remove old field for create mkey mailbox
1bde6e301cf6217da9238086c958f532b16e504d IB/mlx5: Abort driver cleanup if teardown hca fails
9e9c47d07d447e09a66ee528c3ebad9ba359af6a IB/mlx5: Allow creation of QPs with zero-length work queues
05bdb2ab6b09f2306f0afe0f60f4b9abffa7aba4 mlx5_core: Fix PowerPC support
db81a5c374b5bd650c5e6ae85d026709751db103 mlx5_core: Improve debugfs readability
bde51583f49bd87e452e9504d489926638046b11 IB/mlx5: Add support for resize CQ
3bdb31f688276505ede23280885948e934304674 IB/mlx5: Implement modify CQ
ada388f7afad1e2e87acbfe30600fdaff9bd6327 IB/mlx5: Make sure doorbell record is visible before doorbell
042b9adae899e1b497282d92205d3fef42d5ca8d mlx5_core: Use mlx5 core style warning
0b6e81b91070bdbe0defb9101384ebb26835e401 IB/mlx5: Clear out struct before create QP command
e08a8761d89b7625144c3fbf0ff9643159135c96 mlx5_core: Fix out arg size in access_register command
c1be5232d21de68f46637e617225b9b7c586451a IB/mlx5: Fix micro UAR allocator
24e42754f676d34e5c26d6b7b30f36df8004ec08 mlx5_core: Remove dead code
d9fe40916387bab884e458c99399c149b033506c IB/mlx5: Remove unused code in mr.c
cf1c5e1f1c965cf44e680127b2e9564fc472676c IB/mlx5: Fix page shift in create CQ for userspace
2b136d025348774633a2f6fc2a87f0cf409a3ab9 IB/mlx5: Fix list_del of empty list
7e2e19210a8bbbcacd31e8ce4a0ea64e3ac37dea IB/mlx5: Remove dead code
1b77d2bd753d119eedcbc08fda58934307676554 mlx5: Use enum to indicate adapter page size
c2a3431e6153ed90911704356bc1e869624e118d IB/mlx5: Update opt param mask for RTS2RTS
07c9113fe8c67e28707b0a4b1e8580abe0327145 IB/mlx5: Remove "Always false" comparison
2d036fad949080f178e02b12c93a61367e9f562f IB/mlx5: Remove dead code in mr.c
4e3d677ba986d5c8e76ee1742c1d4d79bc197d5c mlx5_core: Change optimal_reclaimed_pages for better performance
87b8de492da34942fc554f2958a570ce0642296a mlx5: Clear reserved area in set_hca_cap()
bf0bf77f6519e5dcd57a77b47e1d151c1e81b7ec mlx5: Support communicating arbitrary host page size to firmware
952f5f6e807ba82e1b82fcfcf7f73db022342aa7 mlx5: Fix cleanup flow when DMA mapping fails
cfd8f1d49b61b20aab77d5af5ec907dc99bb0064 IB/mlx5: Fix srq free in destroy qp
1faacf82dfb3e0027087ff7e6aae5e0643b98a4d IB/mlx5: Simplify mlx5_ib_destroy_srq
9641b74ebee65320fa52172995d6df12b641caa5 IB/mlx5: Fix overflow check in IB_WR_FAST_REG_MR
746b5583c1a48a837f4891adaff5e09d61b204a6 IB/mlx5: Multithreaded create MR
51ee86a4af639e4ee8953dd02ad8a766c40f46a1 IB/mlx5: Fix check of number of entries in create CQ

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded benet support compat-rdma-2014-01-30
Vladimir Sokolovsky [Wed, 29 Jan 2014 15:42:27 +0000 (17:42 +0200)]
Added benet support

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

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoRefreshed backport patches
Vladimir Sokolovsky [Thu, 23 Jan 2014 16:09:26 +0000 (18:09 +0200)]
Refreshed backport patches

Fixed patches format to support git-am

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoscsi/Makefile: Avoid recompilation of the whole SCSI stack
Vladimir Sokolovsky [Thu, 23 Jan 2014 15:42:26 +0000 (17:42 +0200)]
scsi/Makefile: Avoid recompilation of the whole SCSI stack

Leave only SRP related staff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoMerge branch 'master' of git://beany.openfabrics.org/~tnikolova/compat-rdma
Vladimir Sokolovsky [Sun, 19 Jan 2014 13:32:09 +0000 (15:32 +0200)]
Merge branch 'master' of git://beany.openfabrics.org/~tnikolova/compat-rdma

10 years agoRDMA/nes: 3.12 backport patches
Tatyana E. Nikolova [Fri, 17 Jan 2014 16:45:59 +0000 (08:45 -0800)]
RDMA/nes: 3.12 backport patches

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
10 years agotruescale.cmds: fixes some issues with errors
Mike Marciniszyn [Tue, 14 Jan 2014 15:05:02 +0000 (10:05 -0500)]
truescale.cmds: fixes some issues with errors

This fix checks for an Intel HCA and silences some other
errors when attempting to read files that are not present.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
10 years agotruescale.cmds: fix many issues with irqbalance banning
Mike Marciniszyn [Tue, 14 Jan 2014 14:51:50 +0000 (09:51 -0500)]
truescale.cmds: fix many issues with irqbalance banning

The following issues are addressed:
- Detect --banirq vs. IRQ_BALANCE_BANNED_INTERRUPTS
- Configure --banirq vs. IRQ_BALANCE_BANNED_INTERRUPTS
- Detect unconfigurable banning (SLES11SP2/3)
- Determine service name correctly
- Use grep to cut out qib interrupts from banned configuration

This patch also adds the shell comment line to better
support invokation from udev.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
10 years agoMerge branch 'master' of git://git.openfabrics.org/~mmarciniszyn/new_ofed/compat...
Vladimir Sokolovsky [Sun, 12 Jan 2014 12:35:34 +0000 (14:35 +0200)]
Merge branch 'master' of git://git.openfabrics.org/~mmarciniszyn/new_ofed/compat-rdma

10 years agotruescale.cmds: add override for Dell QME backplane ver
Mike Marciniszyn [Fri, 10 Jan 2014 16:41:35 +0000 (11:41 -0500)]
truescale.cmds: add override for Dell QME backplane ver

The default is 1.   The override allows use
of a different backplane version.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
10 years agotruescale.cmds: Fix blade type discovery on new M420 Dell blades
Mitko Haralanov [Fri, 10 Jan 2014 16:41:34 +0000 (11:41 -0500)]
truescale.cmds: Fix blade type discovery on new M420 Dell blades

The new type of blades have a different format for the
serial number so we need to adjust how we discover the
bay number.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
10 years agotruescale.cmds: Add Intel copyright notice.
Mitko Haralanov [Fri, 10 Jan 2014 16:41:33 +0000 (11:41 -0500)]
truescale.cmds: Add Intel copyright notice.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
10 years agotruescale.cmds: Fix quoting issues in truescale.cmds
Mitko Haralanov [Fri, 10 Jan 2014 16:41:32 +0000 (11:41 -0500)]
truescale.cmds: Fix quoting issues in truescale.cmds

Missed quotes create an issue with shell special
characters. Fix by quoting string.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
10 years agotruescale.cmds: Adjust QME724x TX tunings based on BP version
Mitko Haralanov [Fri, 10 Jan 2014 16:41:30 +0000 (11:41 -0500)]
truescale.cmds: Adjust QME724x TX tunings based on BP version

The Dell blade chassis got an updated backplane which
requires new transmitter tuning settings. With this
change the tuning script will query the driver for the
backplane version and set the TX settings according to
BP version and slot in the chassis.

Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
10 years agotruescale.cmds: Ban irqbalance from re-arranging our IRQs
Mitko Haralanov [Fri, 10 Jan 2014 16:41:29 +0000 (11:41 -0500)]
truescale.cmds: Ban irqbalance from re-arranging our IRQs

We've already assigned our IRQs to the proper cores and
we don't want irqbalance messing with them. Use the
IRQBALANCE_BANNED_INTERRUPTS environment variable to
stop irqbalance from re-arranging our IRQs.

Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
10 years agotruescale.cmds: Wait for /dev/ipath* devices before changing permissions
Mitko Haralanov [Fri, 10 Jan 2014 16:41:28 +0000 (11:41 -0500)]
truescale.cmds: Wait for /dev/ipath* devices before changing permissions

Wait for up to 30 seconds for the /dev/ipath* devices to appear
before attempting to change their permissions. This helps with
system which boot a bit slower on which the device permissions
could be left in the wrong state.

Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
10 years agocompat-rdma.spec: add backplane override
Mike Marciniszyn [Fri, 10 Jan 2014 16:41:27 +0000 (11:41 -0500)]
compat-rdma.spec: add backplane override

Add a qib specific openib.conf parameter, QIB_QME_BPVER.

The default is one.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
10 years agoIB/qib: Port upstream commits to 3.12
Dennis Dalessandro [Thu, 9 Jan 2014 16:56:29 +0000 (11:56 -0500)]
IB/qib: Port upstream commits to 3.12

2fadd83 IB/qib: Fix txselect regression
603e772 IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
10 years agoIB/qib: 3.12 backport patches
Dennis Dalessandro [Mon, 30 Dec 2013 16:30:06 +0000 (11:30 -0500)]
IB/qib: 3.12 backport patches

Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
10 years agoIB/qib/ipath: patches from 3.5 carried forward
Dennis Dalessandro [Mon, 30 Dec 2013 15:09:31 +0000 (10:09 -0500)]
IB/qib/ipath: patches from 3.5 carried forward

Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
10 years agocxgb3: Update driver version to reflect ofed
Kumar Sanghvi [Thu, 26 Dec 2013 07:25:57 +0000 (12:55 +0530)]
cxgb3: Update driver version to reflect ofed

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agocxgb4: Update driver version to reflect ofed
Kumar Sanghvi [Tue, 24 Dec 2013 19:07:17 +0000 (00:37 +0530)]
cxgb4: Update driver version to reflect ofed

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agoiw_cxgb4: Backports for RHEL6.4, RHEL6.5 and SLES11sp3
Kumar Sanghvi [Tue, 24 Dec 2013 18:58:29 +0000 (00:28 +0530)]
iw_cxgb4: Backports for RHEL6.4, RHEL6.5 and SLES11sp3

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agocxgb4: Backports for RHEL6.4, RHEL6.5 and SLES11sp3
Kumar Sanghvi [Tue, 24 Dec 2013 18:57:52 +0000 (00:27 +0530)]
cxgb4: Backports for RHEL6.4, RHEL6.5 and SLES11sp3

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agoiw_cxgb3: Backports for RHEL6.4, RHEL6.5 and SLES11sp3
Kumar Sanghvi [Tue, 24 Dec 2013 18:57:24 +0000 (00:27 +0530)]
iw_cxgb3: Backports for RHEL6.4, RHEL6.5 and SLES11sp3

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agocxgb3: Backports for RHEL6.4, RHEL6.5 and SLES11sp3
Kumar Sanghvi [Tue, 24 Dec 2013 18:56:27 +0000 (00:26 +0530)]
cxgb3: Backports for RHEL6.4, RHEL6.5 and SLES11sp3

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agocxgb3/cxgb4: Fix pr_fmt warnings
Kumar Sanghvi [Tue, 24 Dec 2013 18:49:36 +0000 (00:19 +0530)]
cxgb3/cxgb4: Fix pr_fmt warnings

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agolinux-next-cherry-picks: Misc fixes for Chelsio T4/T5
Kumar Sanghvi [Tue, 24 Dec 2013 18:42:01 +0000 (00:12 +0530)]
linux-next-cherry-picks: Misc fixes for Chelsio T4/T5

This patch brings-in the following linux-next commits:

d14807d cxgb4: Much cleaner implementation of is_t4()/is_t5()
16e4762 cxgb4: Add new scheme to update T4/T5 firmware
b6f8eae cxgb4: Reserve stid 0 for T4/T5 adapters
7c89e55 cxgb4: Include TCP as protocol when creating server filters
470c60c cxgb4: Assign filter server TIDs properly
15f63b7 cxgb4: Account for stid entries properly in case of IPv6
dcf7b6f cxgb4: Add API to correctly calculate tuple fields
a4ea025 RDMA/cxgb4: Calculate the filter server TID properly
8c04469 RDMA/cxgb4: Server filters are supported only for IPv4
41b4f86 RDMA/cxgb4: Use cxgb4_select_ntuple to correctly calculate ntuple fields

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
10 years agocheckout_files: Fixed rds.h location
Vladimir Sokolovsky [Tue, 10 Dec 2013 14:20:53 +0000 (16:20 +0200)]
checkout_files: Fixed rds.h location

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoFixed SRP backport for SLES11 SP3
Vladimir Sokolovsky [Tue, 10 Dec 2013 14:20:30 +0000 (16:20 +0200)]
Fixed SRP backport for SLES11 SP3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded support for CONFIG_SCSI_SRP_ATTRS
Vladimir Sokolovsky [Tue, 10 Dec 2013 13:41:35 +0000 (15:41 +0200)]
Added support for CONFIG_SCSI_SRP_ATTRS

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agomlx4_core: Roll back round robin bitmap allocation commit for CQs, SRQs, and MPTs
Vladimir Sokolovsky [Mon, 9 Dec 2013 17:04:49 +0000 (19:04 +0200)]
mlx4_core: Roll back round robin bitmap allocation commit for CQs, SRQs, and MPTs

Commit f4ec9e9 "mlx4_core: Change bitmap allocator to work in round-robin fashion"
introduced round-robin allocation (via bitmap) for all resources which allocate
via a bitmap.

Round robin allocation is desirable for mcgs, counters, pd's, UARs, and xrcds.
These are simply numbers, with no involvement of ICM memory mapping.

Round robin is required for QPs, since we had a problem with immediate
reuse of a 24-bit QP number (commit f4ec9e9).

However, for other resources which use the bitmap allocator and involve
mapping ICM memory -- MPTs, CQs, SRQs -- round-robin is not desirable.

What happens in these cases is the following:

ICM memory is allocated and mapped in chunks of 256K.

Since the resource allocation index goes up monotonically, the allocator
will eventually require mapping a new chunk. Now, chunks are also unmapped
when their reference count goes back to zero.  Thus, if a single app is
running and starts/exits frequently we will have the following situation:

When the app starts, a new chunk must be allocated and mapped.

When the app exits, the chunk reference count goes back to zero, and the
chunk is unmapped and freed. Therefore, the app must pay the cost of allocation
and mapping of ICM memory each time it runs (although the price is paid only when
allocating the initial entry in the new chunk).

For apps which allocate MPTs/SRQs/CQs and which operate as described above,
this presented a performance problem.

We therefore roll back the round-robin allocator modification for MPTs, CQs, SRQs.

Reported-by: Matthew Finlay <matt@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded SRP backport
Vladimir Sokolovsky [Mon, 9 Dec 2013 16:28:36 +0000 (18:28 +0200)]
Added SRP backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoMakefile: Disable drivers/scsi subtree
Vladimir Sokolovsky [Wed, 27 Nov 2013 15:13:11 +0000 (17:13 +0200)]
Makefile: Disable drivers/scsi subtree

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded support for RHEL6.4 and refreshed backports
Vladimir Sokolovsky [Wed, 27 Nov 2013 15:12:35 +0000 (17:12 +0200)]
Added support for RHEL6.4 and refreshed backports

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded SLES11 SP3 support
Vladimir Sokolovsky [Tue, 26 Nov 2013 15:37:56 +0000 (17:37 +0200)]
Added SLES11 SP3 support

Compilation passed for ib_core/ib_ipoib/mlx4/mlx5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agocompat-rdma.spec/openibd: Added OCRDMA support
Vladimir Sokolovsky [Mon, 11 Nov 2013 16:17:26 +0000 (18:17 +0200)]
compat-rdma.spec/openibd: Added OCRDMA support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoconfigure/makefile: Added support for mlx5 and ocrdma
Vladimir Sokolovsky [Mon, 11 Nov 2013 16:04:11 +0000 (18:04 +0200)]
configure/makefile: Added support for mlx5 and ocrdma

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agomlx4: Move IFLA_VF_LINK_STATE definitions into compat
Vladimir Sokolovsky [Mon, 11 Nov 2013 12:26:12 +0000 (14:26 +0200)]
mlx4: Move IFLA_VF_LINK_STATE definitions into compat

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoBACKPORTS: Added support for RHEL6.5
Vladimir Sokolovsky [Mon, 11 Nov 2013 10:58:49 +0000 (12:58 +0200)]
BACKPORTS: Added support for RHEL6.5

Modules: ib/core, ib_ipoib, mlx4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agogen-compat-config.sh: Added more CONFIG_COMPAT_...
Vladimir Sokolovsky [Mon, 11 Nov 2013 10:51:58 +0000 (12:51 +0200)]
gen-compat-config.sh: Added more CONFIG_COMPAT_...

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded backport patches for OFED-3.12
Vladimir Sokolovsky [Mon, 30 Sep 2013 09:08:17 +0000 (12:08 +0300)]
Added backport patches for OFED-3.12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoRemoved old backport, cherry-picks and pending patches
Vladimir Sokolovsky [Mon, 30 Sep 2013 11:16:49 +0000 (14:16 +0300)]
Removed old backport, cherry-picks and pending patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoUpdated ofed_scripts for OFED-3.12 release
Vladimir Sokolovsky [Sun, 18 Aug 2013 13:43:45 +0000 (16:43 +0300)]
Updated ofed_scripts for OFED-3.12 release

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agocompat-rdma.spec: Fixed compat-rdma-devel release number vofed-3.5-x
Vladimir Sokolovsky [Tue, 27 Aug 2013 12:39:58 +0000 (15:39 +0300)]
compat-rdma.spec: Fixed compat-rdma-devel release number

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoadd support to ipoib_fix_features from kernel >= 2.6.39
Vladimir Sokolovsky [Mon, 19 Aug 2013 11:15:49 +0000 (14:15 +0300)]
add support to ipoib_fix_features from kernel >= 2.6.39

bug: 2443

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agomakefile: Do not always make all
Vladimir Sokolovsky [Thu, 25 Jul 2013 16:57:36 +0000 (19:57 +0300)]
makefile: Do not always make all

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agocxgb4/cm: Fix compilation on SLES11.3
Vladimir Sokolovsky [Thu, 25 Jul 2013 16:53:29 +0000 (19:53 +0300)]
cxgb4/cm: Fix compilation on SLES11.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoRefreshed backport patches
Vladimir Sokolovsky [Thu, 25 Jul 2013 15:48:01 +0000 (18:48 +0300)]
Refreshed backport patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
10 years agoAdded support for SLES11SP3
Vladimir Sokolovsky [Thu, 25 Jul 2013 15:31:47 +0000 (18:31 +0300)]
Added support for SLES11SP3

Signed-off-by: Robert J Woodruff <robert.j.woodruff@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
11 years agoAdd RHEL6.4 support
Rupert Dance [Wed, 22 May 2013 16:16:56 +0000 (19:16 +0300)]
Add RHEL6.4 support

Signed-off-by: Rupert Dance <rsdance@soft-forge.com>
11 years agoIB/rds: correct IB api usage
Mike Marciniszyn [Mon, 21 Jan 2013 17:57:19 +0000 (12:57 -0500)]
IB/rds: correct IB api usage

This ports upstream commit b1b6cb4.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
11 years agoRDMA/nes: Fixes for OFED-3.5 RC3
Tatyana Nikolova [Thu, 13 Dec 2012 17:49:44 +0000 (11:49 -0600)]
RDMA/nes: Fixes for OFED-3.5 RC3

1. Backports for ethtool ops (which allow turning on/off tx, rx, sg, tso)
   are added for RHEL 6.2 and 6.3
2. Fix for crash caused by improper skb ip_summed field setting
   when tx checksum is disabled
3. Fix for crash when registering MR with zero length

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
11 years agoRDMA/cxgb4: Keep the maximum number of stag limited to T4_MAX_NUM_STAG
Vipul Pandya [Thu, 13 Dec 2012 18:05:05 +0000 (23:35 +0530)]
RDMA/cxgb4: Keep the maximum number of stag limited to T4_MAX_NUM_STAG

Undo commit a2cda5eecfddbab8a947f2e22eb3e83a3e4995fb since it was causing
segmentation fault in libcxgb4.

This patch fixes bug 2408 in OFED bugzilla.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish
Vipul Pandya [Tue, 11 Dec 2012 06:39:18 +0000 (22:39 -0800)]
RDMA/cxgb4: Insert hwtid in pass_accept_req instead in pass_establish

This patch fixes bug 2405 in OFED bugzilla.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/cxgb4: Remove the limitation on maximum number of STAGs
Vipul Pandya [Tue, 11 Dec 2012 06:35:50 +0000 (22:35 -0800)]
RDMA/cxgb4: Remove the limitation on maximum number of STAGs

This patch fixes bug 2381 in OFED bugzilla.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/nes: Fix for terminate timer crash
Tatyana Nikolova [Sun, 25 Nov 2012 06:49:16 +0000 (00:49 -0600)]
RDMA/nes: Fix for terminate timer crash

Fix for terminate timer crash.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoRDMA/nes: Fix for crash when adding timer and timer is pending
Tatyana Nikolova [Sun, 25 Nov 2012 06:46:24 +0000 (00:46 -0600)]
RDMA/nes: Fix for crash when adding timer and timer is pending

RDMA/nes: Replace with 0025-RDMA-nes-Fix-for-adding-timer.patch with
0025-RDMA-nes-Fix-for-modifying-tcp-timer.patch

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoRDMA/cxgb4: fix mpa version mismatch
Vipul Pandya [Tue, 20 Nov 2012 15:22:40 +0000 (07:22 -0800)]
RDMA/cxgb4: fix mpa version mismatch

This patch fixes bug 2404 in OFED bugzilla

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/nes: Fix for incorrect multicast address
Tatyana Nikolova [Tue, 13 Nov 2012 21:47:54 +0000 (15:47 -0600)]
RDMA/nes: Fix for incorrect multicast address

Fix for incorrect multicast address

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoRDMA/nes: Fix for crash when adding timer
Tatyana Nikolova [Fri, 9 Nov 2012 22:04:58 +0000 (16:04 -0600)]
RDMA/nes: Fix for crash when adding timer

Fix for adding timer when a timer is pending

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoiw_cxgb4: only log rx_data warnings if cpl status is non zero.
Vipul Pandya [Thu, 8 Nov 2012 12:05:06 +0000 (04:05 -0800)]
iw_cxgb4: only log rx_data warnings if cpl status is non zero.

With newer firmware, we can get streaming data due to connection
errors before the driver moves the QP out of RTS.

This patch fixes bug 2401 in OFED bugzilla

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4: Fix initialization of SGE_CONTROL register
Vipul Pandya [Wed, 7 Nov 2012 14:13:26 +0000 (06:13 -0800)]
cxgb4: Fix initialization of SGE_CONTROL register

INGPADBOUNDARY_MASK is already shifted. No need to shift it again. On reloading
a driver it was resulting in a bad SGE FL MTU sizes [1536, 9088] error. This
only causes an issue on systems that have L1 cache size of 32B, 128B, 512B,
2048B or 4096B.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/cxgb4: abort connections that receive unexpected streaming mode data
Vipul Pandya [Tue, 6 Nov 2012 15:49:47 +0000 (07:49 -0800)]
RDMA/cxgb4: abort connections that receive unexpected streaming mode data

This patch fixes bug 2397 in OFED bugzilla

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4: Initialize data structures before using.
Vipul Pandya [Tue, 6 Nov 2012 12:33:02 +0000 (04:33 -0800)]
cxgb4: Initialize data structures before using.

We should not assume reserve fields to be don't cares as fields may change.
Clearing data structures before using.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4: Add embedded firmware and its configuration file support
Vipul Pandya [Tue, 6 Nov 2012 12:31:47 +0000 (04:31 -0800)]
cxgb4: Add embedded firmware and its configuration file support

In case if firmware is not preset at /lib/firmware/cxgb4/t4fw.bin location and
its configuration file is not present at /lib/firmware/cxgb4/t4-config.txt
location then these embedded firmware and configuration file present in the
driver will be loaded and adapter will get initialised with it.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agocxgb4/iw_cxgb4: Add LE hash collision bug fix for active and passive offloaded connec...
Vipul Pandya [Wed, 31 Oct 2012 16:39:01 +0000 (09:39 -0700)]
cxgb4/iw_cxgb4: Add LE hash collision bug fix for active and passive offloaded connections

If the hash functionality is enabled in T4 than tuple information of active and
passive offloaded connections are stored in DDR3 memory. LE (Lookup Engine)
implements the interface to search this tuple entries using hash algorithm. If
the number of offloaded connections exceeds the number of maximum hash entries
in DDR3 memory then LE hash collision can occur. To avoid this, driver will
take different path for offloading active and passive connections.

In case of active connection, firmware detects LE hash collision situation and
notifies driver. Driver uses fw_ofld_connection work request to offload that
connection and stores its tuple information in TCAM memory array.

Incase of passive connection, server filter region is created in TCAM. This
region stores the filter which will redirect the incoming SYN packet to offload
queues. After this driver tries to establish the connection using firmware work
request.

This patch series also adds framework for managing filters and to use T4's filter
capabilities.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
11 years agoRDMA/nes: Locking fix to prevent race conditions
Tatyana Nikolova [Fri, 2 Nov 2012 20:38:21 +0000 (15:38 -0500)]
RDMA/nes: Locking fix to prevent race conditions

RDMA/nes: Replace 0009-RDMA-nes-Fix-for-unlinking-NULL-skb.patch with 0009-RDMA-nes-Forward-fpdus-inorder.patch
Locking fix to prevent race conditions.
It forces all fpdus per QP to be forwarded to hardware in order of their tcp sequence numbers.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agoRDMA/nes: Changing nes driver version
Tatyana Nikolova [Fri, 2 Nov 2012 20:41:07 +0000 (15:41 -0500)]
RDMA/nes: Changing nes driver version

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com>
11 years agocxgb4: Fix unable to get UP event from the LLD
Vipul Pandya [Wed, 31 Oct 2012 16:36:55 +0000 (09:36 -0700)]
cxgb4: Fix unable to get UP event from the LLD

If T4 configuration file gets loaded from the /lib/firmware/cxgb4/ directory
then offload capabilities of the cards were getting disabled during
initialization. Hence ULDs do not get an UP event from the LLD.

This patch fixes bug 2392 in OFED bugzilla.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
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>