[Accel-config] Re: [PATCH 0/2] Add API to get wq occupancy
Dave Jiang <dave.jiang at intel.com> Wed, 11 Aug 2021 10:03:43 -0700
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
On 8/11/2021 9:52 AM, Luck, Tony wrote: >> Adds API to get wq occupancy attribute and include in wq listing. > What do we mean by "occupancy"? To me that sounds like "how many of the available slots in the WQ are in use?" Correct. > > Does the h/w provide that information? It seems like it would be transient (i.e. the device will process descriptors > and change the value almost as fast as it can be read). > Yes the hw provides that. And yes it's transient. user library people wanted to use that as a way to guesstimate flow control I believe.