aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/file_ops.c
diff options
context:
space:
mode:
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>2015-10-26 10:28:32 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 17:19:22 +0900
commitf4d26d81ad7f599159511ca8d1a81b82dad474f6 (patch)
tree8a2330e0ca33cc7961ef2cba0121d37127dbad52 /drivers/staging/rdma/hfi1/file_ops.c
parentstaging/rdma/hfi1: Remove QSFP_ENABLED from HFI capability mask (diff)
downloadlinux-dev-f4d26d81ad7f599159511ca8d1a81b82dad474f6.tar.xz
linux-dev-f4d26d81ad7f599159511ca8d1a81b82dad474f6.zip
staging/rdma/hfi1: Add coalescing support for SDMA TX descriptors
This fixes transmit errors when the number of scatter gather elements in the request is more that the number of per packet descriptors supported by the hardware, allocate and coalesce the extra scatter gather elements into a single buffer. The last descriptor is reserved and used for this coalesced buffer. Verbs potentially need this support when transferring small data chunks involving different memory regions. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/file_ops.c')
0 files changed, 0 insertions, 0 deletions