* [dts] [PATCH V1] tests/*: optimize scripts
@ 2022-10-28 14:19 Song Jiale
2022-11-18 2:24 ` Li, WeiyuanX
2022-11-18 8:38 ` lijuan.tu
0 siblings, 2 replies; 3+ messages in thread
From: Song Jiale @ 2022-10-28 14:19 UTC (permalink / raw)
To: dts; +Cc: Song Jiale
the network card does not support a driver named "default", modify "default" to the actual driver.
Signed-off-by: Song Jiale <songx.jiale@intel.com>
---
tests/TestSuite_iavf.py | 2 +-
tests/TestSuite_kernelpf_iavf.py | 2 +-
tests/TestSuite_vf_jumboframe.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py
index 5444a7e3..5315c96e 100644
--- a/tests/TestSuite_iavf.py
+++ b/tests/TestSuite_iavf.py
@@ -147,7 +147,7 @@ class TestIavf(TestCase):
self.dut.destroy_sriov_vfs_by_port(self.used_dut_port_1)
port = self.dut.ports_info[self.used_dut_port_1]["port"]
self.used_dut_port_1 = None
- self.bind_nic_driver(self.dut_ports[:2], driver="default")
+ self.bind_nic_driver(self.dut_ports[:2], driver=self.drivername)
self.env_done = False
def send_packet(self, mac, itf, tran_type="udp", count=1, pktLength=64, VID=100):
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 73435339..381c52e4 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -172,7 +172,7 @@ class TestKernelpfIavf(TestCase):
self.dut.destroy_sriov_vfs_by_port(self.used_dut_port)
self.used_dut_port = None
- self.bind_nic_driver(self.dut_ports, driver="default")
+ self.bind_nic_driver(self.dut_ports, driver=self.drivername)
self.env_done = False
diff --git a/tests/TestSuite_vf_jumboframe.py b/tests/TestSuite_vf_jumboframe.py
index 42609e32..a6366b2d 100644
--- a/tests/TestSuite_vf_jumboframe.py
+++ b/tests/TestSuite_vf_jumboframe.py
@@ -117,7 +117,7 @@ class TestVfJumboFrame(TestCase):
if getattr(self, "used_dut_port", None) != None:
self.dut.destroy_sriov_vfs_by_port(self.used_dut_port)
self.used_dut_port = None
- self.bind_nic_driver(self.dut_ports[:1], driver="default")
+ self.bind_nic_driver(self.dut_ports[:1], driver=self.drivername)
self.env_done = False
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [dts] [PATCH V1] tests/*: optimize scripts
2022-10-28 14:19 [dts] [PATCH V1] tests/*: optimize scripts Song Jiale
@ 2022-11-18 2:24 ` Li, WeiyuanX
2022-11-18 8:38 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: Li, WeiyuanX @ 2022-11-18 2:24 UTC (permalink / raw)
To: Jiale, SongX, dts; +Cc: Jiale, SongX
> -----Original Message-----
> From: Song Jiale <songx.jiale@intel.com>
> Sent: Friday, October 28, 2022 10:20 PM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/*: optimize scripts
>
> the network card does not support a driver named "default", modify
> "default" to the actual driver.
>
> Signed-off-by: Song Jiale <songx.jiale@intel.com>
> ---
Tested-by: Weiyuan Li <weiyuanx.li@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/*: optimize scripts
2022-10-28 14:19 [dts] [PATCH V1] tests/*: optimize scripts Song Jiale
2022-11-18 2:24 ` Li, WeiyuanX
@ 2022-11-18 8:38 ` lijuan.tu
1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-11-18 8:38 UTC (permalink / raw)
To: dts, Song Jiale; +Cc: Song Jiale
On Fri, 28 Oct 2022 14:19:56 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> the network card does not support a driver named "default", modify "default" to the actual driver.
>
> Signed-off-by: Song Jiale <songx.jiale@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-18 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 14:19 [dts] [PATCH V1] tests/*: optimize scripts Song Jiale
2022-11-18 2:24 ` Li, WeiyuanX
2022-11-18 8:38 ` lijuan.tu
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).