projects/linux·commit 048ccca8

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma

048ccca8 · Linus Torvalds <[email protected]> · 2016-01-23 18:45:06 -08:00

Pull rdma updates from Doug Ledford:
 "Initial roundup of 4.5 merge window patches

   - Remove usage of ib_query_device and instead store attributes in
     ib_device struct

   - Move iopoll out of block and into lib, rename to irqpoll, and use
     in several places in the rdma stack as our new completion queue
     polling library mechanism.  Update the other block drivers that
     already used iopoll to use the new mechanism too.

   - Replace the per-entry GID table locks with a single GID table lock

   - IPoIB multicast cleanup

   - Cleanups to the IB MR facility

   - Add support for 64bit extended IB counters

   - Fix for netlink oops while parsing RDMA nl messages

   - RoCEv2 support for the core IB code

   - mlx4 RoCEv2 support

   - mlx5 RoCEv2 support

   - Cross Channel support for mlx5

   - Timestamp support for mlx5

   - Atomic support for mlx5

   - Raw QP support for mlx5

   - MAINTAINERS update for mlx4/mlx5

   - Misc ocrdma, qib, nes, usNIC, cxgb3, cxgb4, mlx4, mlx5 updates

   - Add support for remote invalidate to the iSER driver (pushed
     through the RDMA tree due to dependencies, acknowledged by nab)

   - Update to NFSoRDMA (pushed through the RDMA tree due to
     dependencies, acknowledged by Bruce)"

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (169 commits)
  IB/mlx5: Unify CQ create flags check
  IB/mlx5: Expose Raw Packet QP to user space consumers
  {IB, net}/mlx5: Move the modify QP operation table to mlx5_ib
  IB/mlx5: Support setting Ethernet priority for Raw Packet QPs
  IB/mlx5: Add Raw Packet QP query functionality
  IB/mlx5: Add create and destroy functionality for Raw Packet QP
  IB/mlx5: Refactor mlx5_ib_qp to accommodate other QP types
  IB/mlx5: Allocate a Transport Domain for each ucontext
  net/mlx5_core: Warn on unsupported events of QP/RQ/SQ
  net/mlx5_core: Add RQ and SQ event handling
  net/mlx5_core: Export transport objects
  IB/mlx5: Expose CQE version to user-space
  IB/mlx5: Add CQE version 1 support to user QPs and SRQs
  IB/mlx5: Fix data validation in mlx5_ib_alloc_ucontext
  IB/sa: Fix netlink local service GFP crash
  IB/srpt: Remove redundant wc array
  IB/qib: Improve ipoib UD performance
  IB/mlx4: Advertise RoCE v2 support
  IB/mlx4: Create and use another QP1 for RoCEv2
  IB/mlx4: Enable send of RoCE QP1 packets with IP/UDP headers
  ...
Commit
048ccca8c1c8f583deec3367d7df521bb1f542ae
Parents
b3e27d5d · 34356f64

Merge commit. Changes below are compared with the first parent: b3e27d5d.

Changes

174 files changed · +7110 −4669

