linux/Documentation/netlink/specs
Samiullah Khawaja 8e7583a4f6 net: define an enum for the napi threaded state
Instead of using '0' and '1' for napi threaded state use an enum with
'disabled' and 'enabled' states.

Tested:
 ./tools/testing/selftests/net/nl_netdev.py
 TAP version 13
 1..7
 ok 1 nl_netdev.empty_check
 ok 2 nl_netdev.lo_check
 ok 3 nl_netdev.page_pool_check
 ok 4 nl_netdev.napi_list_check
 ok 5 nl_netdev.dev_set_threaded
 ok 6 nl_netdev.napi_set_threaded
 ok 7 nl_netdev.nsim_rxq_reset_down
 # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0

Signed-off-by: Samiullah Khawaja <skhawaja@google.com>
Link: https://patch.msgid.link/20250723013031.2911384-4-skhawaja@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-24 18:34:55 -07:00
..
conntrack.yaml netlink: specs: fix up indentation errors 2025-06-11 14:01:19 -07:00
devlink.yaml devlink: Fix excessive stack usage in rate TC bandwidth parsing 2025-07-23 17:07:35 -07:00
dpll.yaml dpll: add reference-sync netlink attribute 2025-06-27 16:38:02 -07:00
ethtool.yaml ethtool: rss: support removing contexts via Netlink 2025-07-21 18:21:19 -07:00
fou.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
handshake.yaml net/handshake: Add new parameter 'HANDSHAKE_A_ACCEPT_KEYRING' 2025-07-08 15:31:44 +02:00
lockd.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
mptcp_pm.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
net_shaper.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
netdev.yaml net: define an enum for the napi threaded state 2025-07-24 18:34:55 -07:00
nfsd.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
nftables.yaml netlink: specs: wrap long doc lines (>80 chars) 2025-06-11 14:01:19 -07:00
nl80211.yaml netlink: specs: wrap long doc lines (>80 chars) 2025-06-11 14:01:19 -07:00
nlctrl.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
ovpn.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
ovs_datapath.yaml netlink: specs: add doc start markers to yaml 2025-06-11 14:01:19 -07:00
ovs_flow.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
ovs_vport.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
rt-addr.yaml netlink: specs: add doc start markers to yaml 2025-06-11 14:01:19 -07:00
rt-link.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
rt-neigh.yaml neighbor: Add NTF_EXT_VALIDATED flag for externally validated entries 2025-06-30 18:14:23 -07:00
rt-route.yaml netlink: specs: fix up spaces before comments 2025-06-11 14:01:19 -07:00
rt-rule.yaml netlink: specs: add doc start markers to yaml 2025-06-11 14:01:19 -07:00
tc.yaml Documentation: netlink: specs: tc: Add DualPI2 specification 2025-07-23 17:52:09 -07:00
tcp_metrics.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
team.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00