linux-stable/drivers/infiniband
Mike Marciniszyn 9ace24bba6 IB/hfi1: Use a common pad buffer for 9B and 16B packets
commit 22bb136534 upstream.

There is no reason for a different pad buffer for the two
packet types.

Expand the current buffer allocation to allow for both
packet types.

Fixes: f8195f3b14 ("IB/hfi1: Eliminate allocation while atomic")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Kaike Wan <kaike.wan@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Link: https://lore.kernel.org/r/20191004204934.26838.13099.stgit@awfm-01.aw.intel.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-20 18:45:17 +01:00
..
core RDMA/uverbs: Prevent potential underflow 2019-11-12 19:20:58 +01:00
hw IB/hfi1: Use a common pad buffer for 9B and 16B packets 2019-11-20 18:45:17 +01:00
sw RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM 2019-07-31 07:27:07 +02:00
ulp RDMA/srp: Accept again source addresses that do not have a port number 2019-09-16 08:22:19 +02:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile