compat-rdma/compat.git
4 years agocompat: Added macros and header fixes to support RHEL7.3
Vladimir Sokolovsky [Wed, 16 Nov 2016 16:25:16 +0000 (18:25 +0200)]
compat: Added macros and header fixes to support RHEL7.3

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Added macro for default_groups in configfs
Vladimir Sokolovsky [Wed, 16 Nov 2016 11:46:10 +0000 (13:46 +0200)]
rdma.m4: Added macro for default_groups in configfs

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Added macros required on RHEL7.2
Vladimir Sokolovsky [Mon, 7 Nov 2016 13:46:54 +0000 (15:46 +0200)]
rdma.m4: Added macros required on RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agocompat-4.5.h: Added skb_inner_transport_offset
Vladimir Sokolovsky [Mon, 7 Nov 2016 13:46:24 +0000 (15:46 +0200)]
compat-4.5.h: Added skb_inner_transport_offset

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: check if debugfs_create_bool() uses a bool or u32 pointer
Steve Wise [Fri, 14 Oct 2016 19:02:44 +0000 (12:02 -0700)]
rdma.m4: check if debugfs_create_bool() uses a bool or u32 pointer

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: determine arg count for string_get_size
Steve Wise [Fri, 14 Oct 2016 16:22:45 +0000 (09:22 -0700)]
rdma.m4: determine arg count for string_get_size

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: check if ethtool_drvinfo has erom_version
Steve Wise [Thu, 13 Oct 2016 20:28:45 +0000 (13:28 -0700)]
rdma.m4: check if ethtool_drvinfo has erom_version

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: check for pci_set_vpd_size()
Steve Wise [Wed, 12 Oct 2016 21:49:10 +0000 (14:49 -0700)]
rdma.m4: check for pci_set_vpd_size()

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: check for request_firmware_direct() support
Steve Wise [Wed, 12 Oct 2016 18:20:45 +0000 (11:20 -0700)]
rdma.m4: check for request_firmware_direct() support

If it is available, define HAVE_REQUEST_FIRMWARE_DIRECT.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agocompat-3.19: add debugfs_create_file_size() function
Steve Wise [Tue, 11 Oct 2016 19:18:24 +0000 (12:18 -0700)]
compat-3.19: add debugfs_create_file_size() function

Create compat/compat-3.19.c and add debugfs_create_file_size().

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: fix fib_lookup test
Vladimir Sokolovsky [Mon, 10 Oct 2016 13:09:23 +0000 (16:09 +0300)]
rdma.m4: fix fib_lookup test

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoRemoved extra definitions
Vladimir Sokolovsky [Mon, 10 Oct 2016 10:41:59 +0000 (13:41 +0300)]
Removed extra definitions

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Fixed ip_fib.h location
Vladimir Sokolovsky [Mon, 10 Oct 2016 09:23:18 +0000 (12:23 +0300)]
rdma.m4: Fixed ip_fib.h location

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Add macros to support SLES12 SP2
Vladimir Sokolovsky [Mon, 10 Oct 2016 08:16:05 +0000 (11:16 +0300)]
rdma.m4: Add macros to support SLES12 SP2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAvoid redefinitions
Vladimir Sokolovsky [Mon, 10 Oct 2016 08:15:21 +0000 (11:15 +0300)]
Avoid redefinitions

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded include/linux/netdevice.h
Vladimir Sokolovsky [Mon, 10 Oct 2016 08:14:45 +0000 (11:14 +0300)]
Added include/linux/netdevice.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdd macros for netdevice functions existence check
Vladimir Sokolovsky [Sun, 9 Oct 2016 12:03:04 +0000 (15:03 +0300)]
Add macros for netdevice functions existence check

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agobuild-linux.m4: Fail compilation test on some warnings
Vladimir Sokolovsky [Mon, 26 Sep 2016 05:41:54 +0000 (08:41 +0300)]
build-linux.m4: Fail compilation test on some warnings

