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 5CEB9A0C41; Fri, 16 Apr 2021 10:07:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3042B141B61; Fri, 16 Apr 2021 10:07:55 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 0562B141B60 for ; Fri, 16 Apr 2021 10:07:52 +0200 (CEST) IronPort-SDR: ahpCNFLphfwyak9oYEymEHAjiMSqwd4SwsNJpu+2o8PZckFv+hLfUQ7PADUxaWp4IRpHGyjdPD Z/pa8BiPCHTA== X-IronPort-AV: E=McAfee;i="6200,9189,9955"; a="182502119" X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="182502119" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 01:07:45 -0700 IronPort-SDR: Siti9UzFrBepuKxvsfx3Fqdv7FF3QrbbzIzKxcEP9wfeG07NeP5Udtlp3FqLXnA9tdg2qUlyDz XVPJlnDvcwPw== X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="615895786" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 01:07:43 -0700 From: Xia Yan To: dts@dpdk.org Cc: Xia Yan Date: Fri, 16 Apr 2021 16:12:10 +0800 Message-Id: <20210416081210.20536-1-yanx.xia@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] 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: Xia Yan --- 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