[dts] [PATCH V1]tests/kernelpf_iavf: turn off vlan anti-spoof
Zeng, XiaoxiaoX
xiaoxiaox.zeng at intel.com
Wed May 6 08:22:56 CEST 2020
Tested-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
Best regards,
Zeng,xiaoxiao
> -----Original Message-----
> From: Zeng, XiaoxiaoX
> Sent: Wednesday, May 6, 2020 10:58 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1]tests/kernelpf_iavf: turn off vlan anti-spoof
>
> *.according to the "vlan anti-spoof" rule, spoofchk default on.
>
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at 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 0b96727..5653d42 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.nic.startswith('columbiaville'):
> + self.dut.send_expect("ip link set %s vf 0 spoofchk
> off" %(self.host_intf), "# ")
> 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:
> --
> 2.17.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestKernelpfIavf.log
Type: application/octet-stream
Size: 28462 bytes
Desc: TestKernelpfIavf.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200506/fc1f4146/attachment.obj>
More information about the dts
mailing list