summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_trigger.c
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-07-22 14:52:11 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-07-23 14:31:36 +0200
commit93403560ba1f2a6de2630ebf61f63c9a17176b7a (patch)
tree690b9619a897d78e3985be065a8aa21384cbfcaf /drivers/net/mlx5/mlx5_trigger.c
parent21cae8580fd06ce593de13b7e70be21bf821f4db (diff)
downloaddpdk-93403560ba1f2a6de2630ebf61f63c9a17176b7a.zip
dpdk-93403560ba1f2a6de2630ebf61f63c9a17176b7a.tar.gz
dpdk-93403560ba1f2a6de2630ebf61f63c9a17176b7a.tar.xz
net/mlx5: rename RxQ verbs to general RxQ object
Prepare for introducing of DevX RxQ object. RxQ object is currently created using verbs only. The next patches will add the option to create RxQ object using DevX. This patch renames rxq_ibv to rxq_obj wherever relevant, and adds the DevX items to relevant structs. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Matan Azrad <matan@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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index 864c985..54353ee 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -123,10 +123,10 @@ mlx5_rxq_start(struct rte_eth_dev *dev)
ret = rxq_alloc_elts(rxq_ctrl);
if (ret)
goto error;
- rxq_ctrl->ibv = mlx5_rxq_ibv_new(dev, i);
- if (!rxq_ctrl->ibv)
+ rxq_ctrl->obj = mlx5_rxq_obj_new(dev, i);
+ if (!rxq_ctrl->obj)
goto error;
- rxq_ctrl->wqn = rxq_ctrl->ibv->wq->wq_num;
+ rxq_ctrl->wqn = rxq_ctrl->obj->wq->wq_num;
}
return 0;
error: