]> git.baikalelectronics.ru Git - kernel.git/commit
mlx5: add support for page_pool_get_stats
authorJoe Damato <jdamato@fastly.com>
Wed, 2 Mar 2022 07:55:51 +0000 (23:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 09:55:28 +0000 (09:55 +0000)
commit0d570186b877c60998677f4f40d472aaac99685f
treea9679043361f8ad4fc325267136a919cb3f2aa66
parentae293b7d07ae22a5a7e8c7283b278d2efd1b36b8
mlx5: add support for page_pool_get_stats

This change adds support for the page_pool_get_stats API to mlx5. If the
user has enabled CONFIG_PAGE_POOL_STATS in their kernel, ethtool will
output page pool stats.

Signed-off-by: Joe Damato <jdamato@fastly.com>
Acked-by: Saeed Mahameed <saeed@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/en_stats.h