net/mlx5: rename RxQ verbs to general RxQ object
[dpdk.git] / drivers / net / mlx5 / mlx5_vlan.c
index 6568a3a..67518c2 100644 (file)
 #include <rte_ethdev_driver.h>
 #include <rte_common.h>
 
-#include "mlx5_utils.h"
 #include "mlx5.h"
 #include "mlx5_autoconf.h"
 #include "mlx5_glue.h"
+#include "mlx5_rxtx.h"
+#include "mlx5_utils.h"
 
 /**
  * DPDK callback to configure a VLAN filter.
@@ -126,7 +127,7 @@ mlx5_vlan_strip_queue_set(struct rte_eth_dev *dev, uint16_t queue, int on)
        }
        DRV_LOG(DEBUG, "port %u set VLAN offloads 0x%x for port %uqueue %d",
                dev->data->port_id, vlan_offloads, rxq->port_id, queue);
-       if (!rxq_ctrl->ibv) {
+       if (!rxq_ctrl->obj) {
                /* Update related bits in RX queue. */
                rxq->vlan_strip = !!on;
                return;
@@ -136,7 +137,7 @@ mlx5_vlan_strip_queue_set(struct rte_eth_dev *dev, uint16_t queue, int on)
                .flags_mask = IBV_WQ_FLAGS_CVLAN_STRIPPING,
                .flags = vlan_offloads,
        };
-       ret = mlx5_glue->modify_wq(rxq_ctrl->ibv->wq, &mod);
+       ret = mlx5_glue->modify_wq(rxq_ctrl->obj->wq, &mod);
        if (ret) {
                DRV_LOG(ERR, "port %u failed to modified stripping mode: %s",
                        dev->data->port_id, strerror(rte_errno));