[dts] [PATCH v1]tests/TestSuite_sriov_kvm:add nic carlsville.
Tu, Lijuan
lijuan.tu at intel.com
Mon Apr 20 07:00:24 CEST 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xu,Hailin
> Sent: Monday, April 13, 2020 7:20 PM
> To: dts at dpdk.org
> Cc: Xu, HailinX <hailinx.xu at intel.com>
> Subject: [dts] [PATCH v1]tests/TestSuite_sriov_kvm:add nic carlsville.
>
> From: xuhailin <hailinx.xu at intel.com>
>
> carlsville driver is i40e, so the nic support the suite.
>
> Signed-off-by: xuhailin <hailinx.xu at intel.com>
> ---
> tests/TestSuite_sriov_kvm.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
> index a8a2211..453bdeb 100644
> --- a/tests/TestSuite_sriov_kvm.py
> +++ b/tests/TestSuite_sriov_kvm.py
> @@ -906,7 +906,7 @@ class TestSriovKvm(TestCase):
> for vf_mac in ["00:11:22:33:44:55", "00:55:44:33:22:11"]:
> if self.nic.startswith('niantic') or self.nic.startswith('sage'):
> set_mac_cmd = "mac_addr add port %d vf %d %s"
> - elif self.nic.startswith('fortville') or self.nic.startswith('fortpark'):
> + elif self.nic.startswith('fortville') or self.nic.startswith('fortpark') or
> self.nic.startswith('carlsville'):
> set_mac_cmd = "set port %d vf %d %s exact-mac-vlan on"
> self.host_testpmd.execute_cmd(set_mac_cmd % (port_id_0, vf_num,
> vf_mac))
>
> --
> 2.17.1
More information about the dts
mailing list