xref: /dpdk/drivers/net/mlx5/mlx5_rxtx_vec_null.c (revision 2bf48044dca1892e571fd4964eecaacf6cb0c1c2)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2023 NVIDIA Corporation & Affiliates
3  */
4 
5 #include <rte_common.h>
6 
7 #include "mlx5_rx.h"
8 
9 struct rte_mbuf;
10 struct rte_eth_dev;
11 
12 uint16_t
13 mlx5_rx_burst_vec(void *dpdk_rxq __rte_unused,
14 		struct rte_mbuf **pkts __rte_unused,
15 		uint16_t pkts_n __rte_unused)
16 {
17 	return 0;
18 }
19 
20 uint16_t
21 mlx5_rx_burst_mprq_vec(void *dpdk_rxq __rte_unused,
22 		struct rte_mbuf **pkts __rte_unused,
23 		uint16_t pkts_n __rte_unused)
24 {
25 	return 0;
26 }
27 
28 int
29 mlx5_rxq_check_vec_support(struct mlx5_rxq_data *rxq __rte_unused)
30 {
31 	return -ENOTSUP;
32 }
33 
34 int
35 mlx5_check_vec_rx_support(struct rte_eth_dev *dev __rte_unused)
36 {
37 	return -ENOTSUP;
38 }
39