]>
git.openfabrics.org - compat-rdma/compat.git/log
Vladimir Sokolovsky [Tue, 17 Jul 2018 18:42:51 +0000 (13:42 -0500)]
Added macros and headers required by MLX4/5 drivers on RHEL7.5
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Fri, 13 Jul 2018 14:06:12 +0000 (09:06 -0500)]
Merge branch 'ofed' of https://github.com/arjunvynipadath/compat into ofed
Arjun Vynipadath [Mon, 25 Jun 2018 07:32:02 +0000 (13:02 +0530)]
rdma.m4: Added compat headers for cxgb3/iw_cxgb3/cxgb4/iw_cxgb4
Vladimir Sokolovsky [Fri, 6 Jul 2018 16:38:53 +0000 (11:38 -0500)]
Added missing part of HAVE_XDP_RXQ_INFO macro
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Somnath Kotur [Fri, 6 Jul 2018 06:17:55 +0000 (23:17 -0700)]
OFED-4.17: Add config defines for bnxt_en compilation
Adds config defines HAVE_XDP_RXQ_INFO, HAVE_TC_SETUP_BLOCK,
HAVE_NET_DIM_H, HAVE_TIME64_TO_TM
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Vladimir Sokolovsky [Fri, 8 Jun 2018 14:37:56 +0000 (09:37 -0500)]
Added compat headers required by Mellanox drivers and IPoIB
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Fri, 8 Jun 2018 14:00:58 +0000 (09:00 -0500)]
rdma.m4: Added macros to support RHEL7.5
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Fri, 8 Jun 2018 14:00:32 +0000 (09:00 -0500)]
config/build-linux.m4: Updated gcc parameters
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Fri, 4 May 2018 21:20:05 +0000 (16:20 -0500)]
ib_core: Added RHEL7.5 support
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 30 Apr 2018 16:59:12 +0000 (11:59 -0500)]
compat-2.6.h: Use compat only if CONFIG_COMPAT_RDMA defined
This will enable to avoid using compat on the base kernel
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 23 Apr 2018 22:20:57 +0000 (18:20 -0400)]
compat: Cleanup for OFED-4.17
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Steve Wise [Fri, 19 Jan 2018 19:59:12 +0000 (11:59 -0800)]
cxgb4: add m4 check for net_device.max_mtu
If max_mtu is part of struct net_device, then define
HAVE_NET_DEVICE_MAX_MTU.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Vladimir Sokolovsky [Thu, 11 Jan 2018 19:50:19 +0000 (13:50 -0600)]
Removed HAVE_GET_USER_PAGES_6_PARAMS
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Tue, 5 Dec 2017 16:22:27 +0000 (18:22 +0200)]
rdma.m4: Added macros to support SLES12SP3
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 4 Dec 2017 15:47:00 +0000 (17:47 +0200)]
rdma.m4: Added macros to support RHEL7.4
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 4 Dec 2017 15:46:33 +0000 (17:46 +0200)]
compat-3.11.h: Mask sg_copy_buffer as it defined in RHEL7.4
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 4 Dec 2017 15:41:05 +0000 (17:41 +0200)]
linux/timekeeping.h: Remove wrong comment
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Selvin Xavier [Mon, 4 Sep 2017 09:26:51 +0000 (02:26 -0700)]
copact: Adding compat for pci_is_bridge
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Jeff Becker [Fri, 1 Sep 2017 20:35:23 +0000 (13:35 -0700)]
NFS/RDMA backport: check if kernel exports xprt_put symbol.
Signed-off-by: Jeff Becker <Jeffrey.C.Becker@nasa.gov>
Ram Amrani [Sun, 30 Apr 2017 13:00:00 +0000 (16:00 +0300)]
Add PCI atomic operations registers
Add PCI atomic operations registers:
- PCI_EXP_DEVCAP2_ATOMIC_COMP64
- PCI_EXP_DEVCAP2_ATOMIC_ROUTE
- PCI_EXP_DEVCTL2_ATOMIC_REQ
Vladimir Sokolovsky [Wed, 17 May 2017 15:30:46 +0000 (18:30 +0300)]
Cleanup auto-generated defines
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Wed, 19 Apr 2017 12:54:43 +0000 (15:54 +0300)]
prio.h: Fixed typo
issue: http://bugs.openfabrics.org/show_bug.cgi?id=2621
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 16 Mar 2017 12:05:24 +0000 (14:05 +0200)]
compat-3.12.h: Fixed typo
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Tatyana Nikolova [Wed, 22 Feb 2017 05:33:33 +0000 (21:33 -0800)]
compat/nes: Adding pci_zalloc_consistent backport
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Potnuri Bharat Teja [Tue, 14 Feb 2017 14:46:44 +0000 (20:16 +0530)]
compat: Compat file changes for rhel and sles
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Potnuri Bharat Teja [Thu, 9 Feb 2017 11:46:03 +0000 (17:16 +0530)]
compat/cxgb4: Support for RHEL 7.0 in rdma.m4
Check if idr_is_empty() is defined.
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Potnuri Bharat Teja [Wed, 8 Feb 2017 10:25:53 +0000 (15:55 +0530)]
compat/cxgb4: Support for SLES 12 SP1 in rdma.m4
Check if skb_vlan_tagged() is defined.
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Vladimir Sokolovsky [Sun, 12 Feb 2017 09:34:18 +0000 (11:34 +0200)]
compat: Identify existence of netdev_notifier_info_to_dev
Instead of saying that all kernels under 3.11.0 don't have
implementation of netdev_notifier_info_to_dev() check it specifically.
Otherwise, the 3rd argument to notifier call will be handled in a wrong
way.
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 19 Jan 2017 15:13:17 +0000 (17:13 +0200)]
Merge branch 'for_vlad' of ssh://openfabrics.org:1010/home/pschulfer/compat into ofed
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 19 Jan 2017 11:32:15 +0000 (13:32 +0200)]
Added include/scsi/scsi.h
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 19 Jan 2017 11:05:14 +0000 (13:05 +0200)]
Added macros for ISER and SRP
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Pawel Schulfer [Tue, 17 Jan 2017 14:36:27 +0000 (06:36 -0800)]
Support rdmavt on RHEL7.2 and SLES12 in OFED-4.8
Changes included in this patch:
1) Check for MIN_NICE in prio.h
Signed-off-by: Pawel Schulfer <pawel.schulfer@intel.com>
Vladimir Sokolovsky [Mon, 16 Jan 2017 08:23:19 +0000 (10:23 +0200)]
compat: Added headers and macros to support RHEL7.0
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Tue, 13 Dec 2016 07:11:04 +0000 (09:11 +0200)]
rdma.m4: Remove redundant macro HAVE_HW_FLOWER_OFFLOAD_SUPPORT
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Mon, 12 Dec 2016 08:25:19 +0000 (10:25 +0200)]
compat: Added macros and headers to support RHEL7.1
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Pawel Schulfer [Tue, 6 Dec 2016 21:15:00 +0000 (13:15 -0800)]
Support RHEL7.2 and SLES12SP1 for QIB in OFED-4.8
Changes included in this patch:
1) Check for write_iter in file_operations structure
2) Check for inode_lock function in fs.h
3) Check for simple_positive function in dcache.h
4) Check for __GFP_RECLAIM in gfp.h
Signed-off-by: Pawel Schulfer <pawel.schulfer@intel.com>
Vladimir Sokolovsky [Mon, 5 Dec 2016 16:27:42 +0000 (18:27 +0200)]
Added macros required for IB_SRP backport
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 1 Dec 2016 15:47:11 +0000 (17:47 +0200)]
Added macro HAVE_NETDEV_NOTIFIER_CHANGEUPPER_INFO
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Thu, 1 Dec 2016 12:24:43 +0000 (14:24 +0200)]
compat: Added support for SLES12 SP1
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
Vladimir Sokolovsky [Sun, 20 Nov 2016 10:41:48 +0000 (12:41 +0200)]
rdma.m4: Added macros to support SLES12 SP2
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Vladimir Sokolovsky [Mon, 10 Oct 2016 10:41:59 +0000 (13:41 +0300)]
Removed extra definitions
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
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>
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>
Vladimir Sokolovsky [Mon, 10 Oct 2016 08:15:21 +0000 (11:15 +0300)]
Avoid redefinitions
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>