acrn-kernel/drivers/infiniband/hw/qib
Brian Welty 904bba211a IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM
The work completion length for a receiving a UD send with immediate is
short by 4 bytes causing application using this opcode to fail.

The UD receive logic incorrectly subtracts 4 bytes for immediate
value. These bytes are already included in header length and are used to
calculate header/payload split, so the result is these 4 bytes are
subtracted twice, once when the header length subtracted from the overall
length and once again in the UD opcode specific path.

Remove the extra subtraction when handling the opcode.

Fixes: 7724105686 ("IB/hfi1: add driver files")
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Brian Welty <brian.welty@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-21 14:20:08 -07:00
..
Kconfig
Makefile
qib.h RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib_6120_regs.h
qib_7220.h
qib_7220_regs.h
qib_7322_regs.h
qib_common.h
qib_debugfs.c
qib_debugfs.h
qib_diag.c
qib_driver.c
qib_eeprom.c
qib_file_ops.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
qib_fs.c
qib_iba6120.c RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
qib_iba7220.c RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
qib_iba7322.c RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
qib_init.c RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
qib_intr.c
qib_mad.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
qib_mad.h
qib_pcie.c IB/qib: fix spelling mistake "colescing" -> "coalescing" 2018-11-26 16:45:06 -07:00
qib_pio_copy.c
qib_qp.c
qib_qsfp.c
qib_qsfp.h
qib_rc.c IB/{hfi1, qib, rdmavt}: Move send completion logic to rdmavt 2018-10-03 16:38:28 -06:00
qib_ruc.c IB/{hfi1, qib, rdmavt}: Move ruc_loopback to rdmavt 2018-10-03 16:38:28 -06:00
qib_sd7220.c
qib_sdma.c IB/qib: Fix an error code in qib_sdma_verbs_send() 2018-12-18 14:20:41 -07:00
qib_sysfs.c RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib_twsi.c
qib_tx.c
qib_uc.c IB/{hfi1, qib, rdmavt}: Move send completion logic to rdmavt 2018-10-03 16:38:28 -06:00
qib_ud.c IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM 2019-01-21 14:20:08 -07:00
qib_user_pages.c
qib_user_sdma.c RDMA/qib: Remove all occurrences of BUG_ON() 2018-11-29 15:59:40 -07:00
qib_user_sdma.h
qib_verbs.c RDMA: Mark if create address handle is in a sleepable context 2018-12-19 16:17:19 -07:00
qib_verbs.h IB/{hfi1, qib, rdmavt}: Move send completion logic to rdmavt 2018-10-03 16:38:28 -06:00
qib_wc_ppc64.c
qib_wc_x86_64.c