From patchwork Sun Jul 16 09:07:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jin Ling X-Patchwork-Id: 129544 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 BD2BC42E8A; Sun, 16 Jul 2023 11:08:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83EC840EF1; Sun, 16 Jul 2023 11:08:13 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1444B4013F for ; Sun, 16 Jul 2023 11:08:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689498492; x=1721034492; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=v0GMscoQeOnMkpNDD9AP3DSwprEBUvMHp1Nkl3+mMnQ=; b=cnBiu/9JhRiTv3clpoYbL/yW/NydYcZ26MIYislah4qz6cxjJyMD9r7Z sb6EwDWajR64VW2flrfssMS6qd5CdPpwhcHuTiKHGPGJXISL670E2hVE2 +VF6moHvjio4Nqej/LWsJ2J+g8VnQdfUqf7EPeYE5YMVppIkdG0mTY5at SoH36JmIp8ZPvfhxh0MGhVSfLB2+mlWEQewgKXMwSFEpO73ECiiMS9uSO QHOmMia3leDSaNGxOLNytiI5l3B8L/6y4nFHxTB7Wl67IqIqrF8Q6T7v8 XkV0iW+RKuJEYJUpaNIVtG2lR+mK7iAVEPXkHlpczkgZdgMp0reOLCtNY A==; X-IronPort-AV: E=McAfee;i="6600,9927,10772"; a="350610632" X-IronPort-AV: E=Sophos;i="6.01,210,1684825200"; d="scan'208";a="350610632" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2023 02:08:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10772"; a="788303652" X-IronPort-AV: E=Sophos;i="6.01,210,1684825200"; d="scan'208";a="788303652" Received: from dpdk-lingjin.sh.intel.com ([10.67.114.163]) by fmsmga008.fm.intel.com with ESMTP; 16 Jul 2023 02:08:09 -0700 From: Jin Ling To: dts@dpdk.org Cc: Jin Ling Subject: [DTS][PATCH V1 00/10] add functions to test MEV Date: Sun, 16 Jul 2023 17:07:44 +0800 Message-Id: <20230716090753.1590148-1-jin.ling@intel.com> X-Mailer: git-send-email 2.25.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 Jin Ling (10): conf/crbs.cfg: add parameters to connect mev and acc via serial port execution.cfg: add parameters to choose datapath and create vport when running test scripts framework/config: save the serial port connection information of imc and acc to the self.crb framework/crb:modify code when pexpect contains '#', replace '#' with 'mev-acc' framework/dts: add global variables add 'test_mev','test_acc','queue_model','vport','rx_vport' to config datapath and vport when executing cases framework/dut: add new functions to set up test mev env will set up the test env of mev when creating a dut according the global var 'test_mev' framework/pmd_output: optimize function start_testpmd add code to create cmdline for running testpmd framework/project_dpdk: optimize code Optimizing functions to prevent errors when testing with mev framework/settings: add drivers and NICs for mev framework/ssh_pexpect: optimize the code to get output Filtered control characters in minicom output conf/crbs.cfg | 4 ++ execution.cfg | 12 +++- framework/config.py | 10 ++++ framework/crb.py | 6 ++ framework/dts.py | 25 +++++++- framework/dut.py | 121 +++++++++++++++++++++++++++++++++++--- framework/pmd_output.py | 3 + framework/project_dpdk.py | 21 +++++-- framework/settings.py | 9 ++- framework/ssh_pexpect.py | 18 ++++-- 10 files changed, 207 insertions(+), 22 deletions(-)