From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35A67A04FE; Tue, 14 Jan 2020 07:42:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 26ADE1C2AA; Tue, 14 Jan 2020 07:42:10 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 470CA1C2A9 for ; Tue, 14 Jan 2020 07:42:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2020 22:42:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,431,1571727600"; d="scan'208";a="225130627" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by orsmga003.jf.intel.com with ESMTP; 13 Jan 2020 22:42:06 -0800 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 14 Jan 2020 14:45:16 +0800 Message-Id: <20200114064517.12742-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200114064517.12742-1-yufengx.mo@intel.com> References: <20200114064517.12742-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/2] pktgen/ixia: fix ping ipv6 issue 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" fix ixia ping ipv6 issue. Signed-off-by: yufengmx --- framework/pktgen_ixia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/pktgen_ixia.py b/framework/pktgen_ixia.py index 14b5d5b..43ec52c 100644 --- a/framework/pktgen_ixia.py +++ b/framework/pktgen_ixia.py @@ -661,7 +661,7 @@ class Ixia(SSHConnection): """ Send ping6 packet from IXIA ports. """ - port = self.pci_to_port(pci)['card'] + port = self.pci_to_port(pci) ixia_port = "%d %d %d" % (self.chasId, port['card'], port['port']) self.send_expect("source ./ixTcl1.0/ixiaPing6.tcl", "% ") cmd = 'ping6 "%s" "%s" %s' % (self.ipv6_to_tcl_format(ipv6), -- 2.21.0