Skip to content

Commit 49732b2

Browse files
pfalconjukkar
authored andcommitted
net: Move CONFIG_NET_OFFLOAD definition to net/ip/
CONFIG_NET_OFFLOAD was defined in Kconfig of net/ip/l2/, but actually used by the code in net/ip/. Fixes: #8646 Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 84c352d commit 49732b2

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

subsys/net/ip/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,4 +472,17 @@ source "subsys/net/ip/Kconfig.rpl"
472472

473473
source "subsys/net/ip/Kconfig.stats"
474474

475+
config NET_OFFLOAD
476+
bool "Offload IP stack [EXPERIMENTAL]"
477+
help
478+
Enables TCP/IP stack to be offload to a co-processor.
479+
480+
config NET_DEBUG_NET_OFFLOAD
481+
bool "Debug Net Offload Layer"
482+
default y if NET_LOG_GLOBAL
483+
depends on NET_LOG
484+
depends on NET_OFFLOAD
485+
help
486+
Enables offload TCP/IP stack output debug messages.
487+
475488
endmenu

subsys/net/l2/Kconfig

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,6 @@
66

77
menu "Link layer options"
88

9-
config NET_OFFLOAD
10-
bool "Offload IP stack [EXPERIMENTAL]"
11-
help
12-
Enables TCP/IP stack to be offload to a co-processor.
13-
14-
config NET_DEBUG_NET_OFFLOAD
15-
bool "Debug Net Offload Layer"
16-
default y if NET_LOG_GLOBAL
17-
depends on NET_LOG
18-
depends on NET_OFFLOAD
19-
help
20-
Enables offload TCP/IP stack output debug messages.
21-
229
config NET_L2_DUMMY
2310
bool "Enable dummy l2 layer"
2411
default y if !NET_L2_ETHERNET && NET_TEST

0 commit comments

Comments
 (0)