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:
Oleg Zhurakivskyy 2019-10-24 16:44:54 +03:00 committed by Jukka Rissanen
parent 7ca983e6d3
commit 29653b0603

View file

@ -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