Skip to content

Commit 36f5600

Browse files
tejlmandcarlescufi
authored andcommitted
kconfig: net: experimental settings now uses select EXPERIMENTAL
With the introduction of `EXPERIMENTAL` and `WARN_EXPERIMENTAL` in Zephyr all subsys/net and drivers/ethernet/Kconfig.e1000 settings having `[EXPERIMENTAL]` in their prompt has has been updated to include `select EXPERIMENTAL` so that developers can enable warnings when experimental features are enabled. The following settings has EXPERIMENTAL removed as they are considered mature: - NET_OFFLOAD - NET_PROMISCUOUS_MODE Signed-off-by: Torsten Rasmussen <[email protected]>
1 parent 8aa7a65 commit 36f5600

File tree

11 files changed

+19
-2
lines changed

11 files changed

+19
-2
lines changed

drivers/ethernet/Kconfig.e1000

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ config ETH_E1000_VERBOSE_DEBUG
2727
config ETH_E1000_PTP_CLOCK
2828
bool "Enable PTP clock driver support [EXPERIMENTAL]"
2929
depends on PTP_CLOCK
30+
select EXPERIMENTAL
3031
default y
3132
help
3233
Enable PTP clock support. This is still a dummy that is only used

subsys/net/ip/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ config NET_NATIVE_UDP
3838
default y if NET_UDP
3939

4040
config NET_OFFLOAD
41-
bool "Offload IP stack [EXPERIMENTAL]"
41+
bool "Offload IP stack"
4242
help
4343
Enables TCP/IP stack to be offload to a co-processor.
4444

@@ -211,6 +211,7 @@ config NET_TC_THREAD_COOPERATIVE
211211
config NET_TC_THREAD_PREEMPTIVE
212212
bool "Use pre-emptive TX/RX threads [EXPERIMENTAL]"
213213
depends on PREEMPT_ENABLED
214+
select EXPERIMENTAL
214215
help
215216
With pre-emptive threads, the thread can be pre-empted.
216217

@@ -664,6 +665,7 @@ config NET_BUF_FIXED_DATA_SIZE
664665

665666
config NET_BUF_VARIABLE_DATA_SIZE
666667
bool "Variable data size buffer [EXPERIMENTAL]"
668+
select EXPERIMENTAL
667669
help
668670
The buffer is dynamically allocated from runtime requested size.
669671

@@ -825,7 +827,7 @@ config NET_PKT_TXTIME_STATS_DETAIL
825827
command.
826828

827829
config NET_PROMISCUOUS_MODE
828-
bool "Enable promiscuous mode support [EXPERIMENTAL]"
830+
bool "Enable promiscuous mode support"
829831
select NET_MGMT
830832
select NET_MGMT_EVENT
831833
select NET_L2_ETHERNET_MGMT if NET_L2_ETHERNET

subsys/net/ip/Kconfig.ipv4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ config NET_DHCPV4_INITIAL_DELAY_MAX
7575
config NET_IPV4_AUTO
7676
bool "Enable IPv4 autoconfiguration [EXPERIMENTAL]"
7777
depends on NET_ARP
78+
select EXPERIMENTAL
7879
help
7980
Enables IPv4 auto IP address configuration (see RFC 3927)
8081

subsys/net/l2/ethernet/gptp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
menuconfig NET_GPTP
55
bool "Enable IEEE 802.1AS (gPTP) support [EXPERIMENTAL]"
66
select NET_L2_PTP
7+
select EXPERIMENTAL
78
help
89
Enable gPTP driver that send and receives gPTP packets
910
and handles network packet timestamps.

subsys/net/l2/ieee802154/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ config NET_L2_IEEE802154_REASSEMBLY_TIMEOUT
115115

116116
config NET_L2_IEEE802154_SECURITY
117117
bool "Enable IEEE 802.15.4 security [EXPERIMENTAL]"
118+
select EXPERIMENTAL
118119
help
119120
Enable 802.15.4 frame security handling, in order to bring data
120121
confidentiality and authenticity.

subsys/net/l2/ppp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
menuconfig NET_L2_PPP
55
bool "Enable point-to-point (PPP) support [EXPERIMENTAL]"
6+
select EXPERIMENTAL
67
help
78
Add support for PPP.
89

subsys/net/lib/conn_mgr/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ menuconfig NET_CONNECTION_MANAGER
77
select NET_MGMT
88
select NET_MGMT_EVENT
99
select NET_MGMT_EVENT_INFO
10+
select EXPERIMENTAL
1011
help
1112
When enabled, this will start the connection manager that will
1213
listen to network interface and IP events in order to verify

subsys/net/lib/http/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ config HTTP_CLIENT
2626
bool "HTTP client API [EXPERIMENTAL]"
2727
select HTTP_PARSER
2828
select HTTP_PARSER_URL
29+
select EXPERIMENTAL
2930
help
3031
HTTP client API
3132

subsys/net/lib/sockets/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ config NET_SOCKETS_SOCKOPT_TLS
6868
bool "Enable TCP TLS socket option support [EXPERIMENTAL]"
6969
imply TLS_CREDENTIALS
7070
select MBEDTLS if NET_NATIVE
71+
select EXPERIMENTAL
7172
help
7273
Enable TLS socket option support which automatically establishes
7374
a TLS connection to the remote host.
@@ -99,6 +100,7 @@ config NET_SOCKETS_ENABLE_DTLS
99100
bool "Enable DTLS socket support [EXPERIMENTAL]"
100101
depends on NET_SOCKETS_SOCKOPT_TLS
101102
select MBEDTLS_DTLS if NET_NATIVE
103+
select EXPERIMENTAL
102104
help
103105
Enable DTLS socket support. By default only TLS over TCP is supported.
104106

@@ -152,6 +154,7 @@ config NET_SOCKETS_TLS_MAX_APP_PROTOCOLS
152154

153155
config NET_SOCKETS_OFFLOAD
154156
bool "Offload Socket APIs [EXPERIMENTAL]"
157+
select EXPERIMENTAL
155158
help
156159
Enables direct offloading of socket operations to dedicated TCP/IP
157160
hardware.
@@ -196,6 +199,7 @@ config NET_SOCKETS_PACKET_DGRAM
196199
config NET_SOCKETS_CAN
197200
bool "Enable socket CAN support [EXPERIMENTAL]"
198201
select NET_L2_CANBUS_RAW
202+
select EXPERIMENTAL
199203
help
200204
The value depends on your network needs.
201205

@@ -209,6 +213,7 @@ config NET_SOCKETS_CAN_RECEIVERS
209213

210214
config NET_SOCKETPAIR
211215
bool "Support for the socketpair syscall [EXPERIMENTAL]"
216+
select EXPERIMENTAL
212217
depends on HEAP_MEM_POOL_SIZE != 0
213218
help
214219
Choose y here if you would like to use the socketpair(2)
@@ -226,6 +231,7 @@ config NET_SOCKETS_NET_MGMT
226231
bool "Enable network management socket support [EXPERIMENTAL]"
227232
depends on NET_MGMT_EVENT
228233
select NET_MGMT_EVENT_INFO
234+
select EXPERIMENTAL
229235
help
230236
Select this if you want to use socket API to get network
231237
managements events to your application.

subsys/net/lib/tftp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config TFTP_LIB
77
bool "Socket TFTP Library Support [EXPERIMENTAL]"
88
select NET_SOCKETS
99
select NET_SOCKETS_POSIX_NAMES
10+
select EXPERIMENTAL
1011
help
1112
Enable the Zephyr TFTP Library
1213

0 commit comments

Comments
 (0)