Compilation warnings are filtered by config/warning_filter.sh
These warnings should be treated as errors in order to avoid false positive
definition of macros from rdma.m4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Added netdev and vxlan macros definitions
Vladimir Sokolovsky [Mon, 26 Sep 2016 05:40:41 +0000 (08:40 +0300)]
rdma.m4: Added netdev and vxlan macros definitions

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded include/linux/compat-4.5.h
Vladimir Sokolovsky [Mon, 26 Sep 2016 05:38:16 +0000 (08:38 +0300)]
Added include/linux/compat-4.5.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoAdded include/linux/dcbnl.h
Vladimir Sokolovsky [Mon, 26 Sep 2016 05:34:44 +0000 (08:34 +0300)]
Added include/linux/dcbnl.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agocompat: Added support for ib_core from kernel 4.8 on RHEL7.2
Vladimir Sokolovsky [Mon, 19 Sep 2016 13:28:18 +0000 (16:28 +0300)]
compat: Added support for ib_core from kernel 4.8 on RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agoRemoved include/linux/bitops.h
Vladimir Sokolovsky [Sun, 28 Aug 2016 14:16:18 +0000 (17:16 +0300)]
Removed include/linux/bitops.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: remove dulpications
Vladimir Sokolovsky [Sun, 28 Aug 2016 07:41:52 +0000 (10:41 +0300)]
rdma.m4: remove dulpications

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: Added test for en_ethtool_ops.get_rxfh_indir vofed-3.18-2
Vladimir Sokolovsky [Sun, 13 Mar 2016 08:55:00 +0000 (10:55 +0200)]
rdma.m4: Added test for en_ethtool_ops.get_rxfh_indir

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: fix up bonding.h include path
Potnuri Bharat Teja [Thu, 3 Mar 2016 22:22:28 +0000 (14:22 -0800)]
rdma.m4: fix up bonding.h include path

Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
4 years agordma.m4: Added check for get/set_rxfh_indir in ethtool_ops_ext
Vladimir Sokolovsky [Tue, 1 Mar 2016 07:56:25 +0000 (09:56 +0200)]
rdma.m4: Added check for get/set_rxfh_indir in ethtool_ops_ext

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
4 years agordma.m4: be2net backport for RHEL 7.2
Naga Irrinki [Mon, 15 Feb 2016 05:52:27 +0000 (11:22 +0530)]
rdma.m4: be2net backport for RHEL 7.2

Adding the defines for backporting the be2net for RH 7.2
Use HAVE_NDO_DFLT_BRIDGE_GETLINK_7_PARAMS macro

Signed-off-by: Naga Irrinki <naga.irrinki@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
4 years agocompat: Added macros and headers to support for RHEL7.2
Vladimir Sokolovsky [Sun, 3 Jan 2016 10:52:11 +0000 (12:52 +0200)]
compat: Added macros and headers to support for RHEL7.2

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoUpdated config.guess and config.sub vofed-3.18-1 vofed-3.18-1-rc1
Vladimir Sokolovsky [Tue, 1 Sep 2015 07:15:03 +0000 (10:15 +0300)]
Updated config.guess and config.sub

This is to support ppc64le architecture

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Fixed typo vofed-3.18
Vladimir Sokolovsky [Tue, 9 Jun 2015 05:41:00 +0000 (08:41 +0300)]
rdma.m4: Fixed typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat: handle function netif_set_real_num_rx_queues correctly
Erez Shitrit [Mon, 8 Jun 2015 08:17:08 +0000 (11:17 +0300)]
compat: handle function netif_set_real_num_rx_queues correctly

In few distros (RH6.6 for example) there is already the implementation
for netif_set_real_num_rx_queues function, so check if exists otherwise
use the backport and return 0 for doing nothing.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat: PTR_RET is backported in RHEL6.7
Vladimir Sokolovsky [Mon, 25 May 2015 09:53:15 +0000 (12:53 +0300)]
compat: PTR_RET is backported in RHEL6.7

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat: Mask seq_user_ns as RHEL6.7 backports it
Vladimir Sokolovsky [Mon, 25 May 2015 09:48:32 +0000 (12:48 +0300)]
compat: Mask seq_user_ns as RHEL6.7 backports it

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Update pci_bus_speed/width test
Vladimir Sokolovsky [Mon, 25 May 2015 08:56:48 +0000 (11:56 +0300)]
rdma.m4: Update pci_bus_speed/width test

In RHEL6.7 its definition moved into linux/pci_hotplug.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoMask proto_ports_offset if defined in kernel
Vladimir Sokolovsky [Mon, 25 May 2015 07:36:03 +0000 (10:36 +0300)]
Mask proto_ports_offset if defined in kernel

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat/3.9: switch to check pick_tx and set_xps_queue with compat-config
Vladimir Sokolovsky [Thu, 21 May 2015 13:03:03 +0000 (16:03 +0300)]
compat/3.9: switch to check pick_tx and set_xps_queue with compat-config

