linux_dsm_epyc7002/drivers/infiniband/hw/cxgb4
Paul Bolle 710a31102b RDMA/cxgb4: "cookie" can stay in host endianness
Work requests are passed between the host and the firmware with a
"cookie".  This cookie is swapped to big-endian when passed to the
firmware and back to host endianness on return.  This swapping seems
to be implemented incorrectly.  Moreover, the byte swapping triggers
GCC warnings on 32 bit:

    drivers/infiniband/hw/cxgb4/cm.c: In function ‘passive_ofld_conn_reply’:
    drivers/infiniband/hw/cxgb4/cm.c:2803:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    drivers/infiniband/hw/cxgb4/cm.c: In function ‘send_fw_pass_open_req’:
    drivers/infiniband/hw/cxgb4/cm.c:2941:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    [...]

But byte swapping isn't needed as the firmware doesn't actually touch
the cookie.  Dropping byte swapping makes the warnings go away too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-02-14 15:55:05 -08:00
..
cm.c RDMA/cxgb4: "cookie" can stay in host endianness 2013-02-14 15:55:05 -08:00
cq.c RDMA/cxgb4: Fix iw_cxgb4 count_rcqes() logic 2011-11-28 11:53:05 -08:00
device.c RDMA/cxgb4: Address sparse warnings 2013-02-14 15:51:58 -08:00
ev.c RDMA/cxgb4: Always log async errors 2013-02-14 15:51:56 -08:00
id_table.c RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
iw_cxgb4.h RDMA/cxgb4: Fix endpoint timeout race condition 2013-02-14 15:51:57 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
mem.c RDMA/cxgb4: Don't free chunk that we have failed to allocate 2012-10-22 11:05:00 -07:00
provider.c RDMA/cxgb4: Add query_qp support 2012-05-18 13:22:37 -07:00
qp.c RDMA/cxgb4: Abort connections when moving to ERROR state 2013-02-14 15:51:55 -08:00
resource.c RDMA/cxgb4: Remove kfifo usage 2012-05-18 13:22:36 -07:00
t4.h RDMA/cxgb4: DB Drop Recovery for RDMA and LLD queues 2012-05-18 13:22:33 -07:00
t4fw_ri_api.h RDMA/cxgb4: Add module option to tweak delayed ack 2010-07-21 10:53:52 -07:00
user.h RDMA/cxgb4: Add DB Overflow Avoidance 2012-05-18 13:22:31 -07:00