Thread (76 messages) 76 messages, 6 authors, 2022-09-29

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

From: Alexander Kozyrev <hidden>
Date: 2022-06-01 03:33:54

On Thursday, May 26, 2022 8:28 Ori Kam [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help