From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH rdma-next V1 5/5] IB: Query port through the core instead of directly calling the driver handler Date: Tue, 24 Jan 2017 09:35:31 -0600 Message-ID: <00ed01d27657$7f431220$7dc93660$@opengridcomputing.com> References: <20170124110239.31555-1-leon@kernel.org> <20170124110239.31555-6-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170124110239.31555-6-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Content-Language: en-us Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: 'Leon Romanovsky' , dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Or Gerlitz' , 'Parav Pandit' , 'Steve Wise' , 'Dennis Dalessandro' , 'Lijun Ou' , 'Faisal Latif' , 'Shiraz Saleem' , 'Selvin Xavier' , 'Christian Benvenuti' , 'Dave Goodell' , 'Adit Ranadive' , 'Michal Kalderon' , 'Rajesh Borundia' List-Id: linux-rdma@vger.kernel.org > Subject: [PATCH rdma-next V1 5/5] IB: Query port through the core instead of > directly calling the driver handler > > From: Or Gerlitz > > 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 > Reviewed-by: Matan Barak > Signed-off-by: Leon Romanovsky cxgb* parts look fine. Reviewed-by: Steve Wise -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html