linux/Documentation/netlink/specs
Jakub Kicinski d49010adae net: page_pool: expose page pool stats via netlink
Dump the stats into netlink. More clever approaches
like dumping the stats per-CPU for each CPU individually
to see where the packets get consumed can be implemented
in the future.

A trimmed example from a real (but recently booted system):

$ ./cli.py --no-schema --spec netlink/specs/netdev.yaml \
           --dump page-pool-stats-get
[{'info': {'id': 19, 'ifindex': 2},
  'alloc-empty': 48,
  'alloc-fast': 3024,
  'alloc-refill': 0,
  'alloc-slow': 48,
  'alloc-slow-high-order': 0,
  'alloc-waive': 0,
  'recycle-cache-full': 0,
  'recycle-cached': 0,
  'recycle-released-refcnt': 0,
  'recycle-ring': 0,
  'recycle-ring-full': 0},
 {'info': {'id': 18, 'ifindex': 2},
  'alloc-empty': 66,
  'alloc-fast': 11811,
  'alloc-refill': 35,
  'alloc-slow': 66,
  'alloc-slow-high-order': 0,
  'alloc-waive': 0,
  'recycle-cache-full': 1145,
  'recycle-cached': 6541,
  'recycle-released-refcnt': 0,
  'recycle-ring': 1275,
  'recycle-ring-full': 0},
 {'info': {'id': 17, 'ifindex': 2},
  'alloc-empty': 73,
  'alloc-fast': 62099,
  'alloc-refill': 413,
...

Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-11-28 15:48:39 +01:00
..
devlink.yaml devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
dpll.yaml dpll: spec: add support for pin-dpll signal phase offset/adjust 2023-10-15 16:08:24 +01:00
ethtool.yaml net: partial revert of the "Make timestamping selectable: series 2023-11-18 18:42:37 -08:00
fou.yaml netlink: specs: fix indent in fou 2023-08-24 19:04:20 -07:00
handshake.yaml handshake: Fix sign of key_serial_t fields 2023-10-02 12:34:21 -07:00
mptcp.yaml doc/netlink: Update schema to support cmd-cnt-name and cmd-max-name 2023-10-27 14:56:04 -07:00
netdev.yaml net: page_pool: expose page pool stats via netlink 2023-11-28 15:48:39 +01:00
nfsd.yaml NFSD: introduce netlink stubs 2023-10-16 12:44:09 -04:00
ovs_datapath.yaml netlink: specs: fixup openvswitch specs for code generation 2023-06-17 00:18:00 -07:00
ovs_flow.yaml netlink: specs: add display hints to ovs_flow 2023-06-24 15:45:49 -07:00
ovs_vport.yaml doc/netlink: Add delete operation to ovs_vport spec 2023-08-25 18:58:34 -07:00
rt_addr.yaml doc/netlink: Add spec for rt addr messages 2023-08-27 17:17:10 -07:00
rt_link.yaml doc/netlink: Add spec for rt link messages 2023-08-27 17:17:11 -07:00
rt_route.yaml doc/netlink: Add spec for rt route messages 2023-08-27 17:17:11 -07:00