net: buf: Add a user_data's default and range for TCP2
TCP2 uses the user_data area for linking the network buffers in its windows. Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
7ca983e6d3
commit
29653b0603
|
@ -18,9 +18,10 @@ if NET_BUF
|
|||
|
||||
config NET_BUF_USER_DATA_SIZE
|
||||
int "Size of user_data available in every network buffer"
|
||||
default 8 if BT
|
||||
default 8 if BT || (NET_TCP2 && (X86_64 || 64BIT))
|
||||
default 4
|
||||
range 8 65535 if BT
|
||||
range 4 65535 if NET_TCP2
|
||||
range 0 65535
|
||||
help
|
||||
Amount of memory reserved in each network buffer for user data. In
|
||||
|
|
Loading…
Reference in a new issue