From: Ali Alnubani <alialnu@mellanox.com>
To: dts@dpdk.org
Cc: dpdklab@iol.unh.edu
Subject: [dts] [PATCH for-next v2 1/3] framework/project_dpdk: pass modprobe if driver is mlx5_core
Date: Fri, 30 Mar 2018 02:47:42 +0300 [thread overview]
Message-ID: <20180329234744.17716-2-alialnu@mellanox.com> (raw)
In-Reply-To: <20180329234744.17716-1-alialnu@mellanox.com>
Module probing mlx5_core is not needed with MLNX_OFED
installed.
Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
---
framework/project_dpdk.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 40c862a..618cd57 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -112,7 +112,10 @@ class DPDKdut(Dut):
self.send_expect("modprobe uio_pci_generic", "#", 70)
out = self.send_expect("lsmod | grep uio_pci_generic", "#")
assert ("uio_pci_generic" in out), "Failed to setup uio_pci_generic"
-
+
+ elif drivername == "mlx5_core":
+ pass
+
else:
self.send_expect("modprobe uio", "#", 70)
out = self.send_expect("lsmod | grep igb_uio", "#")
--
2.16.2
next prev parent reply other threads:[~2018-03-29 23:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 23:47 [dts] [PATCH for-next v2 0/3] nic_single_core_perf: add support for Mellanox's nics Ali Alnubani
2018-03-29 23:47 ` Ali Alnubani [this message]
2018-03-29 23:47 ` [dts] [PATCH for-next v2 2/3] nics/net_device: add a function to get nic speed Ali Alnubani
2018-03-30 8:29 ` Liu, Yong
2018-03-30 22:55 ` Ali Alnubani
2018-03-29 23:47 ` [dts] [PATCH for-next v2 3/3] nic_single_core_perf: add support for Mellanox's nics Ali Alnubani
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=20180329234744.17716-2-alialnu@mellanox.com \
--to=alialnu@mellanox.com \
--cc=dpdklab@iol.unh.edu \
--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).