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 C3C9DA0542; Thu, 13 Feb 2020 02:19:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB4563256; Thu, 13 Feb 2020 02:19:47 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C08C22B86 for ; Thu, 13 Feb 2020 02:19:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2020 17:19:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,434,1574150400"; d="scan'208";a="313578985" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 12 Feb 2020 17:19:44 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 12 Feb 2020 17:19:44 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.201]) with mapi id 14.03.0439.000; Thu, 13 Feb 2020 09:19:42 +0800 From: "Tu, Lijuan" To: "dts@dpdk.org" Thread-Topic: [dts] [PATCH] tests/l3fwd_base: fix typos Thread-Index: AQHV4Zrk3kTYVg6pfE6kxdic2qZmYagYVB2A Date: Thu, 13 Feb 2020 01:19:42 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC6717@SHSMSX101.ccr.corp.intel.com> References: <1581537672-133032-1-git-send-email-lijuan.tu@intel.com> In-Reply-To: <1581537672-133032-1-git-send-email-lijuan.tu@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.2.0.6 dlp-reaction: no-action 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] tests/l3fwd_base: fix typos 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: Tu, Lijuan > Sent: Thursday, February 13, 2020 4:01 AM > To: dts@dpdk.org > Cc: Tu, Lijuan > Subject: [dts] [PATCH] tests/l3fwd_base: fix typos >=20 > Signed-off-by: Lijuan Tu > --- > tests/l3fwd_base.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index > 8ec2b7c..5d11ac7 100644 > --- a/tests/l3fwd_base.py > +++ b/tests/l3fwd_base.py > @@ -232,13 +232,13 @@ class L3fwdBase(object): > stream_ids =3D [] > step =3D int(len(streams) / len(self.__valports)) > for cnt, stream in enumerate(streams): > - pkt, field_config =3D stream > + pkt, fields_config =3D stream > index =3D cnt // step > txport, rxport =3D topos[index] > _option =3D deepcopy(option) > _option['pcap'] =3D pkt > - if field_config: > - _option['field_config'] =3D field_config > + if fields_config: > + _option['fields_config'] =3D fields_config > stream_id =3D self.tester.pktgen.add_stream(txport, rxport, = pkt) > self.tester.pktgen.config_stream(stream_id, _option) > stream_ids.append(stream_id) > -- > 1.8.3.1