forked from Qortal/Brooklyn
Changes included (and more): 1. Dynamic RAM merge 2. Real-time page scan and allocation 3. Cache compression 4. Real-time IRQ checks 5. Dynamic I/O allocation for Java heap 6. Java page migration 7. Contiguous memory allocation 8. Idle pages tracking 9. Per CPU RAM usage tracking 10. ARM NEON scalar multiplication library 11. NEON/ARMv8 crypto extensions 12. NEON SHA, Blake, RIPEMD crypto extensions 13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
32 lines
410 B
Bash
32 lines
410 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
lib_dir=$(dirname $0)/../../../net/forwarding
|
|
|
|
ALL_TESTS="
|
|
l3_monitor_test
|
|
"
|
|
NUM_NETIFS=0
|
|
source $lib_dir/lib.sh
|
|
|
|
swp=$NETIF_NO_CABLE
|
|
|
|
cleanup()
|
|
{
|
|
pre_cleanup
|
|
}
|
|
|
|
l3_monitor_test()
|
|
{
|
|
hw_stats_monitor_test $swp l3 \
|
|
"ip addr add dev $swp 192.0.2.1/28" \
|
|
"ip addr del dev $swp 192.0.2.1/28"
|
|
}
|
|
|
|
trap cleanup EXIT
|
|
|
|
setup_wait
|
|
tests_run
|
|
|
|
exit $EXIT_STATUS
|