From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F894A0487 for ; Mon, 1 Jul 2019 12:38:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E4F02C60; Mon, 1 Jul 2019 12:38:18 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 0BA612C23 for ; Mon, 1 Jul 2019 12:38:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 03:08:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,438,1557212400"; d="scan'208";a="246865073" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 01 Jul 2019 03:08:05 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Mon, 1 Jul 2019 18:12:47 +0800 Message-Id: <1561975967-117447-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] test_plans: Add a case to vxlan_test_plan.rst X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Add a case to vxlan_test_plan.rst Signed-off-by: Peng Yuan diff --git a/test_plans/vxlan_test_plan.rst b/test_plans/vxlan_test_plan.rst index 83c99ac..60cfec9 100644 --- a/test_plans/vxlan_test_plan.rst +++ b/test_plans/vxlan_test_plan.rst @@ -33,7 +33,6 @@ ===================== Fortville Vxlan Tests ===================== - Cloud providers build virtual network overlays over existing network infrastructure that provide tenant isolation and scaling. Tunneling layers added to the packets carry the virtual networking frames over @@ -58,7 +57,7 @@ Test Case: Vxlan ipv4 packet detect =================================== Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --tx-offloads=0x8fff + testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -85,13 +84,11 @@ Send packet as table listed and check dumped packet type the same as column | Yes | Ipv4 | Vxlan | Yes | Ipv4 | Udp | PKT_RX_IPV4_HDR_EXT | None | +------------+----------+-----------+------------+----------+-----------+---------------------+-----------+ - - Test Case: Vxlan ipv6 packet detect =================================== Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --tx-offloads=0x8fff + testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -118,13 +115,11 @@ column "Rx packet type". | Yes | Ipv6 | Vxlan | Yes | Ipv6 | Udp | PKT_RX_IPV6_HDR_EXT | None | +------------+----------+-----------+------------+----------+-----------+---------------------+-----------+ - Test Case: Vxlan ipv4 checksum offload ====================================== - Start testpmd with tunneling packet type to vxlan:: - testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --tx-offloads=0x8fff + testpmd -c ffff -n 4 -- -i --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set csum packet forwarding mode and enable verbose log:: @@ -216,7 +211,6 @@ checksum corrected and there's correct l4 chksum error counter increased. | Yes | Ipv4 | Vxlan | None | Ipv4 | Bad Sctp | +------------+----------+-----------+------------+----------+-----------+ - Test Case: Vxlan ipv6 checksum offload ====================================== Start testpmd with tunneling packet type:: @@ -285,12 +279,12 @@ increased. | Yes | Ipv6 | Vxlan | Yes | Ipv4 | Bad Sctp | +------------+----------+-----------+------------+----------+-----------+ -Test Case: Cloud Filter +Test Case: Tunnel Filter ======================== Start testpmd with tunneling packet type to vxlan and disable receive side scale for hardware limitation:: - testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 --tx-offloads=0x8fff + testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 Set rxonly packet forwarding mode and enable verbose log:: @@ -319,12 +313,18 @@ Then send one packet and check packet was forwarded into right queue. | No | No | No | No | Yes | No | 1 | +------------+------------+------------+----------+----------+--------+-------+ - Add Cloud filter to max number will be failed. Remove Cloud filter which has been added. Then send one packet and check packet was received in queue 0. +Test Case: Tunnel Filter invalid +================================ +Start testpmd with tunneling packet type to vxlan and disable receive side +scale for hardware limitation:: + + testpmd -c ffff -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=8 --nb-ports=2 + Add Cloud filter with invalid Mac address "00:00:00:00:01" will be failed. Add Cloud filter with invalid ip address "192.168.1.256" will be failed. @@ -337,7 +337,6 @@ Add Cloud filter with invalid queue id "64" will be failed. Test Case: Vxlan Checksum Offload Performance Benchmarking ========================================================== - The throughput is measured for each of these cases for vxlan tx checksum offload of "all by software", "L3 offload by hardware", "L4 offload by hardware", "l3&l4 offload by hardware". -- 2.14.3