test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf
  2021-03-30 16:04 [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf xiewei
@ 2021-03-30  7:32 ` Xie, WeiX
  2021-03-31  6:58   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Xie, WeiX @ 2021-03-30  7:32 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

> -----Original Message-----
> From: Xie, WeiX <weix.xie@intel.com>
> Sent: Wednesday, March 31, 2021 12:05 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [PATCH V1] tests/iavf_fdir: set vlan id for vf

Tested-by: Xie Wei <weix.xie@intel.com>

[-- Attachment #2: TestIAVFFdir.log --]
[-- Type: application/octet-stream, Size: 343132 bytes --]

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

* [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf
@ 2021-03-30 16:04 xiewei
  2021-03-30  7:32 ` Xie, WeiX
  0 siblings, 1 reply; 3+ messages in thread
From: xiewei @ 2021-03-30 16:04 UTC (permalink / raw)
  To: dts; +Cc: xiewei

confirm with developer that the design of dpdk is changed for VF, the VLAN ID needs to be set before VF receives VLAN packets.

Signed-off-by: xiewei <weix.xie@intel.com>
---
 tests/TestSuite_iavf_fdir.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_iavf_fdir.py b/tests/TestSuite_iavf_fdir.py
index a4048145..27f92f80 100644
--- a/tests/TestSuite_iavf_fdir.py
+++ b/tests/TestSuite_iavf_fdir.py
@@ -2309,6 +2309,8 @@ class TestIAVFFdir(TestCase):
     def config_testpmd(self):
         self.pmd_output.execute_cmd("set fwd rxonly")
         self.pmd_output.execute_cmd("set verbose 1")
+        self.pmd_output.execute_cmd("vlan set filter on 0")
+        self.pmd_output.execute_cmd("rx_vlan add 1 0")
         # specify a fixed rss-hash-key for cvl ether
         self.pmd_output.execute_cmd(
             "port config 0 rss-hash-key ipv4 1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd")
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf
  2021-03-30  7:32 ` Xie, WeiX
@ 2021-03-31  6:58   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-31  6:58 UTC (permalink / raw)
  To: Xie, WeiX, dts



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie, WeiX
> Sent: 2021年3月30日 15:32
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf
> 
> > -----Original Message-----
> > From: Xie, WeiX <weix.xie@intel.com>
> > Sent: Wednesday, March 31, 2021 12:05 AM
> > To: dts@dpdk.org
> > Cc: Xie, WeiX <weix.xie@intel.com>
> > Subject: [PATCH V1] tests/iavf_fdir: set vlan id for vf
> 
> Tested-by: Xie Wei <weix.xie@intel.com>

Applied, thanks

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

end of thread, other threads:[~2021-03-31  6:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 16:04 [dts] [PATCH V1] tests/iavf_fdir: set vlan id for vf xiewei
2021-03-30  7:32 ` Xie, WeiX
2021-03-31  6:58   ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	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

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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