test suite reviews and discussions
 help / color / mirror / Atom feed
From: Raslan Darawsheh <rasland@mellanox.com>
To: dts@dpdk.org
Cc: fhamad@asaltech.com, olgas@mellanox.com, rdarawsheh@asaltech.com
Subject: [dts] [PATCH 2/3] framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC
Date: Thu, 21 Jan 2016 14:17:59 +0200	[thread overview]
Message-ID: <1453378680-3240-3-git-send-email-rasland@mellanox.com> (raw)
In-Reply-To: <1453378680-3240-1-git-send-email-rasland@mellanox.com>

From: Raslan Darawsheh <rdarawsheh@asaltech.com>

Signed-off-by: Raslan Darawsheh <rdarawsheh@asaltech.com>
---
 framework/project_dpdk.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 597982f..4a5e222 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -70,6 +70,12 @@ class DPDKdut(Dut):
         self.send_expect("export RTE_SDK=`pwd`", "#")
 
         self.set_rxtx_mode()
+
+        #Enable MLNX driver before installing dpdk
+        if dts.drivername == DRIVERS['ConnectX4']:
+            self.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_MLX5_PMD=n/"
+                             + "CONFIG_RTE_LIBRTE_MLX5_PMD=y/' config/common_linuxapp" , "# ", 30)
+
         if not self.skip_setup:
             self.build_install_dpdk(target)
 
-- 
1.9.1

  parent reply	other threads:[~2016-01-21 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 12:17 [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS Raslan Darawsheh
2016-01-21 12:17 ` [dts] [PATCH 1/3] framework/settings.py adding support for ConnectX4 NIC Raslan Darawsheh
2016-01-21 12:17 ` Raslan Darawsheh [this message]
2016-01-21 12:18 ` [dts] [PATCH 3/3] executions/execution.* adding mlx5_core to bind Mellanox NIC's to the driver Raslan Darawsheh
2016-01-21 14:26 ` [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS Liu, Yong

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=1453378680-3240-3-git-send-email-rasland@mellanox.com \
    --to=rasland@mellanox.com \
    --cc=dts@dpdk.org \
    --cc=fhamad@asaltech.com \
    --cc=olgas@mellanox.com \
    --cc=rdarawsheh@asaltech.com \
    /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).