2021-06-29 07:44:18 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(C) 2021 Marvell.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "cn10k_ethdev.h"
|
|
|
|
#include "cn10k_rx.h"
|
|
|
|
|
2021-10-01 13:40:14 +00:00
|
|
|
#define R(name, f6, f5, f4, f3, f2, f1, f0, flags) \
|
2021-06-29 07:44:18 +00:00
|
|
|
uint16_t __rte_noinline __rte_hot cn10k_nix_recv_pkts_vec_mseg_##name( \
|
|
|
|
void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t pkts) \
|
|
|
|
{ \
|
2021-07-14 09:02:06 +00:00
|
|
|
return cn10k_nix_recv_pkts_vector( \
|
|
|
|
rx_queue, rx_pkts, pkts, (flags) | NIX_RX_MULTI_SEG_F, \
|
2021-10-01 13:40:14 +00:00
|
|
|
NULL, NULL, 0); \
|
2021-06-29 07:44:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
NIX_RX_FASTPATH_MODES
|
|
|
|
#undef R
|