netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: support extack in dump and simplify ethtool uAPI
@ 2023-06-09 21:53 Jakub Kicinski
  2023-06-09 21:53 ` [PATCH net-next 1/2] netlink: support extack in dump ->start() Jakub Kicinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jakub Kicinski @ 2023-06-09 21:53 UTC (permalink / raw)
  To: davem; +Cc: netdev, edumazet, pabeni, dsahern, mkubecek, Jakub Kicinski

Ethtool currently requires header nest to be always present even if
it doesn't have to carry any attr for a given request. This inflicts
unnecessary pain on the users.

What makes it worse is that extack was not working in dump's ->start()
callback. Address both of those issues.

Jakub Kicinski (2):
  netlink: support extack in dump ->start()
  net: ethtool: don't require empty header nests

 include/linux/netlink.h  | 1 +
 net/ethtool/netlink.c    | 2 ++
 net/netlink/af_netlink.c | 2 ++
 net/netlink/genetlink.c  | 2 ++
 4 files changed, 7 insertions(+)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-12 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 21:53 [PATCH net-next 0/2] net: support extack in dump and simplify ethtool uAPI Jakub Kicinski
2023-06-09 21:53 ` [PATCH net-next 1/2] netlink: support extack in dump ->start() Jakub Kicinski
2023-06-09 21:53 ` [PATCH net-next 2/2] net: ethtool: don't require empty header nests Jakub Kicinski
2023-06-12 10:40 ` [PATCH net-next 0/2] net: support extack in dump and simplify ethtool uAPI patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).