RE: [PATCH v10 04/20] dlb: add device ioctl layer and first three ioctls

2021-03-09 Thread Chen, Mike Ximing
> From: Greg KH > On Wed, Feb 10, 2021 at 11:54:07AM -0600, Mike Ximing Chen wrote: > > +/* > > + * DLB_CMD_CREATE_SCHED_DOMAIN: Create a DLB 2.0 scheduling domain and > reserve > > + * its hardware resources. This command returns the newly created domain > > + * ID and a file descriptor for acces

Re: [PATCH v10 04/20] dlb: add device ioctl layer and first three ioctls

2021-03-09 Thread Greg KH
On Wed, Feb 10, 2021 at 11:54:07AM -0600, Mike Ximing Chen wrote: > +/* > + * DLB_CMD_CREATE_SCHED_DOMAIN: Create a DLB 2.0 scheduling domain and > reserve > + * its hardware resources. This command returns the newly created domain > + * ID and a file descriptor for accessing the domain. > + *

[PATCH v10 04/20] dlb: add device ioctl layer and first three ioctls

2021-02-10 Thread Mike Ximing Chen
Introduce the dlb device ioctl layer and the first three ioctls: query device version, query available resources, and create a scheduling domain. Also introduce the user-space interface file dlb_user.h. The device version query is designed to allow each DLB device version/type to have its own uniq