DPDK
25.11.0
Toggle main menu visibility
Loading...
Searching...
No Matches
rte_bpf_ethdev.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2018 Intel Corporation
3
*/
4
5
#ifndef _RTE_BPF_ETHDEV_H_
6
#define _RTE_BPF_ETHDEV_H_
7
26
27
#include <
rte_bpf.h
>
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
enum
{
34
RTE_BPF_ETH_F_NONE = 0,
35
RTE_BPF_ETH_F_JIT
= 0x1,
36
};
37
47
void
48
rte_bpf_eth_rx_unload
(uint16_t port, uint16_t queue);
49
59
void
60
rte_bpf_eth_tx_unload
(uint16_t port, uint16_t queue);
61
82
int
83
rte_bpf_eth_rx_elf_load
(uint16_t port, uint16_t queue,
84
const
struct
rte_bpf_prm
*prm,
const
char
*fname,
const
char
*sname,
85
uint32_t flags);
86
107
int
108
rte_bpf_eth_tx_elf_load
(uint16_t port, uint16_t queue,
109
const
struct
rte_bpf_prm
*prm,
const
char
*fname,
const
char
*sname,
110
uint32_t flags);
111
112
#ifdef __cplusplus
113
}
114
#endif
115
116
#endif
/* _RTE_BPF_ETHDEV_H_ */
rte_bpf.h
RTE_BPF_ETH_F_JIT
@ RTE_BPF_ETH_F_JIT
Definition
rte_bpf_ethdev.h:35
rte_bpf_eth_rx_elf_load
int rte_bpf_eth_rx_elf_load(uint16_t port, uint16_t queue, const struct rte_bpf_prm *prm, const char *fname, const char *sname, uint32_t flags)
rte_bpf_eth_rx_unload
void rte_bpf_eth_rx_unload(uint16_t port, uint16_t queue)
rte_bpf_eth_tx_unload
void rte_bpf_eth_tx_unload(uint16_t port, uint16_t queue)
rte_bpf_eth_tx_elf_load
int rte_bpf_eth_tx_elf_load(uint16_t port, uint16_t queue, const struct rte_bpf_prm *prm, const char *fname, const char *sname, uint32_t flags)
rte_bpf_prm
Definition
rte_bpf.h:91
lib
bpf
rte_bpf_ethdev.h
Generated by
1.17.0