instead of using the Linux kernel version of 3.9.
Redhat6.5 for example, would call to those function, but it has them
inside the kernel.

Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat/compat-3.5.c: Fixed double lock in dev_mc_add_excl
Vladimir Sokolovsky [Thu, 21 May 2015 13:01:05 +0000 (16:01 +0300)]
compat/compat-3.5.c: Fixed double lock in dev_mc_add_excl

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.7.h: Cleanup
Vladimir Sokolovsky [Thu, 21 May 2015 12:57:40 +0000 (15:57 +0300)]
compat-3.7.h: Cleanup

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.6.h: Cleanup
Vladimir Sokolovsky [Thu, 21 May 2015 12:53:25 +0000 (15:53 +0300)]
compat-3.6.h: Cleanup

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.2.h: Avoid module_platform_driver redefinition
Vladimir Sokolovsky [Thu, 21 May 2015 12:52:04 +0000 (15:52 +0300)]
compat-3.2.h: Avoid module_platform_driver redefinition

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.1.h: Avoid ip_is_fragment redefinition
Vladimir Sokolovsky [Thu, 21 May 2015 12:51:36 +0000 (15:51 +0300)]
compat-3.1.h: Avoid ip_is_fragment redefinition

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoOFED/compat: modify rdma.m4 to fix ofed-bz2539
Devesh Sharma [Mon, 18 May 2015 17:08:06 +0000 (22:38 +0530)]
OFED/compat: modify rdma.m4 to fix ofed-bz2539

patch is to check vlan_insert_tag_set_proto, a recent rename of __valn_put_tag()
function in kernel.

Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com>
5 years agocompat: export symbol elfcorehdr_addr if it is not exported by the kernel
Vladimir Sokolovsky [Tue, 28 Apr 2015 11:21:06 +0000 (14:21 +0300)]
compat: export symbol elfcorehdr_addr if it is not exported by the kernel

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

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.16: Mask cpumask_set_cpu_local_first as RHEL7.1 backports this symbol
Vladimir Sokolovsky [Wed, 15 Apr 2015 05:52:53 +0000 (08:52 +0300)]
compat-3.16: Mask cpumask_set_cpu_local_first as RHEL7.1 backports this symbol

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

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat/compat-2.6.36.c: Fix infinite recursion in flush_scheduled_work
Alaa Hleihel [Mon, 6 Apr 2015 13:22:49 +0000 (16:22 +0300)]
compat/compat-2.6.36.c: Fix infinite recursion in flush_scheduled_work

issue: 532623
Change-Id: I20a2d78132e06cda8465a0b0c5a7149b8d79e8d4
Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
5 years agoRemoved include/linux/compat-3.17.h
Vladimir Sokolovsky [Wed, 1 Apr 2015 19:11:52 +0000 (22:11 +0300)]
Removed include/linux/compat-3.17.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded checks required to support RHEL7.1
Vladimir Sokolovsky [Wed, 1 Apr 2015 18:45:44 +0000 (21:45 +0300)]
Added checks required to support RHEL7.1

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Fixing and adding defines for be2net driver backport
Selvin Xavier [Tue, 24 Mar 2015 11:22:05 +0000 (16:52 +0530)]
rdma.m4: Fixing and adding defines for be2net driver backport

Correcting HAVE_NDO_RX_ADD_VID_HAS_3_PARAMS used by be2net driver.
Also, add rule to define  HAVE_DMA_SET_MASK_AND_COHERENT for
dma_set_mask_and_coherent.

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
5 years agocompat: determine if reinit_completion() is present
Mike Marciniszyn [Wed, 4 Mar 2015 16:57:49 +0000 (11:57 -0500)]
compat: determine if reinit_completion() is present

Use HAVE_REINIT_COMPLETION to avoid duplicate definition.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agocompat: add smp_mb__before_clear_bit as necessary
Mike Marciniszyn [Wed, 4 Mar 2015 16:37:59 +0000 (11:37 -0500)]
compat: add smp_mb__before_clear_bit as necessary

RHEL7.1 no longer has the above macro in <asm/bitops.h>.

Add it in the compat version of <linux/bitops> as if
<asm/bitops.h> had provided it.

