aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_pool_mem_src_ops.c
blob: 2f8dc20780b177ab37b150901aca4bdcc682c19d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2022, Nokia
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#include <odp/autoheader_internal.h>
#include <odp_pool_internal.h>

extern const _odp_pool_mem_src_ops_t _odp_pool_dpdk_mem_src_ops;
extern const _odp_pool_mem_src_ops_t _odp_pool_sock_xdp_mem_src_ops;

/* List of available ODP packet pool memory source operations. Array must be NULL terminated */
const _odp_pool_mem_src_ops_t * const _odp_pool_mem_src_ops[] = {
#ifdef _ODP_PKTIO_DPDK
	&_odp_pool_dpdk_mem_src_ops,
#endif
#ifdef _ODP_PKTIO_XDP
	&_odp_pool_sock_xdp_mem_src_ops,
#endif
	NULL
};