mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
f96aae91b0
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:
|
||
---|---|---|
.. | ||
specs | ||
genetlink-c.yaml | ||
genetlink-legacy.yaml | ||
genetlink.yaml | ||
netlink-raw.yaml |