RE: [PATCH v10 05/20] dlb: add scheduling domain configuration

2021-03-09 Thread Chen, Mike Ximing
> -Original Message- > From: Greg KH > > On Wed, Feb 10, 2021 at 11:54:08AM -0600, Mike Ximing Chen wrote: > > +static inline int dlb_bitmap_clear_range(struct dlb_bitmap *bitmap, > > +unsigned int bit, > > +unsign

Re: [PATCH v10 05/20] dlb: add scheduling domain configuration

2021-03-09 Thread Greg KH
On Wed, Feb 10, 2021 at 11:54:08AM -0600, Mike Ximing Chen wrote: > +/** > + * dlb_bitmap_clear_range() - clear a range of bitmap entries > + * @bitmap: pointer to dlb_bitmap structure. > + * @bit: starting bit index. > + * @len: length of the range. > + * > + * Return: > + * Returns 0 upon success

[PATCH v10 05/20] dlb: add scheduling domain configuration

2021-02-10 Thread Mike Ximing Chen
Add support for configuring a scheduling domain, creating the domain fd, and reserving the domain's resources. A scheduling domain serves as a container of DLB resources -- e.g. ports, queues, and credits -- with the property that a port can only enqueue to and dequeue from queues within its domai