From 5540f7e159fdc25478e2f226733898d109bfa80c Mon Sep 17 00:00:00 2001 From: Alexander Frank Date: Sun, 10 Sep 2017 14:17:26 +0200 Subject: [PATCH] mlx5: Disable vectorized burst routines by default Vectorization leads to segfaults when freeing mbufs It can still be activated via DPDK's command line options --- drivers/net/mlx5/mlx5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index b7e5046325..b122dc2db7 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -635,9 +635,9 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) priv->mps = mps; /* Enable MPW by default if supported. */ priv->cqe_comp = 1; /* Enable compression by default. */ priv->tunnel_en = tunnel_en; - /* Enable vector by default if supported. */ - priv->tx_vec_en = 1; - priv->rx_vec_en = 1; + /* Disable vector by default. */ + priv->tx_vec_en = 0; + priv->rx_vec_en = 0; err = mlx5_args(&args, pci_dev->device.devargs); if (err) { ERROR("failed to process device arguments: %s",