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 19826A0C45; Tue, 19 Oct 2021 04:29:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA3D340142; Tue, 19 Oct 2021 04:29:04 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 189C64003E for ; Tue, 19 Oct 2021 04:29:02 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10141"; a="225869552" X-IronPort-AV: E=Sophos;i="5.85,383,1624345200"; d="scan'208";a="225869552" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 19:29:02 -0700 X-IronPort-AV: E=Sophos;i="5.85,383,1624345200"; d="scan'208";a="483028803" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Oct 2021 19:29:00 -0700 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Date: Tue, 19 Oct 2021 10:28:45 +0000 Message-Id: <20211019102845.213815-1-yanx.xia@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/vf_daemon: modify dts to adapt dpdk changes 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" dpdk commit-id: 04d43857 dpdk rename `s_addr` to `src_addr` Signed-off-by: Yan Xia --- tests/TestSuite_vf_daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py index a08ae7b5..2c23e760 100644 --- a/tests/TestSuite_vf_daemon.py +++ b/tests/TestSuite_vf_daemon.py @@ -528,7 +528,7 @@ class TestVfDaemon(TestCase): "\ struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};'" +\ " app/test-pmd/macswap_sse.h", "# ", 30) line_num = self.vm0_dut.send_expect("sed -n '/_mm_storeu_si128/=' app/test-pmd/macswap_sse.h |sed -n 5p", "# ",30) - self.vm0_dut.send_expect("sed -i -e '%sa\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->s_addr);'" % str(line_num)+\ + self.vm0_dut.send_expect("sed -i -e '%sa\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->src_addr);'" % str(line_num)+\ " app/test-pmd/macswap_sse.h", "# ", 30) time.sleep(3) -- 2.32.0