linux_dsm_epyc7002/drivers/infiniband/hw/nes
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/nes: Replace LRO with GRO 2016-02-29 17:11:57 -05:00
Makefile RDMA/nes: Support for Packed And Unaligned fpdus 2011-10-10 10:54:47 -07:00
nes_cm.c IB/nes: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
nes_cm.h iw_nes: remove port mapper related code 2016-03-16 13:48:11 -04:00
nes_context.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_hw.c IB/nes: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
nes_hw.h RDMA/nes: Replace LRO with GRO 2016-02-29 17:11:57 -05:00
nes_mgt.c IB/nes: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
nes_mgt.h RDMA/nes: Copyright update 2012-01-30 16:18:07 -08:00
nes_nic.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
nes_utils.c RDMA/nes: replace custom print_hex_dump() 2016-05-13 19:40:01 -04:00
nes_verbs.c IB: Query ports via the core instead of direct into the driver 2017-02-14 11:41:22 -05:00
nes_verbs.h RDMA/nes: Adding queue drain functions 2016-05-13 19:39:59 -04:00
nes.c Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
nes.h net: use core MTU range checking in misc drivers 2016-10-20 14:51:10 -04:00