On Wed, Sep 30, 2020 at 08:49:55AM -0700, Jakub Kicinski wrote:
> Hi!
>
> I'd like to be able to dump ethtool nl policies, but right now policy
> dumping is only supported for "global" family policies.
>
> Is there any reason not to put the policy in struct genl_ops,
> or just nobody got to it, yet?
>
> I get the feeling that this must have been discussed before...
It used to be per-cmd but with common maxattr which didn't make much
sense. In 5.2 cycle, commit 3b0f31f2b8c9 ("genetlink: make policy common
to family") changed it to common policy for each family.
Michal