From patchwork Thu Sep 8 11:43:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 116067 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 90856A0548; Thu, 8 Sep 2022 05:29:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6037B4021F; Thu, 8 Sep 2022 05:29:32 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 666F3400D6 for ; Thu, 8 Sep 2022 05:29:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662607771; x=1694143771; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xFbN/9gmBuwakeOC+OkqmrLzVuN2M1ej2m6bT7Ec6iE=; b=UZ3Rp8eDWPt9FUtuvnO8h+mcEASAE45VjPWOM6BgoLK7AkPHK4hhxgPU QZscmpa/9YW8SvTyPoDhWaA414z7lnTnxowsER99qsNyqKPLZpMOKNJE0 5t/H4fuSevzoG+aFRBUsFhFnIpBxynjDCzUW/GspCnBi7KGyIPb22FWUX V4Jqwg+nE43J/MecCjYqihAQ0l2Mw6RivLJXBgfN4AMHLwIVkhgY76wvd ciQrwTHb+iprLC7BNE72iStJfLLJ/NrIFFn3bDWZ/7LT6NspTb/t92f9f fBkP4IUrMmHEsSZ8CLQJmZuaRCz1wgwamozUhiZJteX22l1ZzQax3Hy7Q Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="294638541" X-IronPort-AV: E=Sophos;i="5.93,298,1654585200"; d="scan'208";a="294638541" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 20:29:30 -0700 X-IronPort-AV: E=Sophos;i="5.93,298,1654585200"; d="scan'208";a="676489594" Received: from unknown (HELO cvl_tetser_105.icx.intel.com) ([10.239.252.94]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 20:29:29 -0700 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 1/2] test_plans/ip_pipeline: redesign the cases to test rss pipline Date: Thu, 8 Sep 2022 11:43:57 +0000 Message-Id: <20220908114358.8447-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 the case of rss pipline only support i40e, redesign the cases to support ice. Signed-off-by: Song Jiale Acked-by: Peng, Yuan --- test_plans/ip_pipeline_test_plan.rst | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/test_plans/ip_pipeline_test_plan.rst b/test_plans/ip_pipeline_test_plan.rst index c504efa4..395b1bc5 100644 --- a/test_plans/ip_pipeline_test_plan.rst +++ b/test_plans/ip_pipeline_test_plan.rst @@ -171,17 +171,14 @@ Test Case: RSS pipeline .//examples/dpdk-ip_pipeline -c 0x1f -n 4 –- -s examples/rss.cli -3. Send following packets with one test port:: +3. Send 20 IP packets randomly for one test port - packet_1:Ether(dst="00:11:22:33:44:55")/IP(src="100.0.10.1",dst="100.0.20.2")/Raw(load="X"*6) - packet_2:Ether(dst="00:11:22:33:44:55")/IP(src="100.0.0.0",dst="100.0.0.1")/Raw(load="X"*6) - packet_3:Ether(dst="00:11:22:33:44:55")/IP(src="100.0.10.1",dst="100.0.0.2")/Raw(load="X"*6) - packet_4:Ether(dst="00:11:22:33:44:55")/IP(src="100.0.0.1",dst="100.0.10.2")/Raw(load="X"*6) +4. Check the test port can be received and assigned to other ports through RSS + Verify that the sum of packets received by all ports is 20. + Verify all tester_port can received packets. - Verify packet_1 was received by tester_port_0. - Verify packet_2 was received by tester_port_1. - Verify packet_3 was received by tester_port_2. - Verify packet_4 was received by tester_port_3. +5. Repeat steps 3-4 to ensure that the RSS functions of all test ports are normal. + Verify that packets of the same IP can be assigned to the same port through different test ports. Test Case: vf l2fwd pipeline(pf bound to dpdk driver) ======================================================