net/mlx5: fix max number of queues for NEON Tx
authorYongseok Koh <yskoh@mellanox.com>
Wed, 1 May 2019 01:37:17 +0000 (18:37 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit9cc42c58931a428a94e9adf7019eb97faa8fddb1
treefde2f71b949ca751d52445f42783ed2453f3e812
parentf6d9ab4e769f0f95ecac1b418106e9f8137ca60c
net/mlx5: fix max number of queues for NEON Tx

BlueField SmartNIC has 0xa2d2 as PCI device ID on both ARM and x86 host. On
ARM side, Tx inlining need not be used as PCI bandwidth is not bottleneck.
Vectorized Tx can still be used up to 16 queues. For other archs
(e.g., x86), keep using the default value.

Fixes: 09d8b41699bb ("net/mlx5: make vectorized Tx threshold configurable")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_defs.h