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 DC7F6A00E6 for ; Fri, 14 Jun 2019 05:12:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D16761D497; Fri, 14 Jun 2019 05:12:08 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id BFFC11D489 for ; Fri, 14 Jun 2019 05:12:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 20:12:07 -0700 X-ExtLoop1: 1 Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 13 Jun 2019 20:12:06 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 20:12:05 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Jun 2019 20:12:04 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.104]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.185]) with mapi id 14.03.0439.000; Fri, 14 Jun 2019 11:12:04 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] framework/packet: fix scapy issue about conf Thread-Index: AQHVIlnNcPKveXZeZ0WFYQMzBmmVBKaaeSlQ Date: Fri, 14 Jun 2019 03:12:03 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BABE4E1@SHSMSX101.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: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTkwMzE3OWEtZDliMS00ZTc3LTg1MzMtYWFkYTFjNWVkNzcyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicVUzamFHXC93VTVZRUlqb0ZvMEpkNVV3MU9BVU81VlRlcldNYmhmXC9WcGVUWkxORkJXQ1crVFFobEc3MTBnYnpWIn0= 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" Applied, thanks > -----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 >=20 > fix commit b21dd17d9b96b3b9f64ca8342a6a73ed1132c843 > when send packet will use the conf, so can not remove it. >=20 > Signed-off-by: lihong > --- > framework/packet.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/framework/packet.py b/framework/packet.py index > e0b98e3..d39479f 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 > import Ether, IP, TCP, UDP, ICMP from scapy.layers.inet6 import IPv6, > IPv6ExtHdrRouting, IPv6ExtHdrFragment > -- > 2.7.4