linux_dsm_epyc7002/drivers/infiniband/sw
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
..
rdmavt RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq 2020-06-18 09:35:47 -03:00
rxe treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
siw RDMA/siw: Fix reporting vendor_part_id 2020-07-08 09:24:45 -03:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00