On Fri, 30 Oct 2026 11:41:57 +0800
Chengwen Feng <[email protected]> wrote:
> When the "hide_zero" parameter is parsed successfully in the ethdev
> telemetry regs command, the else branch unconditionally resets
> hide_zero back to false, discarding the parsed value. As a result the
> hide_zero option is silently ignored.
>
> Remove the unnecessary reset so the parsed hide_zero value is retained
> and passed to eth_dev_get_port_regs().
>
> Fixes: ba4d57bd849d ("ethdev: support hide zero in registers telemetry")
> Cc: [email protected]
>
> Signed-off-by: Chengwen Feng <[email protected]>
> ---
Applied to next-net.
Note: this all gets a lot cleaner if/when the kvargs helpers get merged
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/