diff options
author | Amritha Nambiar <amritha.nambiar@intel.com> | 2023-12-02 00:28:51 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-05 03:04:05 +0100 |
commit | ff9991499fb53575c45eb92cd064bcd7141bb572 (patch) | |
tree | 7c2c3624622813b22feadb90f3b1de7c42c11b07 /net/core/netdev-genl-gen.h | |
parent | netdev-genl: Add netlink framework functions for queue (diff) | |
download | linux-ff9991499fb53575c45eb92cd064bcd7141bb572.tar.xz linux-ff9991499fb53575c45eb92cd064bcd7141bb572.zip |
netdev-genl: spec: Extend netdev netlink spec in YAML for NAPI
Add support in netlink spec(netdev.yaml) for napi related information.
Add code generated from the spec.
Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Link: https://lore.kernel.org/r/170147333119.5260.7050639053080529108.stgit@anambiarhost.jf.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/netdev-genl-gen.h')
-rw-r--r-- | net/core/netdev-genl-gen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/netdev-genl-gen.h b/net/core/netdev-genl-gen.h index 086623c1797a..a47f2bcbe4fa 100644 --- a/net/core/netdev-genl-gen.h +++ b/net/core/netdev-genl-gen.h @@ -26,6 +26,8 @@ int netdev_nl_page_pool_stats_get_dumpit(struct sk_buff *skb, int netdev_nl_queue_get_doit(struct sk_buff *skb, struct genl_info *info); int netdev_nl_queue_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); +int netdev_nl_napi_get_doit(struct sk_buff *skb, struct genl_info *info); +int netdev_nl_napi_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb); enum { NETDEV_NLGRP_MGMT, |