This really include probably needs to be reworked using
the autoconf stuff.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agoCorrect HAVE_PCI_DEV_PCIE_MPSS spelling
Mike Marciniszyn [Wed, 4 Mar 2015 17:30:44 +0000 (12:30 -0500)]
Correct HAVE_PCI_DEV_PCIE_MPSS spelling

Commit fef932831471 ("autoconf options for qib driver for RHEL 6.6)
introduced a build warning because of a spelling error.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agoMerge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compa...
Vladimir Sokolovsky [Wed, 4 Mar 2015 11:36:16 +0000 (13:36 +0200)]
Merge branch 'qib_318_backport' of git://openfabrics.org/~mmarciniszyn/new_ofed/compat into ofed

5 years agocompat-2.6.h: Remove unused headers
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:48:58 +0000 (11:48 +0200)]
compat-2.6.h: Remove unused headers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-2.6.29.h: Avoid include on kernels > 2.6.29
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:34:01 +0000 (11:34 +0200)]
compat-2.6.29.h: Avoid include on kernels > 2.6.29

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-2.6.h: include generated config.h
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:15:29 +0000 (11:15 +0200)]
compat-2.6.h: include generated config.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfig/build-linux.m4: Fix typo
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:10:58 +0000 (11:10 +0200)]
config/build-linux.m4: Fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFix typos in rdma.m4
Vladimir Sokolovsky [Wed, 4 Mar 2015 09:06:17 +0000 (11:06 +0200)]
Fix typos in rdma.m4

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoProvides backporting of qib driver for RHEL 6.5
Vinit Agnihotri [Thu, 29 Jan 2015 07:09:41 +0000 (23:09 -0800)]
Provides backporting of qib driver for RHEL 6.5

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
5 years agoautoconf options for qib driver for RHEL 6.6
Vinit Agnihotri [Tue, 27 Jan 2015 08:35:09 +0000 (00:35 -0800)]
autoconf options for qib driver for RHEL 6.6

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
5 years agoAdding defines for backporting be2net and ocrdma.
Mitesh Ahuja [Thu, 12 Feb 2015 09:44:08 +0000 (01:44 -0800)]
Adding defines for backporting be2net and ocrdma.

Added HAVE_ETHTOOL_OPS_SET_DUMP, HAVE_ETHTOOL_OPS_GET_MODULE_INFO,
HAVE_ETHTOOL_OPS_GET_MODULE_EEPROM, HAVE_NETDEV_DEV_ADDR,
HAVE_INETADDR_IF_NEXT, HAVE_IDR_NEW_INTERFACE

5 years agocompat: Fix autoconf probe for pcie_mpss
Vinit Agnihotri [Thu, 15 Jan 2015 14:21:03 +0000 (09:21 -0500)]
compat: Fix autoconf probe for pcie_mpss

Configure script prints compilation error while
configuring for pcie_mpss:

compat/build/conftest.c:72:7: error: invalid type...
pdev->pcie_mpss = 0;

The qib driver counts on this probe being correct.

bug: 2518

Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
5 years agocompat-2.6.h: Added missing include
Vladimir Sokolovsky [Thu, 15 Jan 2015 08:33:35 +0000 (10:33 +0200)]
compat-2.6.h: Added missing include

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdd new rules for cxgb4/RHEL6.6
Steve Wise [Wed, 14 Jan 2015 23:42:26 +0000 (17:42 -0600)]
Add new rules for cxgb4/RHEL6.6

Add HAVE_MM_TYPES_PAGE_FRAG check
Add HAVE___VLAN_FIND_DEV_DEV check

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agocompat-2.6.33.h: Removed IFF_DONT_BRIDGE to avoid redefinition warning
Vladimir Sokolovsky [Tue, 13 Jan 2015 13:31:22 +0000 (15:31 +0200)]
compat-2.6.33.h: Removed IFF_DONT_BRIDGE to avoid redefinition warning

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded kvfree backport
Vladimir Sokolovsky [Tue, 13 Jan 2015 13:03:00 +0000 (15:03 +0200)]
Added kvfree backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdd AC rules and macros for Chelsio backports
Steve Wise [Thu, 8 Jan 2015 20:52:33 +0000 (14:52 -0600)]
Add AC rules and macros for Chelsio backports

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agoAdd PCI_EXP_LNKCTL_ASPM_L0S define
Steve Wise [Wed, 7 Jan 2015 19:51:22 +0000 (13:51 -0600)]
Add PCI_EXP_LNKCTL_ASPM_L0S define