FileStatusAddDelContent
Documentation/ABI/testing/configfs-rdma_cmadded+22−0View file
Documentation/ABI/testing/sysfs-class-infinibandadded+16−0View file
Documentation/infiniband/core_locking.txtmodified+0−2View file
Documentation/kernel-per-CPU-kthreads.txtmodified+1−1View file
MAINTAINERSmodified+25−7View file
block/Makefilemodified+1−1View file
drivers/infiniband/Kconfigmodified+10−0View file
drivers/infiniband/core/Makefilemodified+3−1View file
drivers/infiniband/core/addr.cmodified+145−49View file
drivers/infiniband/core/cache.cmodified+241−104View file
drivers/infiniband/core/cm.cmodified+31−18View file
drivers/infiniband/core/cma.cmodified+238−27View file
drivers/infiniband/core/cma_configfs.cadded+321−0View file
drivers/infiniband/core/core_priv.hmodified+45−0View file
drivers/infiniband/core/cq.cadded+209−0View file
drivers/infiniband/core/device.cmodified+28−23View file
drivers/infiniband/core/fmr_pool.cmodified+2−18View file
drivers/infiniband/core/mad.cmodified+68−94View file
drivers/infiniband/core/mad_priv.hmodified+1−1View file
drivers/infiniband/core/multicast.cmodified+15−2View file
drivers/infiniband/core/roce_gid_mgmt.cmodified+57−24View file
drivers/infiniband/core/sa_query.cmodified+78−13View file
drivers/infiniband/core/sysfs.cmodified+339−38View file
drivers/infiniband/core/ud_header.cmodified+144−11View file
drivers/infiniband/core/umem_odp.cmodified+1−1View file
drivers/infiniband/core/user_mad.cmodified+1−0View file
drivers/infiniband/core/uverbs.hmodified+2−0View file
drivers/infiniband/core/uverbs_cmd.cmodified+10−28View file
drivers/infiniband/core/uverbs_main.cmodified+12−1View file
drivers/infiniband/core/uverbs_marshall.cmodified+1−0View file
drivers/infiniband/core/verbs.cmodified+158−80View file
drivers/infiniband/hw/cxgb3/iwch_cm.cmodified+2−2View file
drivers/infiniband/hw/cxgb3/iwch_cq.cmodified+0−4View file
drivers/infiniband/hw/cxgb3/iwch_mem.cmodified+0−102View file
drivers/infiniband/hw/cxgb3/iwch_provider.cmodified+26−120View file
drivers/infiniband/hw/cxgb3/iwch_provider.hmodified+0−15View file
drivers/infiniband/hw/cxgb3/iwch_qp.cmodified+0−82View file
drivers/infiniband/hw/cxgb4/cm.cmodified+10−4View file
drivers/infiniband/hw/cxgb4/cq.cmodified+0−3View file
drivers/infiniband/hw/cxgb4/device.cmodified+25−32View file
drivers/infiniband/hw/cxgb4/iw_cxgb4.hmodified+0−13View file
drivers/infiniband/hw/cxgb4/mem.cmodified+0−251View file
drivers/infiniband/hw/cxgb4/provider.cmodified+0−3View file
drivers/infiniband/hw/cxgb4/qp.cmodified+0−5View file
drivers/infiniband/hw/cxgb4/t4.hmodified+7−0View file
drivers/infiniband/hw/cxgb4/user.hmodified+1−1View file
drivers/infiniband/hw/mlx4/ah.cmodified+2−1View file
drivers/infiniband/hw/mlx4/cq.cmodified+0−3View file
drivers/infiniband/hw/mlx4/main.cmodified+90−12View file
drivers/infiniband/hw/mlx4/mlx4_ib.hmodified+8−2View file
drivers/infiniband/hw/mlx4/mr.cmodified+0−22View file
drivers/infiniband/hw/mlx4/qp.cmodified+235−83View file
drivers/infiniband/hw/mlx4/srq.cmodified+2−1View file
drivers/infiniband/hw/mlx5/ah.cmodified+26−6View file
drivers/infiniband/hw/mlx5/cq.cmodified+25−6View file
drivers/infiniband/hw/mlx5/main.cmodified+420−27View file
drivers/infiniband/hw/mlx5/mlx5_ib.hmodified+102−19View file
drivers/infiniband/hw/mlx5/odp.cmodified+17−12View file
drivers/infiniband/hw/mlx5/qp.cmodified+887−127View file
drivers/infiniband/hw/mlx5/srq.cmodified+34−7View file
drivers/infiniband/hw/mlx5/user.hmodified+60−3View file
drivers/infiniband/hw/mthca/mthca_cq.cmodified+0−3View file
drivers/infiniband/hw/mthca/mthca_provider.cmodified+0−84View file
drivers/infiniband/hw/mthca/mthca_qp.cmodified+1−1View file
drivers/infiniband/hw/nes/nes_cm.cmodified+7−10View file
drivers/infiniband/hw/nes/nes_cm.hmodified+1−1View file
drivers/infiniband/hw/nes/nes_utils.cmodified+1−1View file
drivers/infiniband/hw/nes/nes_verbs.cmodified+32−184View file
drivers/infiniband/hw/nes/nes_verbs.hmodified+4−0View file
drivers/infiniband/hw/ocrdma/ocrdma_ah.cmodified+4−3View file
drivers/infiniband/hw/ocrdma/ocrdma_main.cmodified+0−1View file
drivers/infiniband/hw/ocrdma/ocrdma_verbs.cmodified+0−163View file
drivers/infiniband/hw/ocrdma/ocrdma_verbs.hmodified+0−3View file
drivers/infiniband/hw/qib/qib_mr.cmodified+1−50View file
drivers/infiniband/hw/qib/qib_qp.cmodified+32−14View file
drivers/infiniband/hw/qib/qib_verbs.cmodified+8−4View file
drivers/infiniband/hw/qib/qib_verbs.hmodified+0−4View file
drivers/infiniband/hw/qib/qib_verbs_mcast.cmodified+15−20View file
drivers/infiniband/hw/usnic/usnic_debugfs.cmodified+3−2View file
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.cmodified+2−2View file
drivers/infiniband/hw/usnic/usnic_ib_verbs.cmodified+12−12View file
drivers/infiniband/hw/usnic/usnic_ib_verbs.hmodified+0−2View file
drivers/infiniband/hw/usnic/usnic_vnic.cmodified+29−25View file
drivers/infiniband/ulp/ipoib/ipoib.hmodified+3−3View file
drivers/infiniband/ulp/ipoib/ipoib_cm.cmodified+7−14View file
drivers/infiniband/ulp/ipoib/ipoib_ethtool.cmodified+5−9View file
drivers/infiniband/ulp/ipoib/ipoib_main.cmodified+3−37View file
drivers/infiniband/ulp/ipoib/ipoib_multicast.cmodified+34−11View file
drivers/infiniband/ulp/iser/iscsi_iser.cmodified+8−5View file
drivers/infiniband/ulp/iser/iscsi_iser.hmodified+80−76View file
drivers/infiniband/ulp/iser/iser_initiator.cmodified+210−113View file
drivers/infiniband/ulp/iser/iser_memory.cmodified+67−112View file
drivers/infiniband/ulp/iser/iser_verbs.cmodified+98−239View file
drivers/infiniband/ulp/isert/ib_isert.cmodified+68−50View file
drivers/infiniband/ulp/isert/ib_isert.hmodified+38−3View file
drivers/infiniband/ulp/isert/isert_proto.hdeleted+0−47View before deletion
drivers/infiniband/ulp/srp/ib_srp.cmodified+94−111View file
drivers/infiniband/ulp/srp/ib_srp.hmodified+2−5View file
drivers/infiniband/ulp/srpt/ib_srpt.cmodified+131−312View file
drivers/infiniband/ulp/srpt/ib_srpt.hmodified+6−47View file
drivers/net/ethernet/mellanox/mlx4/fw.cmodified+38−1View file
drivers/net/ethernet/mellanox/mlx4/mlx4.hmodified+4−1View file
drivers/net/ethernet/mellanox/mlx4/port.cmodified+7−0View file
drivers/net/ethernet/mellanox/mlx4/qp.cmodified+26−0View file
drivers/net/ethernet/mellanox/mlx5/core/en.hmodified+1−1View file
drivers/net/ethernet/mellanox/mlx5/core/en_main.cmodified+3−3View file
drivers/net/ethernet/mellanox/mlx5/core/eq.cmodified+1−0View file
drivers/net/ethernet/mellanox/mlx5/core/main.cmodified+55−6View file
drivers/net/ethernet/mellanox/mlx5/core/qp.cmodified+161−72View file
drivers/net/ethernet/mellanox/mlx5/core/srq.cmodified+1−3View file
drivers/net/ethernet/mellanox/mlx5/core/transobj.cmodified+47−3View file
drivers/net/ethernet/mellanox/mlx5/core/vport.cmodified+108−8View file
drivers/scsi/Kconfigmodified+1−0View file
drivers/scsi/be2iscsi/Kconfigmodified+1−0View file
drivers/scsi/be2iscsi/be.hmodified+2−2View file
drivers/scsi/be2iscsi/be_iscsi.cmodified+2−2View file
drivers/scsi/be2iscsi/be_main.cmodified+8−12View file
drivers/scsi/ipr.cmodified+11−14View file
drivers/scsi/ipr.hmodified+2−2View file
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.cmodified+1−20View file
drivers/staging/rdma/amso1100/c2_cq.cmodified+0−3View file
drivers/staging/rdma/amso1100/c2_provider.cmodified+14−58View file
drivers/staging/rdma/ehca/ehca_classes.hmodified+2−3View file
drivers/staging/rdma/ehca/ehca_iverbs.hmodified+0−16View file
drivers/staging/rdma/ehca/ehca_main.cmodified+0−4View file
drivers/staging/rdma/ehca/ehca_mrmw.cmodified+44−433View file
drivers/staging/rdma/ehca/ehca_mrmw.hmodified+0−5View file
drivers/staging/rdma/ehca/ehca_reqs.cmodified+0−1View file
drivers/staging/rdma/hfi1/mr.cmodified+1−50View file
drivers/staging/rdma/hfi1/verbs.cmodified+0−1View file
drivers/staging/rdma/hfi1/verbs.hmodified+0−4View file
drivers/staging/rdma/ipath/ipath_mr.cmodified+0−55View file
drivers/staging/rdma/ipath/ipath_verbs.cmodified+0−1View file
drivers/staging/rdma/ipath/ipath_verbs.hmodified+0−4View file
include/linux/blk-iopoll.hdeleted+0−46View before deletion
include/linux/interrupt.hmodified+1−1View file
include/linux/irq_poll.hadded+25−0View file
include/linux/mlx4/cmd.hmodified+2−1View file
include/linux/mlx4/device.hmodified+8−7View file
include/linux/mlx4/qp.hmodified+13−2View file
include/linux/mlx5/device.hmodified+38−2View file
include/linux/mlx5/driver.hmodified+10−10View file
include/linux/mlx5/mlx5_ifc.hmodified+35−13View file
include/linux/mlx5/qp.hmodified+37−9View file
drivers/net/ethernet/mellanox/mlx5/core/transobj.h → include/linux/mlx5/transobj.hrenamed+8−2View file
include/linux/mlx5/vport.hmodified+8−0View file
include/linux/sunrpc/svc_rdma.hmodified+30−9View file
include/rdma/ib_addr.hmodified+12−4View file
include/rdma/ib_cache.hmodified+4−0View file
include/rdma/ib_mad.hmodified+2−0View file
include/rdma/ib_pack.hmodified+38−7View file
include/rdma/ib_pma.hmodified+1−0View file
include/rdma/ib_sa.hmodified+3−0View file
include/rdma/ib_verbs.hmodified+200−156View file
include/scsi/iser.hadded+78−0View file
include/trace/events/irq.hmodified+1−1View file
lib/Kconfigmodified+5−0View file
lib/Makefilemodified+1−0View file
block/blk-iopoll.c → lib/irq_poll.crenamed+53−55View file
net/rds/ib.cmodified+11−23View file
net/rds/iw.cmodified+5−18View file
net/sunrpc/xprt.cmodified+1−0View file
net/sunrpc/xprtrdma/Makefilemodified+1−1View file
net/sunrpc/xprtrdma/frwr_ops.cmodified+3−4View file
net/sunrpc/xprtrdma/svc_rdma.cmodified+4−37View file
net/sunrpc/xprtrdma/svc_rdma_backchannel.cadded+371−0View file
net/sunrpc/xprtrdma/svc_rdma_recvfrom.cmodified+54−2View file
net/sunrpc/xprtrdma/svc_rdma_sendto.cmodified+18−15View file
net/sunrpc/xprtrdma/svc_rdma_transport.cmodified+235−125View file
net/sunrpc/xprtrdma/transport.cmodified+19−11View file
net/sunrpc/xprtrdma/verbs.cmodified+8−16View file
net/sunrpc/xprtrdma/xprt_rdma.hmodified+14−7View file
tools/lib/traceevent/event-parse.cmodified+1−1View file
tools/perf/util/trace-event-parse.cmodified+1−1View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/ABI/testing/configfs-rdma_cm

View file
diff --git a/Documentation/ABI/testing/configfs-rdma_cm b/Documentation/ABI/testing/configfs-rdma_cm
new file mode 100644
index 0000000..5c389aa
--- /dev/null
+++ b/Documentation/ABI/testing/configfs-rdma_cm
@@ -0,0 +1,22 @@
+What: /config/rdma_cm
+Date: November 29, 2015
+KernelVersion: 4.4.0
+Description: Interface is used to configure RDMA-cable HCAs in respect to
+ RDMA-CM attributes.
+
+ Attributes are visible only when configfs is mounted. To mount
+ configfs in /config directory use:
+ # mount -t configfs none /config/
+
+ In order to set parameters related to a specific HCA, a directory
+ for this HCA has to be created:
+ mkdir -p /config/rdma_cm/<hca>
+
+
+What: /config/rdma_cm/<hca>/ports/<port-num>/default_roce_mode
+Date: November 29, 2015
+KernelVersion: 4.4.0
+Description: RDMA-CM based connections from HCA <hca> at port <port-num>
+ will be initiated with this RoCE type as default.
+ The possible RoCE types are either "IB/RoCE v1" or "RoCE v2".
+ This parameter has RW access.

Documentation/ABI/testing/sysfs-class-infiniband

View file
diff --git a/Documentation/ABI/testing/sysfs-class-infiniband b/Documentation/ABI/testing/sysfs-class-infiniband
new file mode 100644
index 0000000..a86abe6
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-class-infiniband
@@ -0,0 +1,16 @@
+What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
+Date: November 29, 2015
+KernelVersion: 4.4.0
+Description: The net-device's name associated with the GID resides
+ at index <gid-index>.
+
+What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/types/<gid-index>
+Date: November 29, 2015
+KernelVersion: 4.4.0
+Description: The RoCE type of the associated GID resides at index <gid-index>.
+ This could either be "IB/RoCE v1" for IB and RoCE v1 based GODs
+ or "RoCE v2" for RoCE v2 based GIDs.
+
+

Documentation/infiniband/core_locking.txt

View file
diff --git a/Documentation/infiniband/core_locking.txt b/Documentation/infiniband/core_locking.txt
index e167854..4b1f36b 100644
--- a/Documentation/infiniband/core_locking.txt
+++ b/Documentation/infiniband/core_locking.txt
@@ -15,7 +15,6 @@ Sleeping and interrupt context
modify_ah
query_ah
destroy_ah
- bind_mw
post_send
post_recv
poll_cq
@@ -31,7 +30,6 @@ Sleeping and interrupt context
ib_modify_ah
ib_query_ah
ib_destroy_ah
- ib_bind_mw
ib_post_send
ib_post_recv
ib_req_notify_cq

Documentation/kernel-per-CPU-kthreads.txt

View file
diff --git a/Documentation/kernel-per-CPU-kthreads.txt b/Documentation/kernel-per-CPU-kthreads.txt
index f4cbfe0..edec3a3 100644
--- a/Documentation/kernel-per-CPU-kthreads.txt
+++ b/Documentation/kernel-per-CPU-kthreads.txt
@@ -90,7 +90,7 @@ BLOCK_SOFTIRQ: Do all of the following:
from being initiated from tasks that might run on the CPU to
be de-jittered. (It is OK to force this CPU offline and then
bring it back online before you start your application.)
-BLOCK_IOPOLL_SOFTIRQ: Do all of the following:
+IRQ_POLL_SOFTIRQ: Do all of the following:
1. Force block-device interrupts onto some other CPU.
2. Initiate any block I/O and block-I/O polling on other CPUs.
3. Once your application has started, prevent CPU-hotplug operations

MAINTAINERS

View file
diff --git a/MAINTAINERS b/MAINTAINERS
index 8f3f93c..59373e5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7151,27 +7151,45 @@ W: https://linuxtv.org
S: Odd Fixes
F: drivers/media/radio/radio-miropcm20*
-Mellanox MLX5 core VPI driver
-M: Eli Cohen <[email protected]>
+MELLANOX MLX4 core VPI driver
+M: Yishai Hadas <[email protected]>
W: http://www.mellanox.com
Q: http://patchwork.ozlabs.org/project/netdev/list/
+S: Supported
+F: drivers/net/ethernet/mellanox/mlx4/
+F: include/linux/mlx4/
+
+MELLANOX MLX4 IB driver
+M: Yishai Hadas <[email protected]>
+W: http://www.mellanox.com
Q: http://patchwork.kernel.org/project/linux-rdma/list/
-T: git git://openfabrics.org/~eli/connect-ib.git
+S: Supported
+F: drivers/infiniband/hw/mlx4/
+F: include/linux/mlx4/
+
+MELLANOX MLX5 core VPI driver
+M: Matan Barak <[email protected]>
+M: Leon Romanovsky <[email protected]>
+W: http://www.mellanox.com
+Q: http://patchwork.ozlabs.org/project/netdev/list/
S: Supported
F: drivers/net/ethernet/mellanox/mlx5/core/
F: include/linux/mlx5/
-Mellanox MLX5 IB driver
-M: Eli Cohen <[email protected]>
+MELLANOX MLX5 IB driver
+M: Matan Barak <[email protected]>
+M: Leon Romanovsky <[email protected]>
W: http://www.mellanox.com
Q: http://patchwork.kernel.org/project/linux-rdma/list/
-T: git git://openfabrics.org/~eli/connect-ib.git
S: Supported
-F: include/linux/mlx5/
F: drivers/infiniband/hw/mlx5/
+F: include/linux/mlx5/
MELEXIS MLX90614 DRIVER
M: Crt Mori <[email protected]>

block/Makefile

View file
diff --git a/block/Makefile b/block/Makefile
index db5f622..9eda232 100644
--- a/block/Makefile
+++ b/block/Makefile
@@ -5,7 +5,7 @@
obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
- blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \
+ blk-lib.o blk-mq.o blk-mq-tag.o \
blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \
genhd.o scsi_ioctl.o partition-generic.o ioprio.o \
badblocks.o partitions/

drivers/infiniband/Kconfig

View file
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index aa26f3c..8a8440c 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -5,6 +5,7 @@ menuconfig INFINIBAND
depends on NET
depends on INET
depends on m || IPV6 != m
+ select IRQ_POLL
---help---
Core support for InfiniBand (IB). Make sure to also select
any protocols you wish to use as well as drivers for your
@@ -54,6 +55,15 @@ config INFINIBAND_ADDR_TRANS
depends on INFINIBAND
default y
+config INFINIBAND_ADDR_TRANS_CONFIGFS
+ bool
+ depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
+ default y
+ ---help---
+ ConfigFS support for RDMA communication manager (CM).
+ This allows the user to config the default GID type that the CM
+ uses for each device, when initiaing new connections.
+
source "drivers/infiniband/hw/mthca/Kconfig"
source "drivers/infiniband/hw/qib/Kconfig"
source "drivers/infiniband/hw/cxgb3/Kconfig"

drivers/infiniband/core/Makefile

View file
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile
index d43a899..f818538 100644
--- a/drivers/infiniband/core/Makefile
+++ b/drivers/infiniband/core/Makefile
@@ -8,7 +8,7 @@ obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o \
$(user_access-y)
-ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
+ib_core-y := packer.o ud_header.o verbs.o cq.o sysfs.o \
device.o fmr_pool.o cache.o netlink.o \
roce_gid_mgmt.o
ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o
@@ -24,6 +24,8 @@ iw_cm-y := iwcm.o iwpm_util.o iwpm_msg.o
rdma_cm-y := cma.o
+rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o
+
rdma_ucm-y := ucma.o
ib_addr-y := addr.o

drivers/infiniband/core/addr.c

View file
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c
index 34b1ada..337353d 100644
--- a/drivers/infiniband/core/addr.c
+++ b/drivers/infiniband/core/addr.c
@@ -121,7 +121,8 @@ int rdma_copy_addr(struct rdma_dev_addr *dev_addr, struct net_device *dev,
}
EXPORT_SYMBOL(rdma_copy_addr);
-int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr,
+int rdma_translate_ip(const struct sockaddr *addr,
+ struct rdma_dev_addr *dev_addr,
u16 *vlan_id)
{
struct net_device *dev;
@@ -139,7 +140,7 @@ int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr,
switch (addr->sa_family) {
case AF_INET:
dev = ip_dev_find(dev_addr->net,
- ((struct sockaddr_in *) addr)->sin_addr.s_addr);
+ ((const struct sockaddr_in *)addr)->sin_addr.s_addr);
if (!dev)
return ret;
@@ -154,7 +155,7 @@ int rdma_translate_ip(struct sockaddr *addr, struct rdma_dev_addr *dev_addr,
rcu_read_lock();
for_each_netdev_rcu(dev_addr->net, dev) {
if (ipv6_chk_addr(dev_addr->net,
- &((struct sockaddr_in6 *) addr)->sin6_addr,
+ &((const struct sockaddr_in6 *)addr)->sin6_addr,
dev, 1)) {
ret = rdma_copy_addr(dev_addr, dev, NULL);
if (vlan_id)
@@ -198,7 +199,8 @@ static void queue_req(struct addr_req *req)
mutex_unlock(&lock);
}
-static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr, void *daddr)
+static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr,
+ const void *daddr)
{
struct neighbour *n;
int ret;
@@ -222,8 +224,9 @@ static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr, v
}
static int addr4_resolve(struct sockaddr_in *src_in,
- struct sockaddr_in *dst_in,
- struct rdma_dev_addr *addr)
+ const struct sockaddr_in *dst_in,
+ struct rdma_dev_addr *addr,
+ struct rtable **prt)
{
__be32 src_ip = src_in->sin_addr.s_addr;
__be32 dst_ip = dst_in->sin_addr.s_addr;
@@ -243,33 +246,29 @@ static int addr4_resolve(struct sockaddr_in *src_in,
src_in->sin_family = AF_INET;
src_in->sin_addr.s_addr = fl4.saddr;
- if (rt->dst.dev->flags & IFF_LOOPBACK) {
- ret = rdma_translate_ip((struct sockaddr *)dst_in, addr, NULL);
- if (!ret)
- memcpy(addr->dst_dev_addr, addr->src_dev_addr, MAX_ADDR_LEN);
- goto put;
- }
+ /* If there's a gateway, we're definitely in RoCE v2 (as RoCE v1 isn't
+ * routable) and we could set the network type accordingly.
+ */
+ if (rt->rt_uses_gateway)
+ addr->network = RDMA_NETWORK_IPV4;
- /* If the device does ARP internally, return 'done' */
- if (rt->dst.dev->flags & IFF_NOARP) {
- ret = rdma_copy_addr(addr, rt->dst.dev, NULL);
- goto put;
- }
+ addr->hoplimit = ip4_dst_hoplimit(&rt->dst);
- ret = dst_fetch_ha(&rt->dst, addr, &fl4.daddr);
-put:
- ip_rt_put(rt);
+ *prt = rt;
+ return 0;
out:
return ret;
}
#if IS_ENABLED(CONFIG_IPV6)
static int addr6_resolve(struct sockaddr_in6 *src_in,
- struct sockaddr_in6 *dst_in,
- struct rdma_dev_addr *addr)
+ const struct sockaddr_in6 *dst_in,
+ struct rdma_dev_addr *addr,
+ struct dst_entry **pdst)
{
struct flowi6 fl6;
struct dst_entry *dst;
+ struct rt6_info *rt;
int ret;
memset(&fl6, 0, sizeof fl6);
@@ -281,6 +280,7 @@ static int addr6_resolve(struct sockaddr_in6 *src_in,
if ((ret = dst->error))
goto put;
+ rt = (struct rt6_info *)dst;
if (ipv6_addr_any(&fl6.saddr)) {
ret = ipv6_dev_get_saddr(addr->net, ip6_dst_idev(dst)->dev,
&fl6.daddr, 0, &fl6.saddr);
@@ -291,43 +291,111 @@ static int addr6_resolve(struct sockaddr_in6 *src_in,
src_in->sin6_addr = fl6.saddr;
}
- if (dst->dev->flags & IFF_LOOPBACK) {
- ret = rdma_translate_ip((struct sockaddr *)dst_in, addr, NULL);
- if (!ret)
- memcpy(addr->dst_dev_addr, addr->src_dev_addr, MAX_ADDR_LEN);
- goto put;
- }
+ /* If there's a gateway, we're definitely in RoCE v2 (as RoCE v1 isn't
+ * routable) and we could set the network type accordingly.
+ */
+ if (rt->rt6i_flags & RTF_GATEWAY)
+ addr->network = RDMA_NETWORK_IPV6;
- /* If the device does ARP internally, return 'done' */
- if (dst->dev->flags & IFF_NOARP) {
- ret = rdma_copy_addr(addr, dst->dev, NULL);
- goto put;
- }
+ addr->hoplimit = ip6_dst_hoplimit(dst);
- ret = dst_fetch_ha(dst, addr, &fl6.daddr);
+ *pdst = dst;
+ return 0;
put:
dst_release(dst);
return ret;
}
#else
static int addr6_resolve(struct sockaddr_in6 *src_in,
- struct sockaddr_in6 *dst_in,
- struct rdma_dev_addr *addr)
+ const struct sockaddr_in6 *dst_in,
+ struct rdma_dev_addr *addr,
+ struct dst_entry **pdst)
{
return -EADDRNOTAVAIL;
}
#endif
+static int addr_resolve_neigh(struct dst_entry *dst,
+ const struct sockaddr *dst_in,
+ struct rdma_dev_addr *addr)
+{
+ if (dst->dev->flags & IFF_LOOPBACK) {
+ int ret;
+
+ ret = rdma_translate_ip(dst_in, addr, NULL);
+ if (!ret)
+ memcpy(addr->dst_dev_addr, addr->src_dev_addr,
+ MAX_ADDR_LEN);
+
+ return ret;
+ }
+
+ /* If the device doesn't do ARP internally */
+ if (!(dst->dev->flags & IFF_NOARP)) {
+ const struct sockaddr_in *dst_in4 =
+ (const struct sockaddr_in *)dst_in;
+ const struct sockaddr_in6 *dst_in6 =
+ (const struct sockaddr_in6 *)dst_in;
+
+ return dst_fetch_ha(dst, addr,
+ dst_in->sa_family == AF_INET ?
+ (const void *)&dst_in4->sin_addr.s_addr :
+ (const void *)&dst_in6->sin6_addr);
+ }
+
+ return rdma_copy_addr(addr, dst->dev, NULL);
+}
+
static int addr_resolve(struct sockaddr *src_in,
- struct sockaddr *dst_in,
- struct rdma_dev_addr *addr)
+ const struct sockaddr *dst_in,
+ struct rdma_dev_addr *addr,
+ bool resolve_neigh)
{
+ struct net_device *ndev;
+ struct dst_entry *dst;
+ int ret;
+
if (src_in->sa_family == AF_INET) {
- return addr4_resolve((struct sockaddr_in *) src_in,
- (struct sockaddr_in *) dst_in, addr);
- } else
- return addr6_resolve((struct sockaddr_in6 *) src_in,
- (struct sockaddr_in6 *) dst_in, addr);
+ struct rtable *rt = NULL;
+ const struct sockaddr_in *dst_in4 =
+ (const struct sockaddr_in *)dst_in;
+
+ ret = addr4_resolve((struct sockaddr_in *)src_in,
+ dst_in4, addr, &rt);
+ if (ret)
+ return ret;
+
+ if (resolve_neigh)
+ ret = addr_resolve_neigh(&rt->dst, dst_in, addr);
+
+ ndev = rt->dst.dev;
+ dev_hold(ndev);
+
+ ip_rt_put(rt);
+ } else {
+ const struct sockaddr_in6 *dst_in6 =
+ (const struct sockaddr_in6 *)dst_in;
+
+ ret = addr6_resolve((struct sockaddr_in6 *)src_in,
+ dst_in6, addr,
+ &dst);
+ if (ret)
+ return ret;
+
+ if (resolve_neigh)
+ ret = addr_resolve_neigh(dst, dst_in, addr);
+
+ ndev = dst->dev;
+ dev_hold(ndev);
+
+ dst_release(dst);
+ }
+
+ addr->bound_dev_if = ndev->ifindex;
+ addr->net = dev_net(ndev);
+ dev_put(ndev);
+
+ return ret;
}
static void process_req(struct work_struct *work)
@@ -343,7 +411,8 @@ static void process_req(struct work_struct *work)
if (req->status == -ENODATA) {
src_in = (struct sockaddr *) &req->src_addr;
dst_in = (struct sockaddr *) &req->dst_addr;
- req->status = addr_resolve(src_in, dst_in, req->addr);
+ req->status = addr_resolve(src_in, dst_in, req->addr,
+ true);
if (req->status && time_after_eq(jiffies, req->timeout))
req->status = -ETIMEDOUT;
else if (req->status == -ENODATA)
@@ -403,7 +472,7 @@ int rdma_resolve_ip(struct rdma_addr_client *client,
req->client = client;
atomic_inc(&client->refcount);
- req->status = addr_resolve(src_in, dst_in, addr);
+ req->status = addr_resolve(src_in, dst_in, addr, true);
switch (req->status) {
case 0:
req->timeout = jiffies;
@@ -425,6 +494,26 @@ err:
}
EXPORT_SYMBOL(rdma_resolve_ip);
+int rdma_resolve_ip_route(struct sockaddr *src_addr,
+ const struct sockaddr *dst_addr,
+ struct rdma_dev_addr *addr)
+{
+ struct sockaddr_storage ssrc_addr = {};
+ struct sockaddr *src_in = (struct sockaddr *)&ssrc_addr;
+
+ if (src_addr) {
+ if (src_addr->sa_family != dst_addr->sa_family)
+ return -EINVAL;
+
+ memcpy(src_in, src_addr, rdma_addr_size(src_addr));
+ } else {
+ src_in->sa_family = dst_addr->sa_family;
+ }
+
+ return addr_resolve(src_in, dst_addr, addr, false);
+}
+EXPORT_SYMBOL(rdma_resolve_ip_route);
+
void rdma_addr_cancel(struct rdma_dev_addr *addr)
{
struct addr_req *req, *temp_req;
@@ -456,8 +545,10 @@ static void resolve_cb(int status, struct sockaddr *src_addr,
complete(&((struct resolve_cb_context *)context)->comp);
}
-int rdma_addr_find_dmac_by_grh(const union ib_gid *sgid, const union ib_gid *dgid,
- u8 *dmac, u16 *vlan_id, int if_index)
+int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid,
+ const union ib_gid *dgid,
+ u8 *dmac, u16 *vlan_id, int *if_index,
+ int *hoplimit)
{
int ret = 0;
struct rdma_dev_addr dev_addr;
@@ -475,7 +566,8 @@ int rdma_addr_find_dmac_by_grh(const union ib_gid *sgid, const union ib_gid *dgi
rdma_gid2ip(&dgid_addr._sockaddr, dgid);
memset(&dev_addr, 0, sizeof(dev_addr));
- dev_addr.bound_dev_if = if_index;
+ if (if_index)
+ dev_addr.bound_dev_if = *if_index;
dev_addr.net = &init_net;
ctx.addr = &dev_addr;
@@ -491,12 +583,16 @@ int rdma_addr_find_dmac_by_grh(const union ib_gid *sgid, const union ib_gid *dgi
dev = dev_get_by_index(&init_net, dev_addr.bound_dev_if);
if (!dev)
return -ENODEV;
+ if (if_index)
+ *if_index = dev_addr.bound_dev_if;
if (vlan_id)
*vlan_id = rdma_vlan_dev_vlan_id(dev);
+ if (hoplimit)
+ *hoplimit = dev_addr.hoplimit;
dev_put(dev);
return ret;
}
-EXPORT_SYMBOL(rdma_addr_find_dmac_by_grh);
+EXPORT_SYMBOL(rdma_addr_find_l2_eth_by_grh);
int rdma_addr_find_smac_by_sgid(union ib_gid *sgid, u8 *smac, u16 *vlan_id)
{

drivers/infiniband/core/cache.c

View file
diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c
index 89bebea..53343ff 100644
--- a/drivers/infiniband/core/cache.c
+++ b/drivers/infiniband/core/cache.c
@@ -64,6 +64,7 @@ enum gid_attr_find_mask {
GID_ATTR_FIND_MASK_GID = 1UL << 0,
GID_ATTR_FIND_MASK_NETDEV = 1UL << 1,
GID_ATTR_FIND_MASK_DEFAULT = 1UL << 2,
+ GID_ATTR_FIND_MASK_GID_TYPE = 1UL << 3,
};
enum gid_table_entry_props {
@@ -81,10 +82,6 @@ enum gid_table_write_action {
};
struct ib_gid_table_entry {
- /* This lock protects an entry from being
- * read and written simultaneously.
- */
- rwlock_t lock;
unsigned long props;
union ib_gid gid;
struct ib_gid_attr attr;
@@ -109,28 +106,86 @@ struct ib_gid_table {
* are locked by this lock.
**/
struct mutex lock;
+ /* This lock protects the table entries from being
+ * read and written simultaneously.
+ */
+ rwlock_t rwlock;
struct ib_gid_table_entry *data_vec;
};
+static void dispatch_gid_change_event(struct ib_device *ib_dev, u8 port)
+{
+ if (rdma_cap_roce_gid_table(ib_dev, port)) {
+ struct ib_event event;
+
+ event.device = ib_dev;
+ event.element.port_num = port;
+ event.event = IB_EVENT_GID_CHANGE;
+
+ ib_dispatch_event(&event);
+ }
+}
+
+static const char * const gid_type_str[] = {
+ [IB_GID_TYPE_IB] = "IB/RoCE v1",
+ [IB_GID_TYPE_ROCE_UDP_ENCAP] = "RoCE v2",
+};
+
+const char *ib_cache_gid_type_str(enum ib_gid_type gid_type)
+{
+ if (gid_type < ARRAY_SIZE(gid_type_str) && gid_type_str[gid_type])
+ return gid_type_str[gid_type];
+
+ return "Invalid GID type";
+}
+EXPORT_SYMBOL(ib_cache_gid_type_str);
+
+int ib_cache_gid_parse_type_str(const char *buf)
+{
+ unsigned int i;
+ size_t len;
+ int err = -EINVAL;
+
+ len = strlen(buf);
+ if (len == 0)

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/cm.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/cma.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/cma_configfs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/core_priv.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/device.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/fmr_pool.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/mad.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/mad_priv.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/multicast.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/roce_gid_mgmt.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/sa_query.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/sysfs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/ud_header.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/umem_odp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/user_mad.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/uverbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/uverbs_cmd.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/uverbs_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/uverbs_marshall.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/core/verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_cm.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_mem.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_provider.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_provider.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb3/iwch_qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/cm.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/device.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/iw_cxgb4.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/mem.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/provider.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/t4.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/cxgb4/user.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/ah.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/main.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/mlx4_ib.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/mr.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx4/srq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/ah.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/main.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/mlx5_ib.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/odp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/srq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mlx5/user.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mthca/mthca_cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mthca/mthca_provider.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/mthca/mthca_qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/nes/nes_cm.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/nes/nes_cm.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/nes/nes_utils.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/nes/nes_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/nes/nes_verbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/ocrdma/ocrdma_ah.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/ocrdma/ocrdma_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/ocrdma/ocrdma_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/ocrdma/ocrdma_verbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/qib/qib_mr.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/qib/qib_qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/qib/qib_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/qib/qib_verbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/qib/qib_verbs_mcast.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/usnic/usnic_debugfs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/usnic/usnic_ib_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/usnic/usnic_ib_verbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/hw/usnic/usnic_vnic.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/ipoib/ipoib.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/ipoib/ipoib_cm.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/ipoib/ipoib_ethtool.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/ipoib/ipoib_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/ipoib/ipoib_multicast.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/iser/iscsi_iser.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/iser/iscsi_iser.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/iser/iser_initiator.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/iser/iser_memory.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/iser/iser_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/isert/ib_isert.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/isert/ib_isert.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/isert/isert_proto.h

View before deletion

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/srp/ib_srp.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/srp/ib_srp.h

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/srpt/ib_srpt.c

View file

This diff is incomplete. Download the complete patch.

drivers/infiniband/ulp/srpt/ib_srpt.h

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx4/fw.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx4/mlx4.h

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx4/port.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx4/qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/en.h

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/en_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/eq.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/main.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/qp.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/srq.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/transobj.c

View file

This diff is incomplete. Download the complete patch.

drivers/net/ethernet/mellanox/mlx5/core/vport.c

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/be2iscsi/Kconfig

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/be2iscsi/be.h

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/be2iscsi/be_iscsi.c

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/be2iscsi/be_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/ipr.c

View file

This diff is incomplete. Download the complete patch.

drivers/scsi/ipr.h

View file

This diff is incomplete. Download the complete patch.

drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/amso1100/c2_cq.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/amso1100/c2_provider.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_classes.h

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_iverbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_main.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_mrmw.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_mrmw.h

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ehca/ehca_reqs.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/hfi1/mr.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/hfi1/verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/hfi1/verbs.h

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ipath/ipath_mr.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ipath/ipath_verbs.c

View file

This diff is incomplete. Download the complete patch.

drivers/staging/rdma/ipath/ipath_verbs.h

View file

This diff is incomplete. Download the complete patch.

include/linux/blk-iopoll.h

View before deletion

This diff is incomplete. Download the complete patch.

include/linux/interrupt.h

View file

This diff is incomplete. Download the complete patch.

include/linux/irq_poll.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx4/cmd.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx4/device.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx4/qp.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/device.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/driver.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/mlx5_ifc.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/qp.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/transobj.h

View file

This diff is incomplete. Download the complete patch.

include/linux/mlx5/vport.h

View file

This diff is incomplete. Download the complete patch.

include/linux/sunrpc/svc_rdma.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_addr.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_cache.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_mad.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_pack.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_pma.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_sa.h

View file

This diff is incomplete. Download the complete patch.

include/rdma/ib_verbs.h

View file

This diff is incomplete. Download the complete patch.

include/scsi/iser.h

View file

This diff is incomplete. Download the complete patch.

include/trace/events/irq.h

View file

This diff is incomplete. Download the complete patch.

lib/Kconfig

View file

This diff is incomplete. Download the complete patch.

lib/Makefile

View file

This diff is incomplete. Download the complete patch.

lib/irq_poll.c

View file

This diff is incomplete. Download the complete patch.

net/rds/ib.c

View file

This diff is incomplete. Download the complete patch.

net/rds/iw.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprt.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/Makefile

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/frwr_ops.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/svc_rdma.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/svc_rdma_backchannel.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/svc_rdma_recvfrom.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/svc_rdma_sendto.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/svc_rdma_transport.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/transport.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/verbs.c

View file

This diff is incomplete. Download the complete patch.

net/sunrpc/xprtrdma/xprt_rdma.h

View file

This diff is incomplete. Download the complete patch.

tools/lib/traceevent/event-parse.c

View file

This diff is incomplete. Download the complete patch.

tools/perf/util/trace-event-parse.c

View file

This diff is incomplete. Download the complete patch.