All of lore.kernel.org
 help / color / mirror / Atom feed
* [Accel-config] Re: [PATCH 0/2] Add API to get wq occupancy
@ 2021-08-11 17:03 Dave Jiang
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jiang @ 2021-08-11 17:03 UTC (permalink / raw)
  To: accel-config

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Accel-config] Re: [PATCH 0/2] Add API to get wq occupancy
@ 2021-08-11 16:52 Luck, Tony
  0 siblings, 0 replies; 2+ messages in thread
From: Luck, Tony @ 2021-08-11 16:52 UTC (permalink / raw)
  To: accel-config

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

> 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?"

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).

-Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-11 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 17:03 [Accel-config] Re: [PATCH 0/2] Add API to get wq occupancy Dave Jiang
  -- strict thread matches above, loose matches on Subject: below --
2021-08-11 16:52 Luck, Tony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.