[LTP] [PATCH 1/1] net/virt: Introduce MIN_VIRT_PERF_THRESHOLD variable
Alexey Kodanev
alexey.kodanev@oracle.com
Fri Feb 22 13:41:18 CET 2019
Hi Petr,
On 2/22/19 12:01 PM, Petr Vorel wrote:
> to reduce duplicity in VIRT_PERF_THRESHOLD checks
>
...
> cleanup_vifaces()
> {
> diff --git a/testcases/network/virt/vxlan03.sh b/testcases/network/virt/vxlan03.sh
> index 9708e8e5d..d8ced5fda 100755
> --- a/testcases/network/virt/vxlan03.sh
> +++ b/testcases/network/virt/vxlan03.sh
> @@ -31,11 +31,9 @@ TST_CLEANUP=virt_cleanup
> # by 10-30%. If hosts are too close to each other, e.g. connected to the same
> # switch, VxLAN can be much slower when comparing to the performance without
> # any encapsulation.
> -VIRT_PERF_THRESHOLD=${VIRT_PERF_THRESHOLD:-160}
> +MIN_VIRT_PERF_THRESHOLD=160
Looks good, except may be add "MIN" to the end so it is closer to 'threshold'?
More information about the ltp
mailing list