Thread (11 messages) flat view 11 messages, 2 authors, 2020-10-03

Re: [PATCH net-next v3 0/9] genetlink: support per-command policy dump

From: David Miller <davem@davemloft.net>
Date: 2020-10-03 02:11:41

From: Jakub Kicinski <kuba@kernel.org>
Date: Fri,  2 Oct 2020 14:49:51 -0700
The objective of this series is to dump ethtool policies
to be able to tell which flags are supported by the kernel.
Current release adds ETHTOOL_FLAG_STATS for dumping extra
stats, but because of strict checking we need to make sure
that the flag is actually supported before setting it in
a request.

Ethtool policies are per command, and so far only dumping
family policies was supported.

The series adds new set of "light" ops to genl families which
don't have all the callbacks, and won't have the policy.
Most of families are then moved to these ops. This gives
us 4096B in savings on an allyesconfig build (not counting
the growth that would have happened when policy is added):

     text       data       bss        dec       hex
244415581  227958581  78372980  550747142  20d3bc06
244415581  227962677  78372980  550751238  20d3cc06

Next 5 patches deal the dumping per-op policy.
 ...

Series applied, thanks Jakub.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help