[PATCH v2 3/4] ethdev: get meter profile/policy objects

Alexander Kozyrev akozyrev at nvidia.com
Wed Jun 1 05:33:50 CEST 2022


On Thursday, May 26, 2022 8:28 Ori Kam <orika at nvidia.com> wrote:
> I think you should say also what happens to this pointer or values
> in case of modification of the policy or destroy of the policy.

Will mention this in the commit message in v3.
Pointer is expected to be invalid and cannot be used once policy destruction.

> I think it is important to explain what happens if a profile is changed to
> destroyed.
I thought it is pretty straight-forward.
Pointer is not valid in case an object is gone.
If it is updated then you can continue to use it.


More information about the dev mailing list