]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx4_en: Use ethtool_puts/sprintf to fill stats strings
authorKamal Heib <kheib@redhat.com>
Mon, 17 Jun 2024 17:23:29 +0000 (13:23 -0400)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jun 2024 01:19:18 +0000 (18:19 -0700)
commit6c7dd432dcbccdad9474aa9d45ec0d52c609d937
treeb5b06bcaa6ae9d369d4c5a602707591f10c89c9d
parent4454929c345dbd657dd5a6ae816050d140d228c0
net/mlx4_en: Use ethtool_puts/sprintf to fill stats strings

Use the ethtool_puts/ethtool_sprintf helper to print the stats strings
into the ethtool strings interface.

Signed-off-by: Kamal Heib <kheib@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240617172329.239819-4-kheib@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c