test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yan Xia <yanx.xia@intel.com>
To: dts@dpdk.org
Cc: Yan Xia <yanx.xia@intel.com>
Subject: [dts] [PATCH V1 1/3] framework: modify dts because of i40evf removed
Date: Wed, 20 Oct 2021 16:28:10 +0000	[thread overview]
Message-ID: <20211020162812.332494-2-yanx.xia@intel.com> (raw)
In-Reply-To: <20211020162812.332494-1-yanx.xia@intel.com>

modify dts because of i40evf removed

Signed-off-by: Yan Xia <yanx.xia@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


  reply	other threads:[~2021-10-20  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20 16:28 [dts] [PATCH V1 0/3] *** modify dts because of i40evf removed *** Yan Xia
2021-10-20 16:28 ` Yan Xia [this message]
2021-10-20 16:28 ` [dts] [PATCH V1 2/3] test_plans: modify dts because of i40evf removed Yan Xia
2021-10-20 16:28 ` [dts] [PATCH V1 3/3] tests/vf_kernel: " Yan Xia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211020162812.332494-2-yanx.xia@intel.com \
    --to=yanx.xia@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).