summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-11-12 18:39:02 +0200
committerHanoh Haim <hhaim@cisco.com>2016-11-12 18:39:02 +0200
commit7ee4699197c5cd17abc1a0d433ec5ce776c16fdd (patch)
tree81643a49098a30b9190a8e5cf9d64ed9ba776522
parentfe17cbcca2a4e9f7734bf25dffb072c61e9cb074 (diff)
mlx5 minor update
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
-rwxr-xr-xdoc/trex_book.asciidoc16
-rw-r--r--src/dpdk/drivers/net/mlx5/mlx5.c10
2 files changed, 13 insertions, 13 deletions
diff --git a/doc/trex_book.asciidoc b/doc/trex_book.asciidoc
index c266df57..dc078288 100755
--- a/doc/trex_book.asciidoc
+++ b/doc/trex_book.asciidoc
@@ -124,14 +124,14 @@ TRex curretly works on x86 architecture and can operate well on Cisco UCS hardwa
.Supported NICs
[options="header",cols="1,1,4",width="90%"]
|=================
-| Bandwidth | Chipset | Example
-| 1Gb/sec | Intel I350 | Intel 4x1GE 350-T4 NIC
-| 10Gb/sec | Intel 82599| Cisco part ID:N2XX-AIPCI01 Intel x520-D2, Intel X520 Dual Port 10Gb SFP+ Adapter
-| 10Gb/sec | Intel X710 | Cisco part ID:UCSC-PCIE-IQ10GF link:https://en.wikipedia.org/wiki/Small_form-factor_pluggable_transceiver[SFP+], *Preferred* support per stream stats in hardware link:http://www.silicom-usa.com/PE310G4i71L_Quad_Port_Fiber_SFP+_10_Gigabit_Ethernet_PCI_Express_Server_Adapter_49[Silicom PE310G4i71L]
-| 40Gb/sec | Intel XL710 | Cisco part ID:UCSC-PCIE-ID40GF, link:https://en.wikipedia.org/wiki/QSFP[QSFP+] (copper/optical)
-| 100Gb/sec | Intel FM10420 | QSFP28, by Silicom link:http://www.silicom-usa.com/100_Gigabit_Dual_Port_Fiber_Ethernet_PCI_Express_PE3100G2DQiR_96[Silicom PE3100G2DQiR_96] (*in development*)
-| 100Gb/sec | Mellanox ConnectX-4 | QSFP28, link:http://www.mellanox.com/page/products_dyn?product_family=201&[ConnectX-4] (copper/optical) supported from v2.11 more details xref:connectx_support[TRex Support]
-| 100Gb/sec | Mellanox ConnectX-5 | Not supported yet
+| Chipset | Bandwidth (Gb/sec) | Example
+| Intel I350 | 1 | Intel 4x1GE 350-T4 NIC
+| Intel 82599 | 10 | Cisco part ID:N2XX-AIPCI01 Intel x520-D2, Intel X520 Dual Port 10Gb SFP+ Adapter
+| Intel X710 | 10 | Cisco part ID:UCSC-PCIE-IQ10GF link:https://en.wikipedia.org/wiki/Small_form-factor_pluggable_transceiver[SFP+], *Preferred* support per stream stats in hardware link:http://www.silicom-usa.com/PE310G4i71L_Quad_Port_Fiber_SFP+_10_Gigabit_Ethernet_PCI_Express_Server_Adapter_49[Silicom PE310G4i71L]
+| Intel XL710 | 40 | Cisco part ID:UCSC-PCIE-ID40GF, link:https://en.wikipedia.org/wiki/QSFP[QSFP+] (copper/optical)
+| Intel FM10420 | 25/100 | QSFP28, by Silicom link:http://www.silicom-usa.com/100_Gigabit_Dual_Port_Fiber_Ethernet_PCI_Express_PE3100G2DQiR_96[Silicom PE3100G2DQiR_96] (*in development*)
+| Mellanox ConnectX-4 | 25/40/50/56/100 | QSFP28, link:http://www.mellanox.com/page/products_dyn?product_family=201&[ConnectX-4] link:http://www.mellanox.com/related-docs/prod_adapter_cards/PB_ConnectX-4_VPI_Card.pdf[ConnectX-4-brief] (copper/optical) supported from v2.11 more details xref:connectx_support[TRex Support]
+| Mellanox ConnectX-5 | 25/40/50/56/100 | Not supported yet
| VMXNET / +
VMXNET3 (see notes) | VMware paravirtualized | Connect using VMware vSwitch
| E1000 | paravirtualized | VMware/KVM/VirtualBox
diff --git a/src/dpdk/drivers/net/mlx5/mlx5.c b/src/dpdk/drivers/net/mlx5/mlx5.c
index e30167bd..34a3a3c0 100644
--- a/src/dpdk/drivers/net/mlx5/mlx5.c
+++ b/src/dpdk/drivers/net/mlx5/mlx5.c
@@ -516,12 +516,12 @@ mlx5_pci_devinit(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
priv->cqe_comp = 1; /* Enable compression by default. */
- err = mlx5_args(priv, pci_dev->devargs);
+ err = mlx5_args(priv, pci_dev->devargs);
- /* TREX PATCH */
- /* set for maximum performance default */
- priv->txq_inline =64;
- priv->txqs_inline =4;
+ /* TREX PATCH */
+ /* set for maximum performance default */
+ priv->txq_inline =128;
+ priv->txqs_inline =4;
if (err) {