* [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS
@ 2016-01-21 12:17 Raslan Darawsheh
2016-01-21 12:17 ` [dts] [PATCH 1/3] framework/settings.py adding support for ConnectX4 NIC Raslan Darawsheh
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Raslan Darawsheh @ 2016-01-21 12:17 UTC (permalink / raw)
To: dts; +Cc: fhamad, olgas, Raslan Darawsheh, rdarawsheh
the following patches where to support Mellanox ConnectX4 NIC in the DTS tests
Raslan Darawsheh (3):
framework/settings.py adding support for ConnectX4 NIC
framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC
executions/execution.* adding mlx5_core to bind Mellanox NIC's to the
driver
executions/execution.cfg | 2 +-
executions/execution_FVL.cfg | 2 +-
executions/execution_smoke.cfg | 2 +-
framework/project_dpdk.py | 6 ++++++
framework/settings.py | 6 ++++--
5 files changed, 13 insertions(+), 5 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH 1/3] framework/settings.py adding support for ConnectX4 NIC
2016-01-21 12:17 [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS Raslan Darawsheh
@ 2016-01-21 12:17 ` Raslan Darawsheh
2016-01-21 12:17 ` [dts] [PATCH 2/3] framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC Raslan Darawsheh
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Raslan Darawsheh @ 2016-01-21 12:17 UTC (permalink / raw)
To: dts; +Cc: fhamad, olgas, rdarawsheh
From: Raslan Darawsheh <rdarawsheh@asaltech.com>
Signed-off-by: Raslan Darawsheh <rdarawsheh@asaltech.com>
---
framework/settings.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/framework/settings.py b/framework/settings.py
index 02759f7..6988c57 100644
--- a/framework/settings.py
+++ b/framework/settings.py
@@ -76,7 +76,8 @@ NICS = {
'fortville_spirit_single': '8086:1584',
'redrockcanyou': '8086:15a4',
'fortpark':'8086:374c',
- 'fvl10g_vf':'8086:154c'
+ 'fvl10g_vf':'8086:154c',
+ 'ConnectX4':'15b3:1013'
}
DRIVERS = {
@@ -108,7 +109,8 @@ DRIVERS = {
'fortville_spirit': 'i40e',
'fortville_spirit_single': 'i40e',
'redrockcanyou': 'fm10k',
- 'fvl10g_vf':'i40evf'
+ 'fvl10g_vf':'i40evf',
+ 'ConnectX4':'mlx5_core'
}
"""
--
1.9.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH 2/3] framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC
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
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
3 siblings, 0 replies; 5+ messages in thread
From: Raslan Darawsheh @ 2016-01-21 12:17 UTC (permalink / raw)
To: dts; +Cc: fhamad, olgas, rdarawsheh
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH 3/3] executions/execution.* adding mlx5_core to bind Mellanox NIC's to the driver
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 ` [dts] [PATCH 2/3] framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC Raslan Darawsheh
@ 2016-01-21 12:18 ` Raslan Darawsheh
2016-01-21 14:26 ` [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS Liu, Yong
3 siblings, 0 replies; 5+ messages in thread
From: Raslan Darawsheh @ 2016-01-21 12:18 UTC (permalink / raw)
To: dts; +Cc: fhamad, olgas, rdarawsheh
From: Raslan Darawsheh <rdarawsheh@asaltech.com>
Signed-off-by: Raslan Darawsheh <rdarawsheh@asaltech.com>
---
executions/execution.cfg | 2 +-
executions/execution_FVL.cfg | 2 +-
executions/execution_smoke.cfg | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/executions/execution.cfg b/executions/execution.cfg
index aa0b384..598c990 100644
--- a/executions/execution.cfg
+++ b/executions/execution.cfg
@@ -1,6 +1,6 @@
[Execution1]
crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core>
test_suites=
cmdline,
hello_world,
diff --git a/executions/execution_FVL.cfg b/executions/execution_FVL.cfg
index 2a9a9cc..c7bcf5f 100644
--- a/executions/execution_FVL.cfg
+++ b/executions/execution_FVL.cfg
@@ -1,6 +1,6 @@
[Execution1]
crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core>
test_suites=
checksum_offload,
dynamic_config,
diff --git a/executions/execution_smoke.cfg b/executions/execution_smoke.cfg
index d090f8a..5012599 100644
--- a/executions/execution_smoke.cfg
+++ b/executions/execution_smoke.cfg
@@ -1,6 +1,6 @@
[Execution1]
crbs=<CRB IP Address>
-drivername=<driver name igb_uio or vfio-pci>
+drivername=<driver name igb_uio or vfio-pci or mlx5_core>
test_suites=
unit_tests_cmdline,
unit_tests_eal,
--
1.9.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS
2016-01-21 12:17 [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS Raslan Darawsheh
` (2 preceding siblings ...)
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 ` Liu, Yong
3 siblings, 0 replies; 5+ messages in thread
From: Liu, Yong @ 2016-01-21 14:26 UTC (permalink / raw)
To: Raslan Darawsheh, dts; +Cc: fhamad, olgas, rdarawsheh
Applied. Thanks, Darawsheh.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Raslan Darawsheh
> Sent: Thursday, January 21, 2016 8:18 PM
> To: dts@dpdk.org
> Cc: fhamad@asaltech.com; olgas@mellanox.com; Raslan Darawsheh;
> rdarawsheh@asaltech.com
> Subject: [dts] [PATCH 0/3] supporting Mellanox ConnectX4 NIC in DTS
>
> the following patches where to support Mellanox ConnectX4 NIC in the DTS
> tests
>
> Raslan Darawsheh (3):
> framework/settings.py adding support for ConnectX4 NIC
> framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC
> executions/execution.* adding mlx5_core to bind Mellanox NIC's to the
> driver
>
> executions/execution.cfg | 2 +-
> executions/execution_FVL.cfg | 2 +-
> executions/execution_smoke.cfg | 2 +-
> framework/project_dpdk.py | 6 ++++++
> framework/settings.py | 6 ++++--
> 5 files changed, 13 insertions(+), 5 deletions(-)
>
> --
> 1.9.1
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-01-21 14:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [dts] [PATCH 2/3] framework/project_dpdk.py enabling MLX5 PMD for Mellanox NIC Raslan Darawsheh
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
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).