From patchwork Fri Dec 11 07:08:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhao, HaiyangX" X-Patchwork-Id: 84997 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5D055A04DB; Fri, 11 Dec 2020 08:15:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1605BAC9A; Fri, 11 Dec 2020 08:15:00 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 93EC737B7 for ; Fri, 11 Dec 2020 08:14:58 +0100 (CET) IronPort-SDR: eDlTCRJ+3W62IOud0wcrwvHUiDNjmE8dQN6lvG9OUYNDNOgtz12mVEiL5ymsPHCZJtilHYEv8N XTmmoxvo4hag== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="154199139" X-IronPort-AV: E=Sophos;i="5.78,410,1599548400"; d="scan'208";a="154199139" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 23:14:56 -0800 IronPort-SDR: ni7ZjWMt0nfTqJFmLDc3x1Ve5+lh3mYHtvzt7SXQg2iKQJDvzXUbsclqf1W/f9Z3KjZLo3kY1O 6lyGHycMKqow== X-IronPort-AV: E=Sophos;i="5.78,410,1599548400"; d="scan'208";a="545101627" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 23:14:55 -0800 From: Haiyang Zhao To: dts@dpdk.org, lijuan.tu@intel.com Cc: Haiyang Zhao Date: Fri, 11 Dec 2020 15:08:25 +0800 Message-Id: <20201211070828.24244-1-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1 0/3] replace i40evf with iavf in framework 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" Now we need to replace i40evf with iavf for the nics whose kernel driver is i40e, and there are about 20 suites need to do this. Do this replacement in suites is duplicated and will cost lot of time when recompiling DPDK, so we do it in framework. Delete the replacement code in kernelpf_iavf as it has been done in framework. Haiyang Zhao (3): framework/dut: add an attribute nic in dut get the instance of NetDevice from the port_info, and save it in dut as attribute nic. framework/project_dpdk: replace i40evf with iavf tests/kernelpf_iavf: delete code of replacing i40evf replace i40evf with iavf is completed in framework, so delete the code of replacing i40evf. framework/dut.py | 3 +++ framework/project_dpdk.py | 11 +++++++++++ tests/TestSuite_kernelpf_iavf.py | 12 ------------ 3 files changed, 14 insertions(+), 12 deletions(-) Tested-by: Haiyang Zhao