diff options
author | 2016-11-09 14:53:10 +0200 | |
---|---|---|
committer | 2016-11-11 12:22:50 +0200 | |
commit | 446954f6b2e8fe196b43e28a5a36ec01e8da184a (patch) | |
tree | db3a37bb61e9c7c6e8110aa540d128c7f3b09454 | |
parent | a86a07113efb691f205a2837a11f44459241a2ed (diff) |
change default value for best 64B Tx MPPS
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
-rw-r--r-- | src/dpdk/drivers/net/mlx5/mlx5.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dpdk/drivers/net/mlx5/mlx5.c b/src/dpdk/drivers/net/mlx5/mlx5.c index 8d940b69..e30167bd 100644 --- a/src/dpdk/drivers/net/mlx5/mlx5.c +++ b/src/dpdk/drivers/net/mlx5/mlx5.c @@ -514,7 +514,16 @@ mlx5_pci_devinit(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) priv->mtu = ETHER_MTU; priv->mps = mps; /* Enable MPW by default if supported. */ 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; + + if (err) { ERROR("failed to process device arguments: %s", strerror(err)); |