Re: [PATCH rdma-next V1 5/5] IB: Query port through the core instead of directly calling the driver handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 24, 2017 at 1:02:39PM +0200, Leon Romanovsky wrote:
> 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>

vmw_pvrdma changes look fine.

Acked-by: Adit Ranadive <aditr@xxxxxxxxxx>
--
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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux