From patchwork Tue Feb 19 14:47:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Kodanev X-Patchwork-Id: 1044719 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=213.254.12.146; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=oracle.com header.i=@oracle.com header.b="qbFINnya"; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 443k7k6ky7z9s5c for ; Wed, 20 Feb 2019 01:46:10 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id A88FB3EA36A for ; Tue, 19 Feb 2019 15:46:07 +0100 (CET) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.5]) by picard.linux.it (Postfix) with ESMTP id C581D3EA2E4 for ; Tue, 19 Feb 2019 15:46:06 +0100 (CET) Received: from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id C5ED4600A8A for ; Tue, 19 Feb 2019 15:46:06 +0100 (CET) Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x1JEiC0g186039 for ; Tue, 19 Feb 2019 14:46:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2018-07-02; bh=Nxco0wcUj4F8armQTef/0mMAf1QJzkGPOvInrHWXuzY=; b=qbFINnyaZc+tlK8cPFRVe4bcbbhBtGt1YYs7NNQl5nc6915cX6ZThtpVC2kHxANKsVhr esxNWRTXxnj0ZR67dAoRj1+QpS0bwKIo90X56Y7+xz3LY4p+OpwbeDzmDpKK8U8kzFnK 481PPyZybrxHZVbtlBbQHJ0gubf4Ifo/IHj+Pw+G+vHWzoGXSAl9JEKUJrJzKp6SwOnB nz3Zc0tPkfyDqaqedzYgAq6LScG63I2ue6FbmvHW4Q2LFTOGlotrVi7nDO3bMOnuUtqT 3jmzi2+SHooPOltdS+xBRbgUvfScjIrxwGkNjyHGIt7t+p9IRXEfwXAmAcGIWNaW3wyN 8w== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2qp81e3rv2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 19 Feb 2019 14:46:03 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x1JEk2Dr004191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 19 Feb 2019 14:46:03 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x1JEk2RE012245 for ; Tue, 19 Feb 2019 14:46:02 GMT Received: from ak.ru.oracle.com (/10.162.80.29) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Feb 2019 06:46:01 -0800 From: Alexey Kodanev To: ltp@lists.linux.it Date: Tue, 19 Feb 2019 17:47:49 +0300 Message-Id: <1550587673-7995-1-git-send-email-alexey.kodanev@oracle.com> X-Mailer: git-send-email 1.7.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9171 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=558 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902190111 X-Virus-Scanned: clamav-milter 0.99.2 at in-5.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-5.smtp.seeweb.it Subject: [LTP] [PATCH 0/4] network: new random message size test-cases X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" New tests in the series with random message sizes: geneve02, gre02, macsec03, vxlan04. This patch-set also introduces "TST_NET_MAX_PKT" environment variable to control the upper limit of the message payload size. By default it is set to 1.1 * MTU (of the test interface). Alexey Kodanev (4): network/gre01: move setup to library lib/tst_net.sh: add new TST_NET_MAX_PKT env variable network: use TST_NET_MAX_PKT network: add new test-cases with randomized message length runtest/net.features | 9 + runtest/net_stress.ipsec_dccp | 208 +++++++++++----------- runtest/net_stress.ipsec_sctp | 208 +++++++++++----------- runtest/net_stress.ipsec_tcp | 208 +++++++++++----------- runtest/net_stress.ipsec_udp | 212 +++++++++++----------- testcases/lib/tst_net.sh | 10 +- testcases/lib/tst_test.sh | 1 + testcases/network/mpls/mpls02.sh | 2 +- testcases/network/mpls/mpls_lib.sh | 2 +- testcases/network/sockets/bind_noport01.sh | 15 ++- testcases/network/stress/dccp/dccp_ipsec.sh | 6 +- testcases/network/stress/dccp/dccp_ipsec_vti.sh | 6 +- testcases/network/stress/sctp/sctp_ipsec.sh | 6 +- testcases/network/stress/sctp/sctp_ipsec_vti.sh | 6 +- testcases/network/stress/tcp/tcp_ipsec.sh | 6 +- testcases/network/stress/tcp/tcp_ipsec_vti.sh | 6 +- testcases/network/stress/udp/udp_ipsec.sh | 7 +- testcases/network/stress/udp/udp_ipsec_vti.sh | 7 +- testcases/network/tcp_cc/tcp_cc_lib.sh | 4 +- testcases/network/virt/geneve02.sh | 38 ++++ testcases/network/virt/gre01.sh | 19 +-- testcases/network/virt/gre02.sh | 11 ++ testcases/network/virt/macsec03.sh | 13 ++ testcases/network/virt/virt_lib.sh | 27 +++- testcases/network/virt/vxlan04.sh | 39 ++++ 25 files changed, 624 insertions(+), 452 deletions(-) create mode 100755 testcases/network/virt/geneve02.sh create mode 100755 testcases/network/virt/gre02.sh create mode 100755 testcases/network/virt/macsec03.sh create mode 100755 testcases/network/virt/vxlan04.sh