net/mlx: prefix private structure
[dpdk.git] / drivers / net / mlx4 / mlx4_txq.c
index 9aa7440..8142775 100644 (file)
@@ -107,7 +107,7 @@ mlx4_txq_fill_dv_obj_info(struct txq *txq, struct mlx4dv_obj *mlxdv)
  *   Supported Tx offloads.
  */
 uint64_t
-mlx4_get_tx_port_offloads(struct priv *priv)
+mlx4_get_tx_port_offloads(struct mlx4_priv *priv)
 {
        uint64_t offloads = DEV_TX_OFFLOAD_MULTI_SEGS;
 
@@ -148,7 +148,7 @@ int
 mlx4_tx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc,
                    unsigned int socket, const struct rte_eth_txconf *conf)
 {
-       struct priv *priv = dev->data->dev_private;
+       struct mlx4_priv *priv = dev->data->dev_private;
        struct mlx4dv_obj mlxdv;
        struct mlx4dv_qp dv_qp;
        struct mlx4dv_cq dv_cq;
@@ -351,7 +351,7 @@ void
 mlx4_tx_queue_release(void *dpdk_txq)
 {
        struct txq *txq = (struct txq *)dpdk_txq;
-       struct priv *priv;
+       struct mlx4_priv *priv;
        unsigned int i;
 
        if (txq == NULL)