public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [net-next 0/3] psp: Support PSP reset statistics
@ 2026-03-02 19:53 Akhilesh Samineni
  2026-03-02 19:53 ` [net-next 1/3] psp: Support resetting statistics on a device Akhilesh Samineni
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Akhilesh Samineni @ 2026-03-02 19:53 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, andrew+netdev, horms, willemb,
	daniel.zahka
  Cc: netdev, linux-kernel, jayakrishnan.udayavarma, ajit.khaparde,
	kiran.kella, akhilesh.samineni, sachin.suman

The series adds a netlink command to reset per-device PSP statistics
and implements it in netdevsim with reset stats in data traffic test.

Ran selftest for PSP :

# python psp.py
TAP version 13
1..28
ok 1 psp.data_basic_send_v0_ip4
ok 2 psp.data_basic_send_v0_ip6
ok 3 psp.data_basic_send_v1_ip4
ok 4 psp.data_basic_send_v1_ip6
ok 5 psp.data_basic_send_v2_ip4
ok 6 psp.data_basic_send_v2_ip6
ok 7 psp.data_basic_send_v3_ip4
ok 8 psp.data_basic_send_v3_ip6
ok 9 psp.data_mss_adjust_ip4
ok 10 psp.data_mss_adjust_ip6
ok 11 psp.dev_list_devices
ok 12 psp.dev_get_device
ok 13 psp.dev_get_device_bad
ok 14 psp.dev_rotate
ok 15 psp.dev_rotate_spi
ok 16 psp.assoc_basic
ok 17 psp.assoc_bad_dev
ok 18 psp.assoc_sk_only_conn
ok 19 psp.assoc_sk_only_mismatch
ok 20 psp.assoc_sk_only_mismatch_tx
ok 21 psp.assoc_sk_only_unconn
ok 22 psp.assoc_version_mismatch
ok 23 psp.assoc_twice
ok 24 psp.data_send_bad_key
ok 25 psp.data_send_disconnect
ok 26 psp.data_stale_key
ok 27 psp.removal_device_rx
ok 28 psp.removal_device_bi
# Totals: pass:28 fail:0 xfail:0 xpass:0 skip:0 error:0
#
# Responder logs (0):
# STDERR:
# #  Set PSP enable on device 3 to 0xf
# #  Set PSP enable on device 3 to 0x0
#

Akhilesh Samineni (3):
  psp: Support resetting statistics on a device
  netdevsim: psp: Handle statistics reset
  selftests: drv-net: psp: add reset statistics test

 Documentation/netlink/specs/psp.yaml       | 13 +++++++++++++
 drivers/net/netdevsim/psp.c                | 14 ++++++++++++++
 include/net/psp/types.h                    |  6 ++++++
 include/uapi/linux/psp.h                   |  1 +
 net/psp/psp-nl-gen.c                       | 14 ++++++++++++++
 net/psp/psp-nl-gen.h                       |  1 +
 net/psp/psp_nl.c                           | 24 ++++++++++++++++++++++++
 tools/testing/selftests/drivers/net/psp.py | 18 ++++++++++++++++++
 8 files changed, 91 insertions(+)

-- 
2.45.4


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

end of thread, other threads:[~2026-03-06 20:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 19:53 [net-next 0/3] psp: Support PSP reset statistics Akhilesh Samineni
2026-03-02 19:53 ` [net-next 1/3] psp: Support resetting statistics on a device Akhilesh Samineni
2026-03-02 21:15   ` Willem de Bruijn
2026-03-05 10:54     ` Akhilesh Samineni
2026-03-05 14:25       ` Willem de Bruijn
2026-03-06 15:50         ` Akhilesh Samineni
2026-03-06 20:37           ` Willem de Bruijn
2026-03-05 14:59       ` Jakub Kicinski
2026-03-06 15:54         ` Akhilesh Samineni
2026-03-06 20:34           ` Jakub Kicinski
2026-03-02 19:53 ` [net-next 2/3] netdevsim: psp: Handle statistics reset Akhilesh Samineni
2026-03-02 19:53 ` [net-next 3/3] selftests: drv-net: psp: add reset statistics test Akhilesh Samineni
2026-03-02 23:05   ` Jakub Kicinski
2026-03-05 10:55     ` Akhilesh Samineni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox