RE: [PATCH 06/10] IB/hfi1: Add ioctl() interface for user commands

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

 



> Let's assume that you are planning to provide block of 20 ioctls per
> device. Right now, there are 10 (or 8 if we count driver families) drivers in
> drivers/infiniband/hw/ + 1 is coming (HSI) + uverbs (approximately 40)
> => 8 * 20 + 20 + 40 = 220 ioctls => we already in shortage without room
> to expansion.

Ioctl commands are naturally scoped per open file.  Unless the opened file supports ioctls directed to every piece of hardware, I don't see why there's an obsession with command space.
--
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