test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
  2021-02-22 18:26 [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan sunqin
@ 2021-02-22 10:02 ` Sun, QinX
  2021-02-22 10:16   ` Zhao, HaiyangX
  2021-03-02  1:28 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Sun, QinX @ 2021-02-22 10:02 UTC (permalink / raw)
  To: dts

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

Tested-by: Sun, QinX <qinx.sun@intel.com>
 
Regards,
Sun Qin

> -----Original Message-----
> From: Sun, QinX <qinx.sun@intel.com>
> Sent: Tuesday, February 23, 2021 2:26 AM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan

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

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

* Re: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
  2021-02-22 10:02 ` Sun, QinX
@ 2021-02-22 10:16   ` Zhao, HaiyangX
  0 siblings, 0 replies; 4+ messages in thread
From: Zhao, HaiyangX @ 2021-02-22 10:16 UTC (permalink / raw)
  To: Sun, QinX, dts

Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Sun, QinX
> Sent: Monday, February 22, 2021 18:03
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag
> for vf vlan
> 
> Tested-by: Sun, QinX <qinx.sun@intel.com>
> 
> Regards,
> Sun Qin
> 
> > -----Original Message-----
> > From: Sun, QinX <qinx.sun@intel.com>
> > Sent: Tuesday, February 23, 2021 2:26 AM
> > To: dts@dpdk.org
> > Cc: Sun, QinX <qinx.sun@intel.com>
> > Subject: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag
> for vf vlan

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

* [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
@ 2021-02-22 18:26 sunqin
  2021-02-22 10:02 ` Sun, QinX
  2021-03-02  1:28 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: sunqin @ 2021-02-22 18:26 UTC (permalink / raw)
  To: dts; +Cc: sunqin

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_iavf_flexible_descriptor.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_iavf_flexible_descriptor.py b/tests/TestSuite_iavf_flexible_descriptor.py
index 69f38bf6..58dd850a 100644
--- a/tests/TestSuite_iavf_flexible_descriptor.py
+++ b/tests/TestSuite_iavf_flexible_descriptor.py
@@ -79,10 +79,11 @@ class TestIavfFlexibleDescriptor(TestCase, FlexibleRxdBase):
             netdev.bind_driver(driver=self.kdriver)
         # set vf assign method and vf driver
         vf_driver = 'vfio-pci'
+        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
+        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(pf0_intf),'#')
         # generate 2 VFs on PF
         self.dut.generate_sriov_vfs_by_port(
             used_dut_port, 1, driver=self.kdriver)
-        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
         vf_mac = "00:11:22:33:44:55"
         self.dut.send_expect(
             'ip link set {} vf 0 mac {}'.format(pf0_intf, vf_mac), '#')
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
  2021-02-22 18:26 [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan sunqin
  2021-02-22 10:02 ` Sun, QinX
@ 2021-03-02  1:28 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-03-02  1:28 UTC (permalink / raw)
  To: Sun, QinX, dts; +Cc: Sun, QinX

> Signed-off-by: sunqin <qinx.sun@intel.com>
> ---
>  tests/TestSuite_iavf_flexible_descriptor.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_iavf_flexible_descriptor.py
> b/tests/TestSuite_iavf_flexible_descriptor.py
> index 69f38bf6..58dd850a 100644
> --- a/tests/TestSuite_iavf_flexible_descriptor.py
> +++ b/tests/TestSuite_iavf_flexible_descriptor.py
> @@ -79,10 +79,11 @@ class TestIavfFlexibleDescriptor(TestCase,
> FlexibleRxdBase):
>              netdev.bind_driver(driver=self.kdriver)
>          # set vf assign method and vf driver
>          vf_driver = 'vfio-pci'
> +        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
> +        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable
> on'.format(pf0_intf),'#')

Why add this setting ?

>          # generate 2 VFs on PF
>          self.dut.generate_sriov_vfs_by_port(
>              used_dut_port, 1, driver=self.kdriver)
> -        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
>          vf_mac = "00:11:22:33:44:55"
>          self.dut.send_expect(
>              'ip link set {} vf 0 mac {}'.format(pf0_intf, vf_mac), '#')
> --
> 2.17.1


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

end of thread, other threads:[~2021-03-02  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 18:26 [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan sunqin
2021-02-22 10:02 ` Sun, QinX
2021-02-22 10:16   ` Zhao, HaiyangX
2021-03-02  1:28 ` 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