1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/Documentation/netlink/specs
Jakub Kicinski f96aae91b0 ethtool: rss: echo the context number back
The response to a GET request in Netlink should fully identify
the queried object. RSS_GET accepts context id as an input,
so it must echo that attribute back to the response.

After (assuming context 1 has been created):

  $ ./cli.py --spec netlink/specs/ethtool.yaml \
             --do rss-get \
	     --json '{"header": {"dev-index": 2}, "context": 1}'
  {'context': 1,
   'header': {'dev-index': 2, 'dev-name': 'eth0'},
  [...]

Fixes: 7112a04664 ("ethtool: add netlink based get rss support")
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20240724234249.2621109-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-25 16:23:47 -07:00
..
devlink.yaml devlink: Fix length of eswitch inline-mode 2024-03-11 13:13:53 -07:00
dpll.yaml doc: netlink: Don't 'sanitize' op docstrings in generated .rst 2024-05-29 18:10:25 -07:00
ethtool.yaml ethtool: rss: echo the context number back 2024-07-25 16:23:47 -07: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_pm.yaml mptcp: add token for get-addr in yaml 2024-03-04 13:07:45 +00:00
netdev.yaml netdev: add qstat for csum complete 2024-05-30 12:15:56 +02:00
nfsd.yaml nfsd: new netlink ops to get/set server pool_mode 2024-07-08 14:10:05 -04:00
nftables.yaml doc/netlink/specs: Add draft nftables spec 2024-04-22 17:20:42 -07:00
nlctrl.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00
ovs_datapath.yaml netlink: specs: ovs: correct enum names in specs 2023-12-15 12:17:16 +00:00
ovs_flow.yaml net: openvswitch: add psample action 2024-07-05 17:45:47 -07:00
ovs_vport.yaml netlink: specs: ovs: remove fixed header fields from attrs 2023-12-15 12:17:16 +00:00
rt_addr.yaml doc/netlink: Add spec for rt addr messages 2023-08-27 17:17:10 -07:00
rt_link.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-05-09 10:01:01 -07:00
rt_route.yaml doc/netlink: Add spec for rt route messages 2023-08-27 17:17:11 -07:00
tc.yaml doc: netlink: specs: tc: flower: add enc-flags 2024-07-15 09:14:39 -07:00
tcp_metrics.yaml tcp_metrics: add netlink protocol spec in YAML 2024-07-01 09:44:27 +01:00
team.yaml Documentation: netlink: add a YAML spec for team 2024-04-02 18:24:32 -07:00