User Manual

TRex 90 / 113
7.7.1.8 Config file example
### Config file generated by dpdk_setup_ports.py ###
- port_limit: 2
version: 2
interfaces: [’82:00.0/0’, ’82:00.0/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]
7.8 Mellanox ConnectX-4/5 support
Mellanox ConnectX-4/5 adapter family supports 100/56/40/25/10 Gb/s Ethernet speeds. Its DPDK support is a bit different from
Intel DPDK support, more information can be found here. Intel NICs do not require additional kernel drivers (except for igb_uio
which is already supported in most distributions). ConnectX-4 works on top of Infiniband API (verbs) and requires special kernel
modules/user space libs. This means that it is required to install OFED package to be able to work with this NIC. Installing the
full OFED package is the simplest way to make it work (trying to install part of the package can work too but didn’t work for
us). The advantage of this model is that you can control it using standard Linux tools (ethtool and ifconfig will work). The
disadvantage is the OFED dependency.
7.8.1 Installation
7.8.2 Install Linux
We tested the following distro with TRex and OFED. Others might work too.
CentOS 7.3
Following distro was 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 MLX RSS issue
7.8.3 Install OFED
Information was taken from Install OFED
Download latest OFED 4.x OFED tar for your distro. this example shows an old OFED installation
Important
The version must be MLNX_OFED_LINUX-4.0 or higher (4.0.x)