> Subject: [PATCH rdma-next V1 5/5] IB: Query port through the core instead of > directly calling the driver handler > > From: Or Gerlitz <ogerlitz@xxxxxxxxxxxx> > > 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@xxxxxxxxxxxx> > Reviewed-by: Matan Barak <matanb@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> cxgb* parts look fine. Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html