Used by cxgb3 backport.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
5 years agoconfig/rdma.m4: Fixed typos
Vladimir Sokolovsky [Wed, 7 Jan 2015 16:16:22 +0000 (18:16 +0200)]
config/rdma.m4: Fixed typos

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoconfig/rdma.m4: Fixed definition HAVE_ISCSI_SCSI_REQ
Vladimir Sokolovsky [Wed, 7 Jan 2015 15:52:40 +0000 (17:52 +0200)]
config/rdma.m4: Fixed definition HAVE_ISCSI_SCSI_REQ

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded HAVE_REQUEST_QUEUE_REQUEST_FN_ACTIVE macro
Vladimir Sokolovsky [Wed, 7 Jan 2015 15:03:24 +0000 (17:03 +0200)]
Added HAVE_REQUEST_QUEUE_REQUEST_FN_ACTIVE macro

Used by SRP backport

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: Added iSER checkers
Vladimir Sokolovsky [Wed, 7 Jan 2015 12:33:38 +0000 (14:33 +0200)]
rdma.m4: Added iSER checkers

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoFixed netlink_dump_start backport
Vladimir Sokolovsky [Mon, 5 Jan 2015 17:42:28 +0000 (19:42 +0200)]
Fixed netlink_dump_start backport

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

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agordma.m4: fix typo
Vladimir Sokolovsky [Tue, 16 Dec 2014 16:49:22 +0000 (18:49 +0200)]
rdma.m4: fix typo

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdded staff to support RHEL6.x
Vladimir Sokolovsky [Sun, 14 Dec 2014 11:12:50 +0000 (13:12 +0200)]
Added staff to support RHEL6.x

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat: Added HAVE_PCI_DEV_PCIE_MPSS macro
Vladimir Sokolovsky [Tue, 9 Dec 2014 17:05:17 +0000 (19:05 +0200)]
compat: Added HAVE_PCI_DEV_PCIE_MPSS macro

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agocompat-3.16.h: Removed #include <asm/barrier.h>
Vladimir Sokolovsky [Tue, 9 Dec 2014 17:04:02 +0000 (19:04 +0200)]
compat-3.16.h: Removed #include <asm/barrier.h>

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
5 years agoAdding defines for backporting be2net
Selvin Xavier [Sat, 6 Dec 2014 04:08:56 +0000 (09:38 +0530)]
Adding defines for backporting be2net

Added HAVE_U64_STATS_SYNC, HAVE_U64_STATS_FETCH_BEGIN_IRQ,
HAVE_ETHER_ADDR_COPY, HAVE_SET_VF_RATE, HAVE_NET_DEVICE_PRIV_FLAGS,
HAVE_NDO_GET_STATS64, HAVE_NDO_BRIDGE_SET_GET_LINK,
HAVE_NDO_RX_ADD_VID_HAS_3_PARAMS, HAVE_RETURN_INT_FOR_SET_NUM_TX_QUEUES,
HAVE_SET_PHYS_ID, HAVE_GET_SET_CHANNELS, HAVE_NETDEV_HW_ADDR,
HAVE_PCI_VF_ASSIGNED, HAVE_3_PARAMS_FOR_VLAN_HWACCEL_PUT_TAG,
HAVE_NETDEV_HW_FEATURES, HAVE_VLAN_HWACCEL_RECEIVE_SKB

Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
6 years agoAdd HAVE_BOND_FOR_EACH_SLAVE_3_PARAMS check
Steve Wise [Thu, 20 Nov 2014 22:27:47 +0000 (16:27 -0600)]
Add HAVE_BOND_FOR_EACH_SLAVE_3_PARAMS check

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdd PCI_EXP_LNKSTA_CLS_8_0GB
Steve Wise [Wed, 19 Nov 2014 22:41:00 +0000 (16:41 -0600)]
Add PCI_EXP_LNKSTA_CLS_8_0GB

Add a compat-3.14.h to define PCI_EXP_LNKSTA_CLS_8_0GB if undefined.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded NDO_SELECT_QUEUE_HAS_ACCEL_PRIV and HAVE_BONDING_H
Steve Wise [Tue, 18 Nov 2014 13:26:39 +0000 (07:26 -0600)]
Added NDO_SELECT_QUEUE_HAS_ACCEL_PRIV and HAVE_BONDING_H

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdd check for __vlan_find_dev_deep_rcu
Steve Wise [Mon, 17 Nov 2014 16:39:23 +0000 (10:39 -0600)]
Add check for __vlan_find_dev_deep_rcu

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
6 years agoAdded pcie_get_mps/pcie_set_mps
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:50:03 +0000 (14:50 +0200)]
Added pcie_get_mps/pcie_set_mps

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat-3.12.h: Added pcie_link_speed declaration
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:46:04 +0000 (14:46 +0200)]
compat-3.12.h: Added pcie_link_speed declaration

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoUse HAVE_PCIE_LINK_WIDTH
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:31:20 +0000 (14:31 +0200)]
Use HAVE_PCIE_LINK_WIDTH

This is to avoid redefinition of 'enum pcie_link_width' on OSes that
backport this enum.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMove pci_bus_speed enum to compat-2.6.34.h
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:28:16 +0000 (14:28 +0200)]
Move pci_bus_speed enum to compat-2.6.34.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoMerge branch 'ofed' of git://flatbed.openfabrics.org/~tnikolova/compat/ into ofed
Vladimir Sokolovsky [Wed, 5 Nov 2014 12:07:45 +0000 (14:07 +0200)]
Merge branch 'ofed' of git://flatbed.openfabrics.org/~tnikolova/compat/ into ofed

Conflicts:
include/linux/compat-3.12.h

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Fixed pcie_get_minimum_link declaration
Vladimir Sokolovsky [Mon, 3 Nov 2014 15:17:27 +0000 (17:17 +0200)]
compat: Fixed pcie_get_minimum_link declaration

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agordma.m4: Added macros to support SLES12
Vladimir Sokolovsky [Sun, 2 Nov 2014 19:06:31 +0000 (21:06 +0200)]
rdma.m4: Added macros to support SLES12

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agobuild-linux.m4: Fixed kconfig.h path
Vladimir Sokolovsky [Sun, 2 Nov 2014 17:47:14 +0000 (19:47 +0200)]
build-linux.m4: Fixed kconfig.h path

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoSubject: [PATCH] Adding missing enums from linux/pci.h
Tatyana E. Nikolova [Thu, 30 Oct 2014 21:44:18 +0000 (14:44 -0700)]
Subject: [PATCH] Adding missing enums from linux/pci.h

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
6 years agoAdded support for linux-3.18
Vladimir Sokolovsky [Mon, 27 Oct 2014 16:24:35 +0000 (18:24 +0200)]
Added support for linux-3.18

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoAdded autotools environment
Vladimir Sokolovsky [Mon, 27 Oct 2014 15:15:13 +0000 (17:15 +0200)]
Added autotools environment

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Avoid kthread compilation on kernels that include kthread ofed_3_12_1 vofed-3.12-1-rc3
Vladimir Sokolovsky [Mon, 29 Sep 2014 12:00:16 +0000 (15:00 +0300)]
compat: Avoid kthread compilation on kernels that include kthread

This is required to support RHEL6.6

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.
Alaa Hleihel [Sun, 28 Sep 2014 09:02:19 +0000 (12:02 +0300)]
compat: Prevent redefining ETH_FLAG_TXVLAN/ETH_FLAG_RXVLAN.

Signed-off-by: Alaa Hleihel <alaa@mellanox.com>
6 years agoRevert "Removed kthread stuff"
Vladimir Sokolovsky [Mon, 29 Sep 2014 09:58:49 +0000 (12:58 +0300)]
Revert "Removed kthread stuff"

This reverts commit e52f6ee8adc16ec6b702c4457fd84b164ba25aec.

6 years agoRemoved kthread stuff
Vladimir Sokolovsky [Mon, 18 Aug 2014 16:42:46 +0000 (19:42 +0300)]
Removed kthread stuff

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agoRemoved support for special power management features
Vladimir Sokolovsky [Mon, 18 Aug 2014 14:34:56 +0000 (17:34 +0300)]
Removed support for special power management features

These features are not used by OFED components.

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
6 years agocompat: Remove unused include/linux/tracepoint.h
Vladimir Sokolovsky [Mon, 4 Aug 2014 14:36:36 +0000 (17:36 +0300)]
compat: Remove unused include/linux/tracepoint.h

This header came from the community compat and is not used by MLNX_OFED
modules. It prevents from Lustre 2.5.x to be compiled.
See https://jira.hpdd.intel.com/browse/LU-4266

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