net/mlx5: share Rx control code
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index f0e2929..5131a47 100644 (file)
@@ -707,8 +707,7 @@ struct mlx5_rxq_obj {
 /* HW objects operations structure. */
 struct mlx5_obj_ops {
        int (*rxq_obj_modify_vlan_strip)(struct mlx5_rxq_obj *rxq_obj, int on);
-       struct mlx5_rxq_obj *(*rxq_obj_new)(struct rte_eth_dev *dev,
-                                           uint16_t idx);
+       int (*rxq_obj_new)(struct rte_eth_dev *dev, uint16_t idx);
        int (*rxq_event_get)(struct mlx5_rxq_obj *rxq_obj);
        void (*rxq_obj_release)(struct mlx5_rxq_obj *rxq_obj);
 };