[dpdk-dev] [PATCH v1 1/7] power_intrinsics: allow monitor checks inversion
David Marchand
david.marchand at redhat.com
Fri Jul 9 17:03:32 CEST 2021
On Thu, Jun 24, 2021 at 4:35 PM Burakov, Anatoly
<anatoly.burakov at intel.com> wrote:
> Right, so the idea is store the PMD-specific data in the monitor
> condition, and leave it to the callback to interpret it.
>
> The obvious question then is, how many values is enough? Two? Three?
> Four? This option doesn't really solve the basic issue, it just kicks
> the can down the road. I guess three values should be enough for
> everyone (tm) ? :D
Can we have multiple callbacks executed for a given rxq?
Since this is on the rx path, I would say no, but I might be missing
some consideration for future evols of this API.
In this case, a private field in rxq seems a good place for temporary
storage, and then we simply pass a void * opaque pointer.
--
David marchand
More information about the dev
mailing list