Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
New upstream version 17.11.5
[deb_dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_rxtx_vec.c
diff --git
a/drivers/net/mlx5/mlx5_rxtx_vec.c
b/drivers/net/mlx5/mlx5_rxtx_vec.c
index
982b8f1
..
12465b4
100644
(file)
--- a/
drivers/net/mlx5/mlx5_rxtx_vec.c
+++ b/
drivers/net/mlx5/mlx5_rxtx_vec.c
@@
-316,7
+316,7
@@
mlx5_check_vec_tx_support(struct rte_eth_dev *dev)
struct priv *priv = dev->data->dev_private;
if (!priv->tx_vec_en ||
- priv->txqs_n >
MLX5_VPMD_MIN_TXQS
||
+ priv->txqs_n >
(unsigned int)priv->txqs_vec
||
priv->mps != MLX5_MPW_ENHANCED ||
priv->tso)
return -ENOTSUP;