linux/drivers/infiniband/sw/siw
Kamal Heib 04340645f6 RDMA/siw: Fix reporting vendor_part_id
Move the initialization of the vendor_part_id to be before calling
ib_register_device(), this is needed because the query_device() callback
is called from the context of ib_register_device() before initializing the
vendor_part_id, so the reported value is wrong.

Fixes: bdcf26bf9b ("rdma/siw: network and RDMA core interface")
Link: https://lore.kernel.org/r/20200707130931.444724-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-07-08 09:24:45 -03:00
..
iwarp.h
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile
siw_cm.c tcp: add tcp_sock_set_nodelay 2020-05-28 11:11:45 -07:00
siw_cm.h
siw_cq.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_main.c RDMA/siw: Fix reporting vendor_part_id 2020-07-08 09:24:45 -03:00
siw_mem.c mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
siw_mem.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_rx.c RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl() 2020-06-15 16:00:08 -03:00
siw_qp_tx.c RDMA/siw: Fix potential siw_mem refcnt leak in siw_fastreg_mr() 2020-04-15 11:26:51 -03:00
siw_qp.c RDMA/siw: Simplify QP representation 2020-01-03 15:54:09 -04:00
siw_verbs.c RDMA: Remove 'max_fmr' 2020-06-02 20:32:54 -03:00
siw_verbs.h RDMA/siw: Use the common mmap_xa helpers 2019-11-06 13:08:01 -04:00
siw.h RDMA: Remove 'max_fmr' 2020-06-02 20:32:54 -03:00