DPDK 25.03.0-rc0
rte_pmd_dpaa2.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2018-2024 NXP
3 */
4
5#ifndef _RTE_PMD_DPAA2_H
6#define _RTE_PMD_DPAA2_H
7
14#include <rte_compat.h>
15#include <rte_flow.h>
16
31int
33 struct rte_flow_item pattern[],
34 struct rte_flow_action actions[]);
35int
36rte_pmd_dpaa2_mux_flow_destroy(uint32_t dpdmux_id,
37 uint16_t entry_index);
38int
39rte_pmd_dpaa2_mux_flow_l2(uint32_t dpdmux_id,
40 uint8_t mac_addr[6], uint16_t vlan_id, int dest_if);
41
56__rte_experimental
57void
58rte_pmd_dpaa2_mux_dump_counter(FILE *f, uint32_t dpdmux_id, int num_if);
59
72__rte_experimental
73int
74rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len);
75
95int
97 uint16_t offset,
98 uint8_t size);
99
106__rte_experimental
107void
109
126__rte_experimental
127uint32_t
128rte_pmd_dpaa2_get_tlu_hash(uint8_t *key, int size);
129
130__rte_experimental
131int
132rte_pmd_dpaa2_dev_is_dpaa2(uint32_t eth_id);
133__rte_experimental
134const char *
135rte_pmd_dpaa2_ep_name(uint32_t eth_id);
136
137#if defined(RTE_LIBRTE_IEEE1588)
138__rte_experimental
139int
140rte_pmd_dpaa2_set_one_step_ts(uint16_t port_id, uint16_t offset, uint8_t ch_update);
141
142__rte_experimental
143int
144rte_pmd_dpaa2_get_one_step_ts(uint16_t port_id, bool mc_query);
145#endif
146#endif /* _RTE_PMD_DPAA2_H */
__rte_experimental int rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len)
__rte_experimental void rte_pmd_dpaa2_mux_dump_counter(FILE *f, uint32_t dpdmux_id, int num_if)
__rte_experimental uint32_t rte_pmd_dpaa2_get_tlu_hash(uint8_t *key, int size)
int rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, struct rte_flow_item pattern[], struct rte_flow_action actions[])
__rte_experimental void rte_pmd_dpaa2_thread_init(void)
int rte_pmd_dpaa2_set_custom_hash(uint16_t port_id, uint16_t offset, uint8_t size)