From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 679DBA0547; Tue, 20 Apr 2021 07:22:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 407AD4159C; Tue, 20 Apr 2021 07:22:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 019D441598 for ; Tue, 20 Apr 2021 07:22:21 +0200 (CEST) IronPort-SDR: UkxIOeJq05dZLRuMZ1aMmC6zCToHVg0dH5KAamGEvVvci8KfwNKbEGMuLgnPlyav/KbcQ6fzie BmLr/PCKJMPA== X-IronPort-AV: E=McAfee;i="6200,9189,9959"; a="195002345" X-IronPort-AV: E=Sophos;i="5.82,236,1613462400"; d="scan'208";a="195002345" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 22:22:05 -0700 IronPort-SDR: oOxMTrp1kszCfs5avZAYXI+ME29+jStYaWsTP7z+l5p09caC4tuIPjSsl+sm3OXHNcDQ1UquC1 TgWWxMgNQOEQ== X-IronPort-AV: E=Sophos;i="5.82,236,1613462400"; d="scan'208";a="523671201" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2021 22:22:03 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Tue, 20 Apr 2021 13:26:24 +0800 Message-Id: <20210420052624.1719-1-yanx.xia@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] tests/vf_kernel: remove the NIC limitation 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 Sender: "dts" the packet can be received when the mtu value is greater than the length of the packet to be sent, and it has nothing to do with NIC type, so remove the judgment condition to adapt niantic. Signed-off-by: Yan Xia --- tests/TestSuite_vf_kernel.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py index c1977f7b..a4e1e52a 100755 --- a/tests/TestSuite_vf_kernel.py +++ b/tests/TestSuite_vf_kernel.py @@ -563,9 +563,7 @@ class TestVfKernel(TestCase): self.verify(self.dmac.upper() in out, "PF can't receive packet") # Change kernel VF mtu as 3000,check no confusion/crash on DPDK PF - if self.nic.startswith('fortville') or self.nic.startswith('carlsville') or self.nic.startswith('fortpark_BASE-T'): - self.vm0_dut.send_expect( - "ifconfig %s mtu 3000" % self.vm0_intf0, "#") + self.vm0_dut.send_expect("ifconfig %s mtu 3000" % self.vm0_intf0, "#") # send one packet with length as 2000 with kernel VF MAC as DEST MAC, # check Kernel VF can receive packet -- 2.17.1