From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (unknown [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 75ACA8EA0 for ; Thu, 21 Jan 2016 13:18:17 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from root@r-aa-dragon7.rdmz.labs.mlnx) with ESMTPS (AES256-SHA encrypted); 21 Jan 2016 14:18:03 +0200 Received: from r-aa-dragon7.rdmz.labs.mlnx (r-aa-dragon7.rdmz.labs.mlnx [10.224.14.90]) by filer01.rdmz.labs.mlnx (8.13.8/8.13.8) with ESMTP id u0LCI3ia005475; Thu, 21 Jan 2016 14:18:03 +0200 Received: from r-aa-dragon7.rdmz.labs.mlnx (localhost [127.0.0.1]) by r-aa-dragon7.rdmz.labs.mlnx (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u0LCI3Z8003290; Thu, 21 Jan 2016 14:18:03 +0200 Received: (from root@localhost) by r-aa-dragon7.rdmz.labs.mlnx (8.14.4/8.14.4/Submit) id u0LCI3Hw003289; Thu, 21 Jan 2016 14:18:03 +0200 From: Raslan Darawsheh To: dts@dpdk.org Date: Thu, 21 Jan 2016 14:17:59 +0200 Message-Id: <1453378680-3240-3-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453378680-3240-1-git-send-email-rasland@mellanox.com> References: <1453378680-3240-1-git-send-email-rasland@mellanox.com> 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 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2016 12:18:17 -0000 From: Raslan Darawsheh Signed-off-by: Raslan Darawsheh --- 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