diff mbox series

[V2,1/3] framework: modify dts because of i40evf removed

Message ID 20211020181005.332986-2-yanx.xia@intel.com (mailing list archive)
State Accepted
Headers show
Series *** modify dts because of i40evf removed *** | expand

Commit Message

Yan Xia Oct. 20, 2021, 6:10 p.m. UTC
modify dts because of i40evf removed
dpdk commit-id:c65f9258

Signed-off-by: Yan Xia <yanx.xia@intel.com>
---
 framework/dut.py      | 3 +--
 framework/settings.py | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

Comments

Lin, Xueqin Oct. 22, 2021, 6:29 a.m. UTC | #1
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Yan Xia
> Sent: Thursday, October 21, 2021 2:10 AM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCH V2 1/3] framework: modify dts because of i40evf
> removed
> 
> modify dts because of i40evf removed
> dpdk commit-id:c65f9258
> 
> Signed-off-by: Yan Xia <yanx.xia@intel.com>
Acked-by: Xueqin Lin <xueqin.lin@intel.com>
> ---
>  framework/dut.py      | 3 +--
>  framework/settings.py | 4 ++--
>  2 files changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/framework/dut.py b/framework/dut.py index f5481d06..f3ef2cbe
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -507,8 +507,7 @@ class Dut(Crb):
>                          break
>                  else:
>                      # try to bind nic with iavf
> -                    if driver == 'i40evf':
> -                        driver = 'iavf'
> +                    if driver == 'iavf':
>                          self.send_expect('modprobe %s' % driver, '# ')
>                          self.send_expect('echo %s > /sys/bus/pci/drivers/%s/bind'
>                                           % (pci_bus, driver), '# ') diff --git
> a/framework/settings.py b/framework/settings.py index c08b8709..bca4d59f
> 100644
> --- a/framework/settings.py
> +++ b/framework/settings.py
> @@ -153,8 +153,8 @@ DRIVERS = {
>      'fortpark_1g': 'i40e',
>      'fortpark_TLV': 'i40e',
>      'fortpark_BASE-T': 'i40e',
> -    'fortpark_TLV_vf': 'i40evf',
> -    'fvl10g_vf': 'i40evf',
> +    'fortpark_TLV_vf': 'iavf',
> +    'fvl10g_vf': 'iavf',
>      'ConnectX3_MT4103': 'mlx4_core',
>      'ConnectX4_MT4115': 'mlx5_core',
>      'ConnectX4_LX_MT4117': 'mlx5_core',
> --
> 2.33.1
diff mbox series

Patch

diff --git a/framework/dut.py b/framework/dut.py
index f5481d06..f3ef2cbe 100644
--- a/framework/dut.py
+++ b/framework/dut.py
@@ -507,8 +507,7 @@  class Dut(Crb):
                         break
                 else:
                     # try to bind nic with iavf
-                    if driver == 'i40evf':
-                        driver = 'iavf'
+                    if driver == 'iavf':
                         self.send_expect('modprobe %s' % driver, '# ')
                         self.send_expect('echo %s > /sys/bus/pci/drivers/%s/bind'
                                          % (pci_bus, driver), '# ')
diff --git a/framework/settings.py b/framework/settings.py
index c08b8709..bca4d59f 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -153,8 +153,8 @@  DRIVERS = {
     'fortpark_1g': 'i40e',
     'fortpark_TLV': 'i40e',
     'fortpark_BASE-T': 'i40e',
-    'fortpark_TLV_vf': 'i40evf',
-    'fvl10g_vf': 'i40evf',
+    'fortpark_TLV_vf': 'iavf',
+    'fvl10g_vf': 'iavf',
     'ConnectX3_MT4103': 'mlx4_core',
     'ConnectX4_MT4115': 'mlx5_core',
     'ConnectX4_LX_MT4117': 'mlx5_core',