[V1] tests/vf_pmd_bonded: optimize scripts
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
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(+)
Comments
On Mon, 24 Apr 2023 11:02:07 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> 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>
Applied, thanks
@@ -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):
"""