Skip to content

[PATCH v3] linux-dpdk: pool: improve odp_pool_print() implementation#261

Merged
MatiasElo merged 1 commit intoOpenDataPlane:masterfrom
MatiasElo:dev/pool-print
Apr 21, 2026
Merged

[PATCH v3] linux-dpdk: pool: improve odp_pool_print() implementation#261
MatiasElo merged 1 commit intoOpenDataPlane:masterfrom
MatiasElo:dev/pool-print

Conversation

@MatiasElo
Copy link
Copy Markdown
Contributor

Print also ODP specific pool debug information in addition to DPDK mempool info.

@odpbuild odpbuild changed the title linux-dpdk: pool: improve odp_pool_print() implementation [PATCH v1] linux-dpdk: pool: improve odp_pool_print() implementation Apr 17, 2026
Comment thread platform/linux-dpdk/odp_pool.c Outdated
get_long_type_str(pool->type_2));
len += _odp_snprint(&str[len], n - len, " num %" PRIu32 "\n", pool->num);
len += _odp_snprint(&str[len], n - len, " external %" PRIu8 "\n", pool->pool_ext);
len += _odp_snprint(&str[len], n - len, " uarea size %u\n", pool->uarea_size);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the u could then be PRIu32 to match style.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in v2.

@odpbuild odpbuild changed the title [PATCH v1] linux-dpdk: pool: improve odp_pool_print() implementation [PATCH v2] linux-dpdk: pool: improve odp_pool_print() implementation Apr 21, 2026
Print also ODP specific pool debug information in addition to DPDK mempool
info.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
@odpbuild odpbuild changed the title [PATCH v2] linux-dpdk: pool: improve odp_pool_print() implementation [PATCH v3] linux-dpdk: pool: improve odp_pool_print() implementation Apr 21, 2026
@MatiasElo MatiasElo enabled auto-merge (rebase) April 21, 2026 11:07
@MatiasElo MatiasElo merged commit d126536 into OpenDataPlane:master Apr 21, 2026
146 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants