* [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets
@ 2020-03-26 6:25 Zeng Xiaoxiao
2020-03-26 6:31 ` Zeng, XiaoxiaoX
2020-03-31 3:06 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Zeng Xiaoxiao @ 2020-03-26 6:25 UTC (permalink / raw)
To: dts; +Cc: Zeng Xiaoxiao
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 4ef7d8e..d5b2c7b 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -145,6 +145,8 @@ class TestKernelpfIavf(TestCase):
self.used_dut_port]['vfs_port']
out = self.dut.send_expect('ethtool %s' % self.host_intf, '#')
self.speed = re.findall('Speed: (\d*)', out)[0]
+ if self.running_case == "test_vf_multicast":
+ self.dut.send_expect("ethtool --set-priv-flags %s vf-true-promisc-support on" %(self.host_intf), "# ")
if set_vf_mac is True:
self.vf_mac = "00:01:23:45:67:89"
self.dut.send_expect("ip link set %s vf 0 mac %s" %
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets
2020-03-26 6:25 [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets Zeng Xiaoxiao
@ 2020-03-26 6:31 ` Zeng, XiaoxiaoX
2020-03-31 3:06 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zeng, XiaoxiaoX @ 2020-03-26 6:31 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
Tested-by: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX
> Sent: Thursday, March 26, 2020 2:25 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't
> recieve packets
>
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
> ---
> tests/TestSuite_kernelpf_iavf.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_kernelpf_iavf.py
> b/tests/TestSuite_kernelpf_iavf.py
> index 4ef7d8e..d5b2c7b 100644
> --- a/tests/TestSuite_kernelpf_iavf.py
> +++ b/tests/TestSuite_kernelpf_iavf.py
> @@ -145,6 +145,8 @@ class TestKernelpfIavf(TestCase):
> self.used_dut_port]['vfs_port']
> out = self.dut.send_expect('ethtool %s' % self.host_intf, '#')
> self.speed = re.findall('Speed: (\d*)', out)[0]
> + if self.running_case == "test_vf_multicast":
> + self.dut.send_expect("ethtool --set-priv-flags %s vf-true-promisc-
> support on" %(self.host_intf), "# ")
> if set_vf_mac is True:
> self.vf_mac = "00:01:23:45:67:89"
> self.dut.send_expect("ip link set %s vf 0 mac %s" %
> --
> 1.8.3.1
[-- Attachment #2: TestKernelpfIavf.log --]
[-- Type: application/octet-stream, Size: 4402185 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets
2020-03-26 6:25 [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets Zeng Xiaoxiao
2020-03-26 6:31 ` Zeng, XiaoxiaoX
@ 2020-03-31 3:06 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-03-31 3:06 UTC (permalink / raw)
To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Thursday, March 26, 2020 2:25 PM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@intel.com>
> Subject: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't
> recieve packets
>
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng@intel.com>
> ---
> tests/TestSuite_kernelpf_iavf.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_kernelpf_iavf.py
> b/tests/TestSuite_kernelpf_iavf.py
> index 4ef7d8e..d5b2c7b 100644
> --- a/tests/TestSuite_kernelpf_iavf.py
> +++ b/tests/TestSuite_kernelpf_iavf.py
> @@ -145,6 +145,8 @@ class TestKernelpfIavf(TestCase):
> self.used_dut_port]['vfs_port']
> out = self.dut.send_expect('ethtool %s' % self.host_intf, '#')
> self.speed = re.findall('Speed: (\d*)', out)[0]
> + if self.running_case == "test_vf_multicast":
> + self.dut.send_expect("ethtool --set-priv-flags %s vf-true-promisc-
> support on" %(self.host_intf), "# ")
> if set_vf_mac is True:
> self.vf_mac = "00:01:23:45:67:89"
> self.dut.send_expect("ip link set %s vf 0 mac %s" %
> --
> 1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-31 3:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 6:25 [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets Zeng Xiaoxiao
2020-03-26 6:31 ` Zeng, XiaoxiaoX
2020-03-31 3:06 ` Tu, Lijuan
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).