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