This is accomplished with 3 fake ethernet interfaces hooked to a common bridge, simulating incoming packets and controlling each interface's transmission product. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
13 lines
290 B
Plaintext
13 lines
290 B
Plaintext
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_L2_ETHERNET=y
|
|
CONFIG_NET_ETHERNET_BRIDGE=y
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_NET_PKT_TX_COUNT=10
|
|
CONFIG_NET_PKT_RX_COUNT=10
|
|
CONFIG_NET_BUF_RX_COUNT=10
|
|
CONFIG_NET_BUF_TX_COUNT=10
|
|
CONFIG_ZTEST=y
|