]> git.openfabrics.org - compat-rdma/compat-rdma.git/log
compat-rdma/compat-rdma.git
4 years agoUpdated backports with RHEL8.0 support
Vladimir Sokolovsky [Wed, 4 Sep 2019 20:49:12 +0000 (15:49 -0500)]
Updated backports with RHEL8.0 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded mlxfs backport for RHEL7.6
Vladimir Sokolovsky [Thu, 29 Aug 2019 16:00:50 +0000 (11:00 -0500)]
Added mlxfs backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoBACKPORTS: fix core/restrack.c backport
Vladimir Sokolovsky [Thu, 29 Aug 2019 14:43:32 +0000 (09:43 -0500)]
BACKPORTS: fix core/restrack.c backport

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded mlx4_en backport for RHEL7.6
Vladimir Sokolovsky [Wed, 28 Aug 2019 21:23:36 +0000 (16:23 -0500)]
Added mlx4_en backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded SRP backport for RHEL7.6
Vladimir Sokolovsky [Wed, 28 Aug 2019 19:31:00 +0000 (14:31 -0500)]
Added SRP backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded iSER backport for RHEL7.6
Vladimir Sokolovsky [Wed, 28 Aug 2019 18:45:51 +0000 (13:45 -0500)]
Added iSER backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded IPoIB backport for RHEL7.6
Vladimir Sokolovsky [Wed, 28 Aug 2019 16:41:26 +0000 (11:41 -0500)]
Added IPoIB backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoFixed IB core backport
Vladimir Sokolovsky [Wed, 28 Aug 2019 16:41:03 +0000 (11:41 -0500)]
Fixed IB core backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded mlx4 backport for RHEL7.6
Vladimir Sokolovsky [Tue, 27 Aug 2019 20:46:13 +0000 (15:46 -0500)]
Added mlx4 backport for RHEL7.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agocheckout_files: Added include/trace/events
Vladimir Sokolovsky [Tue, 27 Aug 2019 20:01:46 +0000 (15:01 -0500)]
checkout_files: Added include/trace/events

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded blk-mq-rdma backport
Vladimir Sokolovsky [Wed, 21 Aug 2019 21:30:09 +0000 (16:30 -0500)]
Added blk-mq-rdma backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded ib_core backport patch
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:31:38 +0000 (15:31 -0500)]
Added ib_core backport patch

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoMakefile: Added HNS support
Vladimir Sokolovsky [Wed, 21 Aug 2019 22:33:15 +0000 (17:33 -0500)]
Makefile: Added HNS support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agocheckout_files: Added ethernet/hisilicon/hns* due to hw/hns dependency
Vladimir Sokolovsky [Wed, 21 Aug 2019 22:19:11 +0000 (17:19 -0500)]
checkout_files: Added ethernet/hisilicon/hns* due to hw/hns dependency

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agocheckout_files: Added nvme headers
Vladimir Sokolovsky [Wed, 21 Aug 2019 21:01:26 +0000 (16:01 -0500)]
checkout_files: Added nvme headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoofed_scripts/gen-compat-config.sh: Support backports up to 5.3
Vladimir Sokolovsky [Tue, 20 Aug 2019 21:57:23 +0000 (16:57 -0500)]
ofed_scripts/gen-compat-config.sh: Support backports up to 5.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agomakefile.in: replace deprecated SUBDIRS with M=
Vladimir Sokolovsky [Tue, 20 Aug 2019 21:56:40 +0000 (16:56 -0500)]
makefile.in: replace deprecated SUBDIRS with M=

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoRemoved linux-next-pending patches
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:39:41 +0000 (15:39 -0500)]
Removed linux-next-pending patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoRemoved linux-next-cherry-picks patches
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:38:02 +0000 (15:38 -0500)]
Removed linux-next-cherry-picks patches

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoMove OFED-4.17-1 backport patches to archive
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:30:20 +0000 (15:30 -0500)]
Move OFED-4.17-1 backport patches to archive

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoofed_scripts/ofed_format_patch.sh: Use bash
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:28:26 +0000 (15:28 -0500)]
ofed_scripts/ofed_format_patch.sh: Use bash

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoofed_scripts/strip.sh: Fixed git am for new git versions
Vladimir Sokolovsky [Tue, 20 Aug 2019 20:18:38 +0000 (15:18 -0500)]
ofed_scripts/strip.sh: Fixed git am for new git versions

git version 2.14.1 and higher fails to apply backport patches
where the index field looks like: index xxxxxxx..xxxxxxx xxxxxx
So, changed strip.sh to leave the mode field of the patch index untouched.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoModule.supported: Added new Mellanox kernel modules ofed_4_17_1 vofed-4.17-1 vofed-4.17-1-rc2
Vladimir Sokolovsky [Fri, 31 May 2019 14:55:33 +0000 (09:55 -0500)]
Module.supported: Added new Mellanox kernel modules

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agobnxt_en: Fix bnxt_en compilation for RH 7.6 vofed-4.17-1-rc1
Selvin Xavier [Sat, 16 Mar 2019 06:53:02 +0000 (23:53 -0700)]
bnxt_en: Fix bnxt_en compilation for RH 7.6

Bug: 2699
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoAdd vmw_pvrdma patch from linux-next
Adit Ranadive [Thu, 14 Mar 2019 06:14:20 +0000 (23:14 -0700)]
Add vmw_pvrdma patch from linux-next

Signed-off-by: Adit Ranadive <aditr@vmware.com>
5 years agoFixed cma_configfs backport vofed-4.17 vofed-4.17-rc2
Vladimir Sokolovsky [Fri, 7 Dec 2018 16:02:12 +0000 (10:02 -0600)]
Fixed cma_configfs backport

Bug: https://bugs.openfabrics.org/show_bug.cgi?id=2695

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed SRP backport
Vladimir Sokolovsky [Mon, 3 Dec 2018 19:23:16 +0000 (13:23 -0600)]
Fixed SRP backport

Bug: https://bugs.openfabrics.org/show_bug.cgi?id=2690

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoopenibd: unload bnxt_en on restart/stop
Vladimir Sokolovsky [Fri, 30 Nov 2018 20:39:37 +0000 (14:39 -0600)]
openibd: unload bnxt_en on restart/stop

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoi40iw: remove support for ib_get_vector_affinity
Sagi Grimberg [Wed, 14 Nov 2018 22:28:57 +0000 (17:28 -0500)]
i40iw: remove support for ib_get_vector_affinity

Devices that does not use managed affinity can not export a vector
affinity as the consumer relies on having a static mapping it can map to
upper layer affinity (e.g. sw queues). If the driver allows the user to
set the device irq affinity, then the affinitization of a long term
existing entites is not relevant.

For example, nvme-rdma controllers queue-irq affinitization is determined
at init time so if the irq affinity changes over time, we are no longer
aligned.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
5 years agoqed: Fix shmem structure inconsistency between driver and the mfw.
Michal Kalderon [Sun, 21 Oct 2018 08:56:18 +0000 (11:56 +0300)]
qed: Fix shmem structure inconsistency between driver and the mfw.

The structure shared between driver and the management FW (mfw) differ in
sizes. This would lead to issues when driver try to access the structure
members which are not-aligned with the mfw copy e.g., data_ptr usage in the
case of mfw_tlv request.
Align the driver structure with mfw copy, add reserved field(s) to driver
structure for the members not used by the driver.

Fixes: dd006921d67f ("qed: Add MFW interfaces for TLV request support.)
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
5 years agobnxt_re: Fix system crash during RDMA resource initialization vofed-4.17-rc1
Selvin Xavier [Fri, 28 Sep 2018 04:33:28 +0000 (21:33 -0700)]
bnxt_re:  Fix system crash during RDMA resource  initialization

Pull from 4.19 rc tree. Fixing a crash due to a call back from
L2 driver during resource initialization.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoqede: Backport to SLES12SP3
Michal Kalderon [Tue, 25 Sep 2018 16:08:09 +0000 (19:08 +0300)]
qede: Backport to SLES12SP3

This patch includes BACKPORTS to SLES12SP3
This backport required modifying a linux-next-cherry-pick patch as well
so that it will be applied cleanly over backports

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
5 years agoiw_cxgb4: Cherrypicking 3 critical fixes from linux tree
Arjun Vynipadath [Tue, 25 Sep 2018 07:05:10 +0000 (12:35 +0530)]
iw_cxgb4: Cherrypicking 3 critical fixes from linux tree

Contains patches for below 3 upstream commits:
308aa2b iw_cxgb4: only allow 1 flush on user qps
7b72717 iw_cxgb4: correctly enforce the max reg_mr depth
3cba33d iw_cxgb4: remove duplicate memcpy() in c4iw_create_listen()

5 years agoUpdate to FW 1.21.5.0 for Chelsio T4/T5/T6 adapters
Arjun Vynipadath [Tue, 25 Sep 2018 05:16:49 +0000 (10:46 +0530)]
Update to FW 1.21.5.0 for Chelsio T4/T5/T6 adapters

5 years agoAdded SLES12SP3 support for cxgb4
Arjun Vynipadath [Tue, 18 Sep 2018 08:50:12 +0000 (14:20 +0530)]
Added SLES12SP3 support for cxgb4

5 years agoMerge branch 'master' of https://github.com/selvintxavier/compat-rdma
Vladimir Sokolovsky [Mon, 17 Sep 2018 16:53:23 +0000 (11:53 -0500)]
Merge branch 'master' of https://github.com/selvintxavier/compat-rdma

5 years agoadmin_rdma.sh: cleanup
Vladimir Sokolovsky [Mon, 17 Sep 2018 16:07:28 +0000 (11:07 -0500)]
admin_rdma.sh: cleanup

compat/udev does not exist anymore.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agobnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
Selvin Xavier [Mon, 17 Sep 2018 16:05:33 +0000 (09:05 -0700)]
bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces

1. DMA-able memory allocated for Shadow QP was not being freed.
2. bnxt_qplib_alloc_qp_hdr_buf() had a bug wherein the SQ pointer was
   erroneously pointing to the RQ. But since the corresponding
  free_qp_hdr_buf() was correct, memory being free was less than what was
  allocated.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoconfigure: compile compat for all kernels including 4.17
Vladimir Sokolovsky [Mon, 17 Sep 2018 15:59:55 +0000 (10:59 -0500)]
configure: compile compat for all kernels including 4.17

This is required due to backport for NVME host that overrides
blk_mq_rdma_map_queues

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoi40iw: Fix path to include dir in Makefile
Tatyana Nikolova [Fri, 14 Sep 2018 10:24:19 +0000 (05:24 -0500)]
i40iw: Fix path to include dir in Makefile

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
5 years agoconfigure: Added --with-isert-mod option support
Vladimir Sokolovsky [Tue, 11 Sep 2018 22:05:58 +0000 (01:05 +0300)]
configure: Added --with-isert-mod option support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded NVME target backport
Vladimir Sokolovsky [Mon, 10 Sep 2018 22:29:08 +0000 (17:29 -0500)]
Added NVME target backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agobnxt_en: Fix linking failure on 4.17 kernel
Selvin Xavier [Thu, 6 Sep 2018 05:33:41 +0000 (22:33 -0700)]
bnxt_en: Fix linking failure on 4.17 kernel

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoopenibd: Add support for bnxt modules
Selvin Xavier [Thu, 6 Sep 2018 05:25:05 +0000 (22:25 -0700)]
openibd: Add support for bnxt modules

Updated the script to handle load/unload/status operations
for bnxt modules

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoFix qede Backports
Michal Kalderon [Wed, 5 Sep 2018 15:55:12 +0000 (18:55 +0300)]
Fix qede Backports

Modified configure file to define some of the CONFIGs to be "y" instead of "m" for
certain modes.

Added another patch for RHEL7.4 backports
Fixed RHEL7.5 backport ( ndev extended min/max mtu )

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
5 years agobnxt_en: BACKPORT for different kernels
Selvin Xavier [Tue, 4 Sep 2018 05:11:58 +0000 (22:11 -0700)]
bnxt_en: BACKPORT for different kernels

Backport for SLES12SP3, SLES15, RH 7.4 and kernel 4.17

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
5 years agoAdded RHEL7.4 support for cxgb4 and iw_cxgb4
Arjun Vynipadath [Tue, 28 Aug 2018 06:34:48 +0000 (12:04 +0530)]
Added RHEL7.4 support for cxgb4 and iw_cxgb4

5 years agoAdded RHEL7.4 support for cxgb3 and iw_cxgb3
Arjun Vynipadath [Tue, 28 Aug 2018 06:34:28 +0000 (12:04 +0530)]
Added RHEL7.4 support for cxgb3 and iw_cxgb3

5 years agoFixed mlx5 backport if CONFIG_NET_SWITCHDEV is not set in kernel
Vladimir Sokolovsky [Wed, 22 Aug 2018 20:49:17 +0000 (15:49 -0500)]
Fixed mlx5 backport if CONFIG_NET_SWITCHDEV is not set in kernel

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfigure: CONFIG_MLX5_ESWITCH depends on CONFIG_NET_SWITCHDEV
Vladimir Sokolovsky [Wed, 22 Aug 2018 20:25:29 +0000 (15:25 -0500)]
configure: CONFIG_MLX5_ESWITCH depends on CONFIG_NET_SWITCHDEV

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoRemoved unused QED firmware files
Vladimir Sokolovsky [Mon, 13 Aug 2018 14:34:45 +0000 (09:34 -0500)]
Removed unused QED firmware files

Requested by Michal Kalderon <Michal.Kalderon@cavium.com>

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded NVME host backport for RHEL7.5
Vladimir Sokolovsky [Fri, 10 Aug 2018 16:22:23 +0000 (11:22 -0500)]
Added NVME host backport for RHEL7.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocheckout_files: Added block/blk-mq-rdma.c
Vladimir Sokolovsky [Fri, 10 Aug 2018 19:36:35 +0000 (14:36 -0500)]
checkout_files: Added block/blk-mq-rdma.c

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded NVME configuration parameters
Vladimir Sokolovsky [Thu, 9 Aug 2018 15:47:24 +0000 (10:47 -0500)]
Added NVME configuration parameters

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoiser: Added backport for RHEL7.5
Vladimir Sokolovsky [Wed, 8 Aug 2018 21:31:00 +0000 (16:31 -0500)]
iser: Added backport for RHEL7.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded support for SLES12 SP3
Vladimir Sokolovsky [Wed, 8 Aug 2018 20:23:18 +0000 (15:23 -0500)]
Added support for SLES12 SP3

The following backports were updated to support SLES12 SP3:
    IB core
    IPOIB
    MLX4
    MLX5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdd backport patches for vmw_pvrdma
Adit Ranadive [Mon, 6 Aug 2018 05:37:48 +0000 (22:37 -0700)]
Add backport patches for vmw_pvrdma

Signed-off-by: Adit Ranadive <aditr@vmware.com>
5 years agomlx5: Fixed compilation on RHEL7.5
Vladimir Sokolovsky [Fri, 3 Aug 2018 15:39:44 +0000 (10:39 -0500)]
mlx5: Fixed compilation on RHEL7.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoadmin_rdma.sh: Copy include/uapi compat headers
Vladimir Sokolovsky [Thu, 2 Aug 2018 18:29:09 +0000 (13:29 -0500)]
admin_rdma.sh: Copy include/uapi compat headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoMerge branch 'cavium' of https://github.com/mkalderon/ofed-compat-rdma
Vladimir Sokolovsky [Wed, 1 Aug 2018 22:34:19 +0000 (17:34 -0500)]
Merge branch 'cavium' of https://github.com/mkalderon/ofed-compat-rdma

5 years agoAdded MLX5 backport for RHEL7.4
Vladimir Sokolovsky [Wed, 1 Aug 2018 22:27:41 +0000 (17:27 -0500)]
Added MLX5 backport for RHEL7.4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed compilation warnings for MLX4 on RHEL7.4
Vladimir Sokolovsky [Wed, 1 Aug 2018 22:27:24 +0000 (17:27 -0500)]
Fixed compilation warnings for MLX4 on RHEL7.4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed compilation warnings for IB core and IPoIB on RHEL7.4
Vladimir Sokolovsky [Wed, 1 Aug 2018 22:25:39 +0000 (17:25 -0500)]
Fixed compilation warnings for IB core and IPoIB on RHEL7.4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoqed*: Fixes and features for qed that have been commited prior 4.17
Michal Kalderon [Sun, 22 Jul 2018 18:23:45 +0000 (21:23 +0300)]
qed*: Fixes and features for qed that have been commited prior 4.17

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
5 years agoAdded MLX4 support for RHEL7.4
Vladimir Sokolovsky [Fri, 27 Jul 2018 19:43:05 +0000 (14:43 -0500)]
Added MLX4 support for RHEL7.4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded IB core support for RHEL7.4
Vladimir Sokolovsky [Fri, 27 Jul 2018 18:15:30 +0000 (13:15 -0500)]
Added IB core support for RHEL7.4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed mlx4 backport for SLES15
Vladimir Sokolovsky [Thu, 26 Jul 2018 21:00:31 +0000 (16:00 -0500)]
Fixed mlx4 backport for SLES15

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agogen-compat-config.sh: define COMPAT_CONFIG_KERNEL macros up to 4.17
Vladimir Sokolovsky [Thu, 26 Jul 2018 19:31:06 +0000 (15:31 -0400)]
gen-compat-config.sh: define COMPAT_CONFIG_KERNEL macros up to 4.17

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agosrp: Added backport for RHEL7.5
Vladimir Sokolovsky [Thu, 26 Jul 2018 19:11:13 +0000 (14:11 -0500)]
srp: Added backport for RHEL7.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agomlxfs: Fixed compilation warning
Vladimir Sokolovsky [Thu, 26 Jul 2018 19:03:15 +0000 (14:03 -0500)]
mlxfs: Fixed compilation warning

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agomlx5: Fixed compilation warning
Vladimir Sokolovsky [Thu, 26 Jul 2018 19:02:16 +0000 (14:02 -0500)]
mlx5: Fixed compilation warning

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoBACKPORTS: Use register_netdevice_notifier from compat's netdevice.h
Vladimir Sokolovsky [Mon, 23 Jul 2018 19:39:16 +0000 (14:39 -0500)]
BACKPORTS: Use register_netdevice_notifier from compat's netdevice.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed IPoIB backport on RHEL7.5
Vladimir Sokolovsky [Fri, 20 Jul 2018 20:53:21 +0000 (15:53 -0500)]
Fixed IPoIB backport on RHEL7.5

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoib_core: Use RHEL's [un]register_netdevice_notifier_rh on RHEL7.x
Vladimir Sokolovsky [Fri, 20 Jul 2018 19:31:35 +0000 (14:31 -0500)]
ib_core: Use RHEL's [un]register_netdevice_notifier_rh on RHEL7.x

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agomlx4: Added RHEL7.5 support
Vladimir Sokolovsky [Tue, 17 Jul 2018 18:58:26 +0000 (13:58 -0500)]
mlx4: Added RHEL7.5 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfigure|Makefile: Added mlxfw module support
Vladimir Sokolovsky [Tue, 17 Jul 2018 20:20:51 +0000 (15:20 -0500)]
configure|Makefile: Added mlxfw module support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agomlx5: Added RHEL7.5 support
Vladimir Sokolovsky [Tue, 26 Jun 2018 22:00:23 +0000 (17:00 -0500)]
mlx5: Added RHEL7.5 support

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMerge branch 'master' of https://github.com/arjunvynipadath/compat-rdma
Vladimir Sokolovsky [Fri, 13 Jul 2018 14:05:02 +0000 (09:05 -0500)]
Merge branch 'master' of https://github.com/arjunvynipadath/compat-rdma

6 years agoMerge branch 'master' of https://github.com/selvintxavier/compat-rdma
Vladimir Sokolovsky [Fri, 13 Jul 2018 14:00:06 +0000 (09:00 -0500)]
Merge branch 'master' of https://github.com/selvintxavier/compat-rdma

6 years agobnxt_en: Fix the bnxt_en backport
Selvin Xavier [Wed, 11 Jul 2018 09:17:20 +0000 (02:17 -0700)]
bnxt_en: Fix the bnxt_en backport

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
6 years agocxgb4: Use pci_set_vpd_size() for kernels < 4.16
Arjun Vynipadath [Wed, 11 Jul 2018 06:26:08 +0000 (11:56 +0530)]
cxgb4: Use pci_set_vpd_size() for kernels < 4.16

- Fixes adapter initialization issues when using OFED-4.17 on lower kernels(< 4.16).

6 years agoBundle 1.19.1.0 firmware for Chelsio T4/T5/T6 adapters
Arjun Vynipadath [Wed, 11 Jul 2018 06:24:37 +0000 (11:54 +0530)]
Bundle 1.19.1.0 firmware for Chelsio T4/T5/T6 adapters

6 years agoAdded RHEL7.5 support for cxgb4 and iw_cxgb4
Arjun Vynipadath [Wed, 11 Jul 2018 06:24:01 +0000 (11:54 +0530)]
Added RHEL7.5 support for cxgb4 and iw_cxgb4

6 years agoAdded RHEL7.5 support for cxgb3 and iw_cxgb3
Arjun Vynipadath [Wed, 11 Jul 2018 06:23:03 +0000 (11:53 +0530)]
Added RHEL7.5 support for cxgb3 and iw_cxgb3

6 years agoib_core: Fix NULL pointer dereference while registering netdevice
Arjun Vynipadath [Wed, 11 Jul 2018 05:32:18 +0000 (11:02 +0530)]
ib_core: Fix NULL pointer dereference while registering netdevice

Fixes the below NULL pointer dereference seen when loading ib_core

BUG: unable to handle kernel paging request at 0000000000007130
IP: [<ffffffffc0bca438>] netdevice_event+0x48/0x380 [ib_core]
PGD 800000009b5c4067 PUD d2f03067 PMD 0
Oops: 0000 [#1] SMP
Modules linked in: ib_core(OE+) macsec vsock_diag vsock sctp_diag sctp tcp_diag udp_diag inet_diag unix_diag af_packet_diag netlink_diag binfmt_misc xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter devlink sunrpc csiostor cxgb3(OE) intel_powerclamp coretemp kvm_intel kvm irqbypass mdio gpio_ich compat(OE) iTCO_wdt iTCO_vendor_support scsi_transport_fc ppdev sg pcspkr scsi_tgt i2c_i801 lpc_ich tpm_infineon parport_pc parport i7core_edac ioatdma shpchp dca acpi_cpufreq ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_common mgag200 i2c_algo_bit drm_kms_helper
 syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_generic pata_acpi drm ata_piix libata crc32c_intel e1000e mptsas serio_raw scsi_transport_sas mptscsih i2c_core mptbase ptp pps_core floppy dm_mirror dm_region_hash dm_log dm_mod [last unloaded: cxgb4]
CPU: 2 PID: 7402 Comm: insmod Kdump: loaded Tainted: G          IOE  ------------   3.10.0-862.el7.x86_64 #1
Hardware name: Supermicro X8ST3/X8ST3, BIOS 2.0        07/29/10
task: ffff8a598b5d0fd0 ti: ffff8a59cedc0000 task.ti: ffff8a59cedc0000
RIP: 0010:[<ffffffffc0bca438>]  [<ffffffffc0bca438>] netdevice_event+0x48/0x380 [ib_core]
RSP: 0018:ffff8a59cedc3c18  EFLAGS: 00010246
RAX: 0000000000000045 RBX: 0000000000006f6c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8a5a1f293938 RDI: ffff8a5a1f293938
RBP: ffff8a59cedc3c98 R08: 000000000000000a R09: 0000000000000000
R10: 0000000000000494 R11: ffff8a59cedc3916 R12: ffff8a5a1cfef000
R13: 0000000000000005 R14: 0000000000000000 R15: ffffffffa22fc9c8
FS:  00007fe58c4f2740(0000) GS:ffff8a5a1f280000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000007130 CR3: 00000000d04ba000 CR4: 00000000000007e0
Call Trace:
 [<ffffffffc0bca3f0>] ? is_eth_port_inactive_slave+0x40/0x40 [ib_core]
 [<ffffffffa1be5cd8>] __register_netdevice_notifier+0xa8/0x200
 [<ffffffffc0bf9000>] ? 0xffffffffc0bf8fff
 [<ffffffffa1be5e43>] register_netdevice_notifier+0x13/0x20
 [<ffffffffc0bf9261>] roce_gid_mgmt_init+0x51/0x5c [ib_core]
 [<ffffffffc0bf9192>] ib_cache_setup+0x9/0xb [ib_core]
 [<ffffffffc0bf913f>] __init_backport+0x13f/0x189 [ib_core]
 [<ffffffffa160210a>] do_one_initcall+0xba/0x240
 [<ffffffffa170f5ac>] load_module+0x272c/0x2bc0
 [<ffffffffa19767a0>] ? ddebug_proc_write+0xf0/0xf0
 [<ffffffffa170b1e3>] ? copy_module_from_fd.isra.43+0x53/0x150
 [<ffffffffa170fbf6>] SyS_finit_module+0xa6/0xd0
 [<ffffffffa1d1f7d5>] system_call_fastpath+0x1c/0x21
 [<ffffffffa1d1f721>] ? system_call_after_swapgs+0xae/0x146
Code: 89 e6 53 48 83 ec 68 48 8b 1a 65 48 8b 04 25 28 00 00 00 48 89 45 e0 31 c0 48 89 da f3 48 ab 48 c7 c7 70 37 be c0 e8 69 d7 13 e1 <66> 83 bb c4 01 00 00 01 74 26 31 c0 48 8b 5d e0 65 48 33 1c 25
RIP  [<ffffffffc0bca438>] netdevice_event+0x48/0x380 [ib_core]
 RSP <ffff8a59cedc3c18>
CR2: 0000000000007130

6 years agoqed*: Add new OOO configuration
Michal Kalderon [Sun, 8 Jul 2018 17:27:34 +0000 (20:27 +0300)]
qed*: Add new OOO configuration

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
6 years agoAdded RHEL7.5 support for qedr
Michal Kalderon [Sun, 8 Jul 2018 17:08:37 +0000 (20:08 +0300)]
Added RHEL7.5 support for qedr

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
6 years agoAdded RHEL7.5 support for qede
Michal Kalderon [Sun, 8 Jul 2018 17:08:36 +0000 (20:08 +0300)]
Added RHEL7.5 support for qede

Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
6 years agoBACKPORT qed: Fix copying 2 strings
Michal Kalderon [Sun, 8 Jul 2018 17:08:35 +0000 (20:08 +0300)]
BACKPORT qed: Fix copying 2 strings

The strscpy() was a recent fix (net: qed: use correct strncpy() size) to
prevent passing the length of the source buffer to strncpy() and guarantee
null termination.
It misses the goal of overwriting only the first 3 characters in
"???_BIG_RAM" and "???_RAM" while keeping the rest of the string.
Use strncpy() with the length of 3, without null termination.

Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com>
Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com>
6 years agobnxt_re: Backport for bnxt_re and bnxt_en
Selvin Xavier [Fri, 6 Jul 2018 07:38:05 +0000 (00:38 -0700)]
bnxt_re: Backport for bnxt_re and bnxt_en

Includs makefile change for bnxt_re and backport changes
for bnxt_en

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
6 years agoAdded qed firmware files
Vladimir Sokolovsky [Fri, 8 Jun 2018 22:23:46 +0000 (17:23 -0500)]
Added qed firmware files

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoconfigure: Added CONFIG_MLX5_ESWITCH default values
Vladimir Sokolovsky [Fri, 8 Jun 2018 21:55:24 +0000 (16:55 -0500)]
configure: Added CONFIG_MLX5_ESWITCH default values

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoRebased backport patches over 4.17
Vladimir Sokolovsky [Fri, 8 Jun 2018 21:46:12 +0000 (16:46 -0500)]
Rebased backport patches over 4.17

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoAdded RHEL7.5 support for ib_core and IPoIB
Vladimir Sokolovsky [Fri, 4 May 2018 21:17:24 +0000 (16:17 -0500)]
Added RHEL7.5 support for ib_core and IPoIB

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocheckout_files: Added net/sunrpc/Kconfig
Vladimir Sokolovsky [Thu, 24 May 2018 15:37:50 +0000 (10:37 -0500)]
checkout_files: Added net/sunrpc/Kconfig

Kconfig files used by the configure script to create a list of CONFIG_
macros which will help to avoid compilation of undesired subdirs.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agodrivers/scsi/Makefile: Remove unused components
Vladimir Sokolovsky [Wed, 2 May 2018 16:08:06 +0000 (11:08 -0500)]
drivers/scsi/Makefile: Remove unused components

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoscripts: Updated list of linux files to include in the package
Vladimir Sokolovsky [Mon, 30 Apr 2018 19:03:02 +0000 (14:03 -0500)]
scripts: Updated list of linux files to include in the package

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoCompile compat only if CONFIG_COMPAT_RDMA is defined
Vladimir Sokolovsky [Mon, 30 Apr 2018 17:01:13 +0000 (12:01 -0500)]
Compile compat only if CONFIG_COMPAT_RDMA is defined

This will enable to avoid compat compilation and use on the base kernel

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoconfigure: Autogenerate makefile
Vladimir Sokolovsky [Tue, 24 Apr 2018 21:25:46 +0000 (17:25 -0400)]
configure: Autogenerate makefile

Added support for '--with*' and '--without*' parameters based on kernel CONFIG_* values

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoconfigure: Removed xeon phi support
Vladimir Sokolovsky [Tue, 24 Apr 2018 14:22:50 +0000 (10:22 -0400)]
configure: Removed xeon phi support

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