test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zhang, YanX A" <yanx.a.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, YanX A" <yanx.a.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_vf_vlan:set filter on before add	vlan
Date: Tue, 6 Aug 2019 09:53:30 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD51F@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1563850698-39687-1-git-send-email-yanx.a.zhang@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> 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


      parent reply	other threads:[~2019-08-06 10:00 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
2019-08-06  9:53 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BAFD51F@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yanx.a.zhang@intel.com \
    /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).