From: "Li, WenjieX A" <wenjiex.a.li@intel.com>
To: "Yao, BingX Y" <bingx.y.yao@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Yao, BingX Y" <bingx.y.yao@intel.com>,
"Li, WenjieX A" <wenjiex.a.li@intel.com>
Subject: Re: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
Date: Mon, 1 Jul 2019 03:19:53 +0000 [thread overview]
Message-ID: <8688172CD5C0B74590FAE19D9579F94B53734D91@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1561951395-113904-1-git-send-email-bingx.y.yao@intel.com>
Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing
> Sent: Monday, July 1, 2019 11:23 AM
> To: dts@dpdk.org
> Cc: Yao, BingX Y <bingx.y.yao@intel.com>
> Subject: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic
>
> add fortville_25g nic to support
>
> Signed-off-by: yaobing <bingx.y.yao@intel.com>
> ---
> tests/TestSuite_rxtx_offload.py | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py
> index 0ae83f4..bcef69d 100644
> --- a/tests/TestSuite_rxtx_offload.py
> +++ b/tests/TestSuite_rxtx_offload.py
> @@ -87,7 +87,7 @@ class TestRxTx_Offload(TestCase):
> Run at the start of each test suite.
> New rx tx offload API Prerequisites
> """
> - self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> + self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
> "fortville_spirit_single", "niantic"], "NIC Unsupported: " +
> str(self.nic))
> # Based on h/w type, choose how many ports to use
> self.dut_ports = self.dut.get_ports(self.nic) @@ -424,7 +424,7 @@ class
> TestRxTx_Offload(TestCase):
> self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop")
> self.dut.send_expect("set fwd txonly", "testpmd> ")
> self.dut.send_expect("set verbose 1", "testpmd> ")
> - if (self.nic in ["fortville_eagle", "fortville_spirit",
> + if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
> "fortville_spirit_single"]):
> self.dut.send_expect("port stop 0", "testpmd> ")
> self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase):
> self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-
> topology=loop --tx-offloads=0x0001")
> self.dut.send_expect("set fwd txonly", "testpmd> ")
> self.dut.send_expect("set verbose 1", "testpmd> ")
> - if (self.nic in ["fortville_eagle", "fortville_spirit",
> + if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
> "fortville_spirit_single", "fortpark_TLV"]):
> self.dut.send_expect("port stop 0", "testpmd> ")
> self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase):
> self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
> capabilities = self.check_port_capability("tx")
> # Disable per queue capability first, if it is FVL.
> - if (self.nic in ["fortville_eagle", "fortville_spirit",
> + if (self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
> "fortville_spirit_single", "fortpark_TLV"]):
> self.dut.send_expect("port stop 0", "testpmd> ")
> self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off",
> "testpmd> ") @@ -551,7 +551,7 @@ class TestRxTx_Offload(TestCase):
> Set Rx offload by queue.
> """
> # Only support FVL
> - self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
> + self.verify(self.nic in ["fortville_eagle",
> + "fortville_spirit","fortville_25g",
> "fortville_spirit_single",], "%s nic not support rx offload
> setting by queue." % self.nic)
> # Check offload configuration by port and by queue.
> self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4")
> --
> 2.17.2
next prev parent reply other threads:[~2019-07-01 3:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 3:23 yaobing
2019-07-01 3:19 ` Li, WenjieX A [this message]
2019-07-03 6:00 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8688172CD5C0B74590FAE19D9579F94B53734D91@SHSMSX103.ccr.corp.intel.com \
--to=wenjiex.a.li@intel.com \
--cc=bingx.y.yao@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).