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 90FEAA0096 for ; Tue, 4 Jun 2019 07:43:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 561271B959; Tue, 4 Jun 2019 07:43:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 0BF861B956 for ; Tue, 4 Jun 2019 07:43:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jun 2019 22:43:22 -0700 X-ExtLoop1: 1 Received: from ubuntu.sh.intel.com ([10.67.118.150]) by FMSMGA003.fm.intel.com with ESMTP; 03 Jun 2019 22:43:21 -0700 From: lihong To: dts@dpdk.org Cc: lihong Date: Tue, 4 Jun 2019 06:22:02 +0800 Message-Id: <1559600522-6156-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] framework/packet: remove the set of conf.use_pcap 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" when set scapy conf.use_pcap=True, in scapy 2.2 and 2.3, it will affect the sniff and rdpcap method, it will use the libpcap to read packet. in scapy 2.4, it will affect the sendp method, it will use module in pcapy, so you should upgrade pcapy to 0.11.3 if you want to set the conf.use_pcap to True. But after try, find it is not necessary to set the conf.use_pcap to True, it no effect to our cases. so remove the config in the file, that we no need to do anything after upgrade scapy. Signed-off-by: lihong --- framework/packet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/framework/packet.py b/framework/packet.py index 4d872fd..97344cd 100755 --- a/framework/packet.py +++ b/framework/packet.py @@ -45,7 +45,6 @@ from uuid import uuid4 from settings import FOLDERS from scapy.config import conf -conf.use_pcap = True import struct from socket import AF_INET6 -- 2.7.4