X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fguides%2Fnics%2Fmlx4.rst;h=3762c606d56886488944f2383948722f03a898ed;hb=21be6fb6af7a26c6c92fe37128a99ffdfd8d69d3;hp=c33aa389e7f38f890932eba09358e6266e92169c;hpb=71d6dac903d65d018c7de03c947042db5d00a70f;p=dpdk.git diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index c33aa389e7..3762c606d5 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -31,8 +31,8 @@ MLX4 poll mode driver library ============================= The MLX4 poll mode driver library (**librte_pmd_mlx4**) implements support -for **Mellanox ConnectX-3 EN** 10/40 Gbps adapters as well as their virtual -functions (VF) in SR-IOV context. +for **Mellanox ConnectX-3** and **Mellanox ConnectX-3 Pro** 10/40 Gbps adapters +as well as their virtual functions (VF) in SR-IOV context. Information and documentation about this family of adapters can be found on the `Mellanox website `_. Help is also provided by @@ -73,8 +73,8 @@ long as they share the same MAC address. Compiling librte_pmd_mlx4 causes DPDK to be linked against libibverbs. -Features and limitations ------------------------- +Features +-------- - RSS, also known as RCA, is supported. In this mode the number of configured RX queues must be a power of two. @@ -86,11 +86,17 @@ Features and limitations - Scattered packets are supported for TX and RX. - Inner L3/L4 (IP, TCP and UDP) TX/RX checksum offloading and validation. - Outer L3 (IP) TX/RX checksum offloading and validation for VXLAN frames. +- Secondary process TX is supported. -.. break +Limitations +----------- - RSS hash key cannot be modified. +- RSS RETA cannot be configured +- RSS always includes L3 (IPv4/IPv6) and L4 (UDP/TCP). They cannot be + dissociated. - Hardware counters are not implemented (they are software counters). +- Secondary process RX is not supported. Configuration ------------- @@ -232,8 +238,9 @@ DPDK and must be installed separately: Currently supported by DPDK: -- Mellanox OFED **3.0**. -- Firmware version **2.34.5000** and higher. +- Mellanox OFED **4.0-1.0.1.0**. +- Firmware version **2.40.5030**. +- Supported architectures: **x86_64** and **POWER8**. Getting Mellanox OFED ~~~~~~~~~~~~~~~~~~~~~ @@ -255,6 +262,11 @@ required from that distribution. this DPDK release was developed and tested against is strongly recommended. Please check the `prerequisites`_. +Supported NICs +-------------- + +* Mellanox(R) ConnectX(R)-3 Pro 40G MCX354A-FCC_Ax (2*40G) + Usage example ------------- @@ -267,6 +279,13 @@ devices managed by librte_pmd_mlx4. modprobe -a ib_uverbs mlx4_en mlx4_core mlx4_ib + Alternatively if MLNX_OFED is fully installed, the following script can + be run: + + .. code-block:: console + + /etc/init.d/openibd restart + .. note:: User space I/O kernel modules (uio and igb_uio) are not used and do @@ -324,7 +343,7 @@ devices managed by librte_pmd_mlx4. .. code-block:: console - testpmd -c 0xff00 -n 4 -w 0000:83:00.0 -w 0000:84:00.0 -- --rxq=2 --txq=2 -i + testpmd -l 8-15 -n 4 -w 0000:83:00.0 -w 0000:84:00.0 -- --rxq=2 --txq=2 -i Example output: