summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_trigger.c
diff options
context:
space:
mode:
authorOri Kam <orika@mellanox.com>2019-10-30 23:53:14 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-11-08 23:15:04 +0100
commit894c4a8e5af6fc609c2401b01a99d94de390ba53 (patch)
treeaf2eb6c843fc7b415d04aef6d97682d8c07542f9 /drivers/net/mlx5/mlx5_trigger.c
parente79c9be9151529b9e7cff77c2a12fb849f0793d0 (diff)
downloaddpdk-894c4a8e5af6fc609c2401b01a99d94de390ba53.zip
dpdk-894c4a8e5af6fc609c2401b01a99d94de390ba53.tar.gz
dpdk-894c4a8e5af6fc609c2401b01a99d94de390ba53.tar.xz
net/mlx5: prepare Tx queues to have different types
Currently all Tx queues are created using Verbs. This commit modify the naming so it will not include verbs, since in next commit a new type will be introduce (hairpin) Signed-off-by: Ori Kam <orika@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_trigger.c')
-rw-r--r--drivers/net/mlx5/mlx5_trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index cb31ae2..50c4df5 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -52,8 +52,8 @@ mlx5_txq_start(struct rte_eth_dev *dev)
if (!txq_ctrl)
continue;
txq_alloc_elts(txq_ctrl);
- txq_ctrl->ibv = mlx5_txq_ibv_new(dev, i);
- if (!txq_ctrl->ibv) {
+ txq_ctrl->obj = mlx5_txq_obj_new(dev, i);
+ if (!txq_ctrl->obj) {
rte_errno = ENOMEM;
goto error;
}