* [dts] [PATCH V1] tests/vf_pmd_bonded: optimize scripts
@ 2023-04-24 11:02 Jiale Song
2023-04-26 2:44 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Jiale Song @ 2023-04-24 11:02 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
when vf cancels trust, it will clear the function of spoofchk and need
to be reset.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_vf_pmd_bonded.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_vf_pmd_bonded.py b/tests/TestSuite_vf_pmd_bonded.py
index ca3b2823..821eba7b 100644
--- a/tests/TestSuite_vf_pmd_bonded.py
+++ b/tests/TestSuite_vf_pmd_bonded.py
@@ -2151,6 +2151,9 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d, v
self.dut.send_expect(
"ip link set %s vf 0 trust off" % (self.dport_ifaces0), "# "
)
+ self.dut.send_expect(
+ "ip link set %s vf 0 spoofchk off" % (self.dport_ifaces0), "# "
+ )
def tear_down_all(self):
"""
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-26 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24 11:02 [dts] [PATCH V1] tests/vf_pmd_bonded: optimize scripts Jiale Song
2023-04-26 2:44 ` lijuan.tu
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).