Commit fa7b151a authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Grzegorz Daniluk

Kconfig: provide a good default for LATENCY_ETHTYPE

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 6525e9d1
...@@ -108,7 +108,7 @@ config W1 ...@@ -108,7 +108,7 @@ config W1
config LATENCY_ETHTYPE config LATENCY_ETHTYPE
int int
default 0 default 291
# The other ones can be set by non-developers # The other ones can be set by non-developers
...@@ -490,6 +490,10 @@ config LATENCY_PROBE ...@@ -490,6 +490,10 @@ config LATENCY_PROBE
config LATENCY_ETHTYPE config LATENCY_ETHTYPE
depends on LATENCY_PROBE depends on LATENCY_PROBE
int "Ethtype to use for latency probing" int "Ethtype to use for latency probing"
default 291
help
Ethertypes 0x0101-0x01ff are marked as "experimental", apparently.
So 0x0123 (291)is a good default, but please pick yours.
# This is needed to size the pp_instance data strucuture. Instead of # This is needed to size the pp_instance data strucuture. Instead of
# including the ppsi autoconf.h, with duplicate definitions, define it # including the ppsi autoconf.h, with duplicate definitions, define it
......
...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=10240 ...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=10240
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
# CONFIG_P2P is not set # CONFIG_P2P is not set
CONFIG_IP=y CONFIG_IP=y
CONFIG_CMD_CONFIG=y CONFIG_CMD_CONFIG=y
......
...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=10240 ...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=10240
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
CONFIG_P2P=y CONFIG_P2P=y
CONFIG_IP=y CONFIG_IP=y
CONFIG_CMD_CONFIG=y CONFIG_CMD_CONFIG=y
......
...@@ -22,7 +22,7 @@ CONFIG_HOST_PROCESS=y ...@@ -22,7 +22,7 @@ CONFIG_HOST_PROCESS=y
CONFIG_STACKSIZE=2048 CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
# CONFIG_UART is not set # CONFIG_UART is not set
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
CONFIG_P2P=y CONFIG_P2P=y
CONFIG_IP=y CONFIG_IP=y
CONFIG_CMD_CONFIG=y CONFIG_CMD_CONFIG=y
......
...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048 ...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
# CONFIG_P2P is not set # CONFIG_P2P is not set
# CONFIG_IP is not set # CONFIG_IP is not set
# CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONFIG is not set
......
...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048 ...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
CONFIG_P2P=y CONFIG_P2P=y
# CONFIG_IP is not set # CONFIG_IP is not set
# CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONFIG is not set
......
...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048 ...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
# CONFIG_P2P is not set # CONFIG_P2P is not set
CONFIG_IP=y CONFIG_IP=y
# CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONFIG is not set
......
...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=2048 ...@@ -23,7 +23,7 @@ CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
# CONFIG_P2P is not set # CONFIG_P2P is not set
CONFIG_IP=y CONFIG_IP=y
# CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONFIG is not set
......
...@@ -17,7 +17,7 @@ CONFIG_VLAN_FOR_CLASS6=0 ...@@ -17,7 +17,7 @@ CONFIG_VLAN_FOR_CLASS6=0
CONFIG_LM32=y CONFIG_LM32=y
# CONFIG_EMBEDDED_NODE is not set # CONFIG_EMBEDDED_NODE is not set
CONFIG_UART=y CONFIG_UART=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
CONFIG_INIT_COMMAND="" CONFIG_INIT_COMMAND=""
CONFIG_HAS_BUILD_INIT=0 CONFIG_HAS_BUILD_INIT=0
CONFIG_HAS_FLASH_INIT=0 CONFIG_HAS_FLASH_INIT=0
......
...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048 ...@@ -19,7 +19,7 @@ CONFIG_STACKSIZE=2048
CONFIG_PPSI=y CONFIG_PPSI=y
CONFIG_UART=y CONFIG_UART=y
CONFIG_W1=y CONFIG_W1=y
CONFIG_LATENCY_ETHTYPE=0 CONFIG_LATENCY_ETHTYPE=291
# CONFIG_P2P is not set # CONFIG_P2P is not set
CONFIG_IP=y CONFIG_IP=y
# CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONFIG is not set
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment