Content-Type: multipart/mixed; boundary="===============6251168073443147174==" MIME-Version: 1.0 From: Dave Jiang Subject: [Accel-config] Re: [PATCH 0/2] Add API to get wq occupancy Date: Wed, 11 Aug 2021 10:03:43 -0700 Message-ID: <2fb69036-7df1-9dc8-b021-1c3565996392@intel.com> In-Reply-To: 45ef0042700a43dea01889964ccb209c@intel.com To: accel-config@lists.01.org List-ID: --===============6251168073443147174== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 a= vailable slots in the WQ are in use?" Correct. > > Does the h/w provide that information? It seems like it would be transien= t (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. --===============6251168073443147174==--