From patchwork Mon Jan 30 11:12:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 122628 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 21D26424B9; Mon, 30 Jan 2023 04:15:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18D1840EE2; Mon, 30 Jan 2023 04:15:05 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 1B42740EE2 for ; Mon, 30 Jan 2023 04:15:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675048503; x=1706584503; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TGaJp3Hstm7QQuOJ8qMr/iwmbx2S3Fd63IZPFGUq97o=; b=VPTjczInBh5+8GzKGBuKlSPe2bJFdyhPLs3CGU2h3NMbg7cV4/QNZLPM KI7iIIMEEKRQlokkdgVQSpMJzqshVNmkyoAK7rd4km6tmXe51TkzBb6xn HTH3BW5mzVFpEBnktNeKwGVv6GbP/8wq3dVZnV+USwkSFYAZB0NzPbt27 8NwlzOXMBzPhxSxUMdcpmQtXuOPP/yibMzno2gFZGIIdvADUmbnnnQ3qC PMXSA9tfcMe9WNk3NtCGO/FNuSAVfnJ4m3vH0Nr32QfmdSEPD8KA4i0S2 9pk11tB+6cESa1BTBKDK8cbV6eTH9L+piEujCB24XVxYcAL9jLLm9RBW8 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="354780460" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="354780460" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2023 19:15:02 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10605"; a="641395502" X-IronPort-AV: E=Sophos;i="5.97,257,1669104000"; d="scan'208";a="641395502" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2023 19:15:01 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V1 2/2] test_plans/kernelpf_iavf: adapt to the intree kernel driver Date: Mon, 30 Jan 2023 11:12:26 +0000 Message-Id: <20230130111226.4004219-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230130111226.4004219-1-songx.jiale@intel.com> References: <20230130111226.4004219-1-songx.jiale@intel.com> 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 intree kernel driver cannot set "vf-vlan-running", modify the testplan to adapt to this difference. Signed-off-by: Song Jiale --- test_plans/kernelpf_iavf_test_plan.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst index 5b91d38b..b708c75b 100644 --- a/test_plans/kernelpf_iavf_test_plan.rst +++ b/test_plans/kernelpf_iavf_test_plan.rst @@ -394,7 +394,7 @@ Test case: IAVF DUAL VLAN filtering sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0") sendp([Ether(dst="00:11:22:33:44:11",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src="196.222.232.221")/("X"*480)], iface="ens786f0") -4. check the pkts can't be received in VF. +4. check the pkts can't be received in VF, but if the kernel cannot set ``vf-vlan-pruning``, check can receive 2 pkts in VF. 5. add rx_vlan in VF:: @@ -428,7 +428,7 @@ Test case: IAVF DUAL VLAN filtering testpmd> rx_vlan rm 1 0 -10. repeat step 3, check the pkts can not be received by VF. +10. repeat step 3, check the pkts can not be received by VF, but if the kernel cannot set ``vf-vlan-pruning``, check can receive 2 pkts in VF. Test case: IAVF DUAL VLAN header stripping