From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 78C1BA00E6 for ; Fri, 14 Jun 2019 04:37:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2C65D1D490; Fri, 14 Jun 2019 04:37:00 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 806A61D487 for ; Fri, 14 Jun 2019 04:36:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 19:36:57 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 13 Jun 2019 19:36:57 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 19:36:57 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 19:36:57 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.33]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.76]) with mapi id 14.03.0439.000; Fri, 14 Jun 2019 10:36:55 +0800 From: "Zhang, YanX A" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] framework/packet: fix scapy issue about conf Thread-Index: AQHVIlnNqT+m87010EWM1Rv/0YZmv6aab1Rg Date: Fri, 14 Jun 2019 02:36:54 +0000 Message-ID: <2C49E4B25FAD1D419F7564D633EF72E159A174@shsmsx102.ccr.corp.intel.com> References: <1560453202-26264-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1560453202-26264-1-git-send-email-lihongx.ma@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] framework/packet: fix scapy issue about conf 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" Tested-by: Zhang, YanX A -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong Sent: Friday, June 14, 2019 3:13 AM To: dts@dpdk.org Cc: Ma, LihongX Subject: [dts] [PATCH V1] framework/packet: fix scapy issue about conf fix commit b21dd17d9b96b3b9f64ca8342a6a73ed1132c843 when send packet will use the conf, so can not remove it. Signed-off-by: lihong --- framework/packet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/packet.py b/framework/packet.py index e0b98e3..d3947= 9f 100755 --- a/framework/packet.py +++ b/framework/packet.py @@ -46,6 +46,7 @@ from settings import FOLDERS =20 import struct from socket import AF_INET6 +from scapy.all import conf from scapy.utils import wrpcap, rdpcap, hexstr from scapy.layers.inet imp= ort Ether, IP, TCP, UDP, ICMP from scapy.layers.inet6 import IPv6, IPv6Ext= HdrRouting, IPv6ExtHdrFragment -- 2.7.4