On 10/28/26 3:52 PM, Eelco Chaudron via dev wrote:
> 
> 
> On 15 Oct 2026, at 14:17, Timothy Redaelli via dev wrote:
> 
>> When --format json is passed to ovs-appctl, pmd-sleep-show returns a
>> JSON object with "default-max-sleep-us" and a "threads" object.  Each
>> thread is keyed by a stable identifier ("pmd-cNN" derived from the core
>> ID) and contains "core", "max-sleep-us", and "numa" fields.
>>
>> The "pmd-cNN" key format is chosen over the full thread name
>> ("pmd-cNN/id:XXX") because the thread ID suffix is dynamic and would
>> make the key unstable across restarts.
>>
>> The implementation is split into separate text and JSON helper functions.
>>
>> Example output:
>>   {"default-max-sleep-us": 100,
>>    "threads": {"pmd-c03": {"core": 3, "max-sleep-us": 100,
>>                             "numa": 1}}}
>>
>> Signed-off-by: Timothy Redaelli <[email protected]>
> 
> 
> Thanks Timothy, for sending out the new revision. The changes look good to me.
> 
> Acked-by: Eelco Chaudron <[email protected]>
Thanks, Timothy and Eelco!  Applied this one patch as well, so we don't
need to drag them along for the next revisions.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to