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 1CA6FA0542; Thu, 13 Feb 2020 02:19:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 02D0A49E0; Thu, 13 Feb 2020 02:19:30 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 15C7F49E0 for ; Thu, 13 Feb 2020 02:19:27 +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 fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2020 17:19:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,434,1574150400"; d="scan'208";a="313578952" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 12 Feb 2020 17:19:26 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) 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:25 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 12 Feb 2020 17:19:24 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.141]) with mapi id 14.03.0439.000; Thu, 13 Feb 2020 09:19:23 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue when port num is 4 Thread-Index: AQHV4UPB66WZCJp6ZkW8hgdot1Ft+qgYVLIQ Date: Thu, 13 Feb 2020 01:19:22 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC66E2@SHSMSX101.ccr.corp.intel.com> References: <1581471209-82651-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1581471209-82651-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.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 V1] tests/flow_classify_softnic: fix command issue when port num is 4 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 malihong > Sent: Wednesday, February 12, 2020 9:33 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue > when port num is 4 >=20 > From: lihong >=20 > Signed-off-by: lihong > --- > tests/TestSuite_flow_classify_softnic.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_flow_classify_softnic.py > b/tests/TestSuite_flow_classify_softnic.py > index 029e049..f707d1e 100644 > --- a/tests/TestSuite_flow_classify_softnic.py > +++ b/tests/TestSuite_flow_classify_softnic.py > @@ -89,7 +89,7 @@ class TestFlowClassifySoftnic(TestCase): > eal_params =3D self.dut.create_eal_parameters(cores=3Dself.cores= ) > VDEV =3D "--vdev > 'net_softnic0,firmware=3D./drivers/net/softnic/flow_classify_softnic/%s,c= pu_id > =3D%s,conn_port=3D8086'" % (filename,cpu_id) > if port_num =3D=3D 4: > - cmd =3D "{0} {1} {2} -s 0x4 -- -i --rxq=3D4 --txq=3D4 --disa= ble-rss -- > portmask=3D0x10".format(TESTPMD, VDEV, eal_params) > + cmd =3D "{0} {1} {2} -s 0x10 -- -i --rxq=3D4 --txq=3D4 --dis= able-rss -- > portmask=3D0x10".format(TESTPMD, VDEV, eal_params) > elif port_num =3D=3D 2: > cmd =3D "{0} {1} {2} -s 0x4 -- -i --rxq=3D2 --txq=3D2 --disa= ble-rss -- > portmask=3D0x4".format(TESTPMD, VDEV, eal_params) > else: > -- > 1.9.3