test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue when port num is 4
@ 2020-02-12  1:33 malihong
  2020-02-13  1:19 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: malihong @ 2020-02-12  1:33 UTC (permalink / raw)
  To: dts; +Cc: lihong

From: lihong <lihongx.ma@intel.com>

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 tests/TestSuite_flow_classify_softnic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 = self.dut.create_eal_parameters(cores=self.cores)
         VDEV = "--vdev 'net_softnic0,firmware=./drivers/net/softnic/flow_classify_softnic/%s,cpu_id=%s,conn_port=8086'" % (filename,cpu_id)
         if port_num == 4:
-            cmd = "{0} {1} {2} -s 0x4 -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10".format(TESTPMD, VDEV, eal_params)
+            cmd = "{0} {1} {2} -s 0x10 -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10".format(TESTPMD, VDEV, eal_params)
         elif port_num == 2:
             cmd = "{0} {1} {2} -s 0x4 -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4".format(TESTPMD, VDEV, eal_params)
         else:
-- 
1.9.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue when port num is 4
  2020-02-12  1:33 [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue when port num is 4 malihong
@ 2020-02-13  1:19 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-02-13  1:19 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

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 <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue
> when port num is 4
> 
> From: lihong <lihongx.ma@intel.com>
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_flow_classify_softnic.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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 = self.dut.create_eal_parameters(cores=self.cores)
>          VDEV = "--vdev
> 'net_softnic0,firmware=./drivers/net/softnic/flow_classify_softnic/%s,cpu_id
> =%s,conn_port=8086'" % (filename,cpu_id)
>          if port_num == 4:
> -            cmd = "{0} {1} {2} -s 0x4 -- -i --rxq=4 --txq=4 --disable-rss --
> portmask=0x10".format(TESTPMD, VDEV, eal_params)
> +            cmd = "{0} {1} {2} -s 0x10 -- -i --rxq=4 --txq=4 --disable-rss --
> portmask=0x10".format(TESTPMD, VDEV, eal_params)
>          elif port_num == 2:
>              cmd = "{0} {1} {2} -s 0x4 -- -i --rxq=2 --txq=2 --disable-rss --
> portmask=0x4".format(TESTPMD, VDEV, eal_params)
>          else:
> --
> 1.9.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12  1:33 [dts] [PATCH V1] tests/flow_classify_softnic: fix command issue when port num is 4 malihong
2020-02-13  1:19 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox