diff options
author | David S. Miller <davem@davemloft.net> | 2020-10-06 15:25:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-06 15:25:56 +0200 |
commit | 9faebeb2d80065926dfbc09cb73b1bb7779a89cd (patch) | |
tree | 09c011ae2e2e53713b8d3ee0e531fdfa4dbf29bd /drivers/parisc | |
parent | Merge branch 'drivers-net-add-sw_netstats_rx_add-helper' (diff) | |
parent | ethtool: specify which header flags are supported per command (diff) | |
download | linux-9faebeb2d80065926dfbc09cb73b1bb7779a89cd.tar.xz linux-9faebeb2d80065926dfbc09cb73b1bb7779a89cd.zip |
Merge branch 'ethtool-allow-dumping-policies-to-user-space'
Jakub Kicinski says:
====================
ethtool: allow dumping policies to user space
This series wires up ethtool policies to ops, so they can be
dumped to user space for feature discovery.
First patch wires up GET commands, and second patch wires up SETs.
The policy tables are trimmed to save space and LoC.
Next - take care of linking up nested policies for the header
(which is the policy what we actually care about). And once header
policy is linked make sure that attribute range validation for flags
is done by policy, not a conditions in the code. New type of policy
is needed to validate masks (patch 6).
Netlink as always staying a step ahead of all the other kernel
API interfaces :)
v2:
- merge patches 1 & 2 -> 1
- add patch 3 & 5
- remove .max_attr from struct ethnl_request_ops
====================
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions