linux/drivers/infiniband
Sebastian Sanchez f150e2736f IB/hfi1: Compute BTH only for RDMA_WRITE_LAST/SEND_LAST packet
In hfi1_rc_rcv(), BTH is computed for all packets received.
However, it's only used for packets received with opcodes
RDMA_WRITE_LAST and SEND_LAST, and it is a costly operation.

Compute BTH only in the RDMA_WRITE_LAST/SEND_LAST code path
and let the compiler handle endianness conversion for bitwise
operations.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-02-01 15:43:28 -07:00
..
core RDMA/nldev: missing error code in nldev_res_get_doit() 2018-02-01 15:24:32 -07:00
hw IB/hfi1: Compute BTH only for RDMA_WRITE_LAST/SEND_LAST packet 2018-02-01 15:43:28 -07:00
sw IB/rxe: remove redudant parameter in rxe_av_fill_ip_info 2018-01-31 16:32:10 -05:00
ulp Linux 4.15 2018-01-30 09:30:00 -07:00
Kconfig IB: INFINIBAND should depend on HAS_DMA 2017-11-30 16:01:28 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00