From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hangbin Liu Date: Wed, 27 Apr 2016 20:54:33 +0800 Subject: [LTP] [PATCH v8 0/3] networking/stress/icmp: add ip xfrm ipsec support Message-ID: <1461761676-28599-1-git-send-email-haliu@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it As we know, most of the network stress tests have IPsec testing, and we use setkey for configuration. But setkey[1] hasn't updated for a long time. And some distros, RHEL7 for example, even don't have ipset-tools package. On other hand, iproute2 is recommend for network configuration. And ip xfrm is more powerful than setkey. So let's use ip xfrm for ipsec testing. [1] http://ipsec-tools.sourceforge.net/ Change from V7: 1. correct array typo 2. use shift instead of bashism Hangbin Liu (3): lib/test_net.sh: add tst_ping() to check icmp connectivity network/stress: add ipsec lib network/stress/icmp: add icmp-uni-basic to implement all icmp basic stress test runtest/network_stress.icmp | 46 +++++++---- testcases/lib/test_net.sh | 30 ++++++++ testcases/network/stress/icmp/Makefile | 3 + testcases/network/stress/icmp/icmp-uni-basic | 90 ++++++++++++++++++++++ testcases/network/stress/ipsec/Makefile | 28 +++++++ testcases/network/stress/ipsec/ipsec_lib.sh | 110 +++++++++++++++++++++++++++ 6 files changed, 293 insertions(+), 14 deletions(-) create mode 100755 testcases/network/stress/icmp/icmp-uni-basic create mode 100644 testcases/network/stress/ipsec/Makefile create mode 100644 testcases/network/stress/ipsec/ipsec_lib.sh -- 2.5.5