]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.h
net/mlx5: share Rx control code
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index f0e29293ce0f0fabf016ad1284514e63f1819256..5131a470f11de3146f050dce1fb8418ac268c62d 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);
 };