* [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6
@ 2020-12-29 6:56 Xie wei
2020-12-29 7:02 ` Xie, WeiX
2020-12-30 5:35 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-12-29 6:56 UTC (permalink / raw)
To: dts; +Cc: Xie wei
it need disable ipv6 temporarily before checking the rx-packets of network interface.
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_vf_kernel.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py
index 54676c2d..c1977f7b 100755
--- a/tests/TestSuite_vf_kernel.py
+++ b/tests/TestSuite_vf_kernel.py
@@ -464,6 +464,9 @@ class TestVfKernel(TestCase):
"""
verify packet statistic
"""
+ time.sleep(1)
+ self.vm0_dut.send_expect("sysctl net.ipv6.conf.all.disable_ipv6=1", "#")
+ self.vm0_dut.send_expect("sysctl net.ipv6.conf.default.disable_ipv6=1", "#")
time.sleep(10)
out = self.vm0_dut.send_expect("ethtool -S %s" % self.vm0_intf0, "#")
rx_packets_before = re.findall("\s*rx.*\d+.*packets:\s*(\d*)", out)
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6
2020-12-29 6:56 [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6 Xie wei
@ 2020-12-29 7:02 ` Xie, WeiX
2020-12-30 5:35 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-12-29 7:02 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
Tested-by: Xie,WeiX < weix.xie@intel.com>
Regards,
Xie Wei
> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Tuesday, December 29, 2020 2:56 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6
[-- Attachment #2: TestVfKernel.log --]
[-- Type: application/octet-stream, Size: 104316 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6
2020-12-29 6:56 [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6 Xie wei
2020-12-29 7:02 ` Xie, WeiX
@ 2020-12-30 5:35 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-12-30 5:35 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
> it need disable ipv6 temporarily before checking the rx-packets of network
> interface.
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
Applied with commit message changed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-30 5:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29 6:56 [dts] [PATCH V1] tests/TestSuite_vf_kernel:disable ipv6 Xie wei
2020-12-29 7:02 ` Xie, WeiX
2020-12-30 5:35 ` 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).