Hi, On Thu, 22 Aug 2024 at 02:13, Yichen Wang <yichen.w...@bytedance.com> wrote: > After discussing with Intel folks, I decided to align to the existing > QPL behavior. In QPL, the code path of compression will always go > through regardless. When acceleration hardware is initialized > properly, use it. If failed, fallback to software path automatically. > So in this QAT case, I do the same. The line of "ret = > qzInit(&q->sess, true);" will do the auto software fallback.
* I see. > Oh, this line is purely for breaking the big patch into two commits. > This one plus the following commit [4/5] together implements the full > feature. I can remove this from the commit message if you prefer. * Yes, that'll be nice. Thank you. --- - Prasad