summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-12-11 11:49:27 +0200
committerHanoh Haim <hhaim@cisco.com>2016-12-11 11:50:18 +0200
commit4152f8eb4d4c6d7bfe05dd4a3649f7f570d31c3e (patch)
tree6eec141b3b27225a7c133ff80a94b8a0253384ba
parent6b80dbde69c8a0d57b081457415108bd1fa46523 (diff)
update ConnectX-4 information
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
-rwxr-xr-xdoc/trex_book.asciidoc78
1 files changed, 68 insertions, 10 deletions
diff --git a/doc/trex_book.asciidoc b/doc/trex_book.asciidoc
index 66b9d4a9..e52173da 100755
--- a/doc/trex_book.asciidoc
+++ b/doc/trex_book.asciidoc
@@ -2107,23 +2107,22 @@ The disadvantage is the OFED dependency.
The following distro were tested with TRex and OFED, others might work
-* Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64)
-
+* CentOS 7.2
The following distro were tested and did *not* work for us
* Fedora 21 (3.17.4-301.fc21.x86_64)
+* Ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64) -- crash when RSS was enabled link:https://trex-tgn.cisco.com/youtrack/issue/trex-294[MLX RSS issue]
==== Install OFED
The information was taken from link:http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers[Install OFED]
-.Download 3.4-1 OFED tar for your distro
-link::http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers[download]
+* Download 3.4-2 OFED tar for your distro
[IMPORTANT]
=====================================
-it must be version *MLNX_OFED_LINUX-3.4-1*
+it must be version *MLNX_OFED_LINUX-3.4-2*
=====================================
[IMPORTANT]
@@ -2134,15 +2133,15 @@ Make sure you have an internet connection without firewalls for HTTPS/HTTP - req
.Verify md5
[source,bash]
----
-$md5sum MLNX_OFED_LINUX-3.4-1.0.0.0-ubuntu14.04-x86_64.tgz
-b3c17dc0ea64fd1f0892d7b7ba7e45f3 MLNX_OFED_LINUX-3.4-1.0.0.0-ubuntu14.04-x86_64.tgz
+$md5sum md5sum MLNX_OFED_LINUX-3.4-2.0.0.0-rhel7.2-x86_64.tgz
+58b9fb369d7c62cedbc855661a89a9fd MLNX_OFED_LINUX-3.4-2.0.0.0-rhel7.2-x86_64.tgz
----
.Open the tar
[source,bash]
----
-$tar -xvzf MLNX_OFED_LINUX-3.4-1.0.0.0-ubuntu14.04-x86_64.tgz
-$cd MLNX_OFED_LINUX-3.4-1.0.0.0-ubuntu14.04-x86_64
+$tar -xvzf MLNX_OFED_LINUX-3.4-2.0.0.0-rhel7.2-x86_64.tgz
+$cd MLNX_OFED_LINUX-3.4-2.0.0.0-rhel7.2-x86_64
----
.Run Install script
@@ -2424,6 +2423,65 @@ mlx5_0 port 1 ==> eth6 (Down)
mlx5_1 port 1 ==> eth7 (Down)
-----
+.find the ports
+[source,bash]
+-----
+
+ $sudo ./dpdk_setup_ports.py -t
+ +----+------+---------++---------------------------------------------
+ | ID | NUMA | PCI || Name | Driver |
+ +====+======+=========++===============================+===========+=
+ | 0 | 0 | 06:00.0 || VIC Ethernet NIC | enic |
+ +----+------+---------++-------------------------------+-----------+-
+ | 1 | 0 | 07:00.0 || VIC Ethernet NIC | enic |
+ +----+------+---------++-------------------------------+-----------+-
+ | 2 | 0 | 0a:00.0 || 82599ES 10-Gigabit SFI/SFP+ Ne| ixgbe |
+ +----+------+---------++-------------------------------+-----------+-
+ | 3 | 0 | 0a:00.1 || 82599ES 10-Gigabit SFI/SFP+ Ne| ixgbe |
+ +----+------+---------++-------------------------------+-----------+-
+ | 4 | 0 | 0d:00.0 || Device 15d0 | |
+ +----+------+---------++-------------------------------+-----------+-
+ | 5 | 0 | 10:00.0 || I350 Gigabit Network Connectio| igb |
+ +----+------+---------++-------------------------------+-----------+-
+ | 6 | 0 | 10:00.1 || I350 Gigabit Network Connectio| igb |
+ +----+------+---------++-------------------------------+-----------+-
+ | 7 | 1 | 85:00.0 || 82599ES 10-Gigabit SFI/SFP+ Ne| ixgbe |
+ +----+------+---------++-------------------------------+-----------+-
+ | 8 | 1 | 85:00.1 || 82599ES 10-Gigabit SFI/SFP+ Ne| ixgbe |
+ +----+------+---------++-------------------------------+-----------+-
+ | 9 | 1 | 87:00.0 || MT27700 Family [ConnectX-4] | mlx5_core | #<1>
+ +----+------+---------++-------------------------------+-----------+-
+ | 10 | 1 | 87:00.1 || MT27700 Family [ConnectX-4] | mlx5_core | #<2>
+ +----+------+---------++---------------------------------------------
+-----
+<1> ConnectX-4 port 0
+<2> ConnectX-4 port 1
+
+
+.Config file example
+[source,bash]
+-----
+### Config file generated by dpdk_setup_ports.py ###
+
+ - port_limit: 2
+ version: 2
+ interfaces: ['87:00.0', '87:00.1']
+ port_info:
+ - ip: 1.1.1.1
+ default_gw: 2.2.2.2
+ - ip: 2.2.2.2
+ default_gw: 1.1.1.1
+
+ platform:
+ master_thread_id: 0
+ latency_thread_id: 1
+ dual_if:
+ - socket: 1
+ threads: [8,9,10,11,12,13,14,15,24,25,26,27,28,29,30,31]
+-----
+
+
+
==== TRex specific implementation details
@@ -2433,7 +2491,7 @@ Watch out, In case DUT will clear this bit (change the TOS with LSB==0, e.g. 0x3
==== Which NIC to buy?
-NIC with two ports will work better from performance prospective, so it is better to have MCX456A-ECAT(two 100gb port) and *not* the MCX455A-ECAT (one 100gb port).
+NIC with two ports will work better from performance prospective, so it is better to have MCX456A-ECAT(dual 100gb port) and *not* the MCX455A-ECAT (single 100gb port).
==== Limitation/Issues