From: "Zhang, YanX A" <yanx.a.zhang@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_vf_vlan:set filter on before add vlan
Date: Tue, 23 Jul 2019 02:54:41 +0000 [thread overview]
Message-ID: <2C49E4B25FAD1D419F7564D633EF72E1F3B65E@SHSMSX105.ccr.corp.intel.com> (raw)
In-Reply-To: <1563850698-39687-1-git-send-email-yanx.a.zhang@intel.com>
Tested-by: Zhang, YanX A <yanx.a.zhang@intel.com>
-----Original Message-----
From: Zhang, YanX A
Sent: Tuesday, July 23, 2019 10:58 AM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_vf_vlan:set filter on before add vlan
set filter on before add vlan.
Otherwise the following error will be reported:
---Port 0: vlan-filtering disabled
---rte_eth_dev_vlan_filter(port_pi=0, vlan_id=4095, on=1) failed diag=-38
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
tests/TestSuite_vf_vlan.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py index d0175b3..f50a7e5 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -289,6 +289,7 @@ class TestVfVlan(TestCase):
# if you want insert tx_vlan,
# please enable rx_vlan at the same time
if self.kdriver == "i40e":
+ self.vm0_testpmd.execute_cmd('vlan set filter on 0')
self.vm0_testpmd.execute_cmd('rx_vlan add %d 0' % tx_vlan)
self.vm0_testpmd.execute_cmd('stop')
self.vm0_testpmd.execute_cmd('port stop all')
--
2.17.2
next prev parent reply other threads:[~2019-07-23 2:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-23 2:58 zhang,yan
2019-07-23 2:54 ` Zhang, YanX A [this message]
2019-08-06 9:53 ` 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=2C49E4B25FAD1D419F7564D633EF72E1F3B65E@SHSMSX105.ccr.corp.intel.com \
--to=yanx.a.zhang@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).