linux/drivers/infiniband/hw/ocrdma
Or Gerlitz c4550c63b3 IB: Query ports via the core instead of direct into the driver
Change the drivers to call ib_query_port in their get port
immutable handler instead of their own query port handler.

Doing this required to set the core cap flags of this device
before the ib_query_port call is made, since the IB core might
need these caps to serve the port query.

Drivers are ensured by the IB core that the port attributes passed
to the port query verb implementation are zero, and hence we
removed the zeroing from the drivers.

This patch doesn't add any new functionality.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-14 11:41:22 -05:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma.h RDMA/ocrdma: Support RoCE-v2 in the UD path 2016-02-29 17:12:10 -05:00
ocrdma_ah.c IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
ocrdma_ah.h IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
ocrdma_hw.c Merge branches 'misc', 'qedr', 'reject-helpers', 'rxe' and 'srp' into merge-test 2016-12-14 14:44:47 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
ocrdma_sli.h RDMA/ocrdma: Fix the max_sge reported from FW 2016-08-24 11:31:40 -04:00
ocrdma_stats.c IB/ocrdma: Remove and fix debug prints after allocation failure 2016-12-03 13:12:52 -05:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
ocrdma_verbs.h IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00