RE: [PATCH rdma-core 2/4] providers: Make every provider allocate a verbs_device

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

 



> Switch struct ibv_device to verbs_device in the provider specific device
> structure and use calloc to allocate it so the unset bytes are zero.
> 
> This lets us change the return type of ibv_driver_init_func to
> struct verbs_device without changing the control flow at all.
> 
> Also make a few _init functions static for consistency/simplicity.
> 
> Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>

cxgb* changes 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



[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