On Mon, Jul 25, 2016 at 11:32:23AM -0500, Christoph Lameter wrote: > On Thu, 21 Jul 2016, Jason Gunthorpe wrote: > > > I'm not so sure I want to see MLX5_CREATE_QP, MLX4_CREATE_QP, > > QIB_CREATE_QP, etc, etc as ioctl numbers, that seems difficult > > to implement the common code for. > > Nobody wants that.... Why would that follow? Of course we would have > common ioctls that create QPs in the same way for all drivers. No, not of course. We don't have that today. Today every single command is split between a commmon part and a variable sized (two-way) driver-specific part. Nobody has come up with some way to avoid that, so the plan is to continue that scheme. Thus, every ioctl has a unique struct layout for every driver. Christoph H. just said dynamic variable sized ioctl input structures are ugly, so this is an alternative. Is this alternative less ugly than the variable struct? Jason -- 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