netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH ethtool-next v2 0/2] Userspace code for ethtool HW TS statistics
@ 2024-04-17 20:38 Rahul Rameshbabu
  2024-04-17 20:38 ` [PATCH ethtool-next v2 1/2] update UAPI header copies Rahul Rameshbabu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rahul Rameshbabu @ 2024-04-17 20:38 UTC (permalink / raw)
  To: netdev
  Cc: Vadim Fedorenko, Jacob Keller, Paolo Abeni, Jakub Kicinski,
	David S. Miller, Eric Dumazet, Gal Pressman, Tariq Toukan,
	Saeed Mahameed, Carolina Jubran, Cosmin Ratiu, Michal Kubecek,
	Alexandra Winter, Rahul Rameshbabu

Adds support for querying statistics related to tsinfo if the kernel supports
such statistics.

Changes:
  v1->v2:
    - Updated UAPI header copy to be based on a valid commit in the
      net-next tree. Thanks Alexandra Winter <wintera@linux.ibm.com> for
      the catch.
    - Refactored logic based on a suggestion from Jakub Kicinski
      <kuba@kernel.org>.

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Link: https://lore.kernel.org/netdev/20240403212931.128541-1-rrameshbabu@nvidia.com/
Link: https://lore.kernel.org/netdev/20240416203723.104062-1-rrameshbabu@nvidia.com/
---
Rahul Rameshbabu (2):
  update UAPI header copies
  netlink: tsinfo: add statistics support

 netlink/tsinfo.c             | 65 +++++++++++++++++++++++++++++++++++-
 uapi/linux/ethtool.h         | 64 +++++++++++++++++++++++++++++++++++
 uapi/linux/ethtool_netlink.h | 30 +++++++++++++----
 uapi/linux/if_link.h         |  1 +
 4 files changed, 153 insertions(+), 7 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-24 19:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-17 20:38 [PATCH ethtool-next v2 0/2] Userspace code for ethtool HW TS statistics Rahul Rameshbabu
2024-04-17 20:38 ` [PATCH ethtool-next v2 1/2] update UAPI header copies Rahul Rameshbabu
2024-04-17 20:38 ` [PATCH ethtool-next v2 2/2] netlink: tsinfo: add statistics support Rahul Rameshbabu
2024-04-17 21:30 ` [PATCH ethtool-next v2 0/2] Userspace code for ethtool HW TS statistics patchwork-bot+netdevbpf
2024-04-18  6:30   ` Michal Kubecek
2024-04-18  6:32     ` Rahul Rameshbabu
2024-04-24 18:58       ` Rahul Rameshbabu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).