DPDK  24.07.0
rte_pmd_dpaa2.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2018-2021 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 
31 struct rte_flow *
32 rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id,
33  struct rte_flow_item *pattern[],
34  struct rte_flow_action *actions[]);
35 
48 __rte_experimental
49 int
50 rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len);
51 
71 int
72 rte_pmd_dpaa2_set_custom_hash(uint16_t port_id,
73  uint16_t offset,
74  uint8_t size);
75 
82 __rte_experimental
83 void
85 
102 __rte_experimental
103 uint32_t
104 rte_pmd_dpaa2_get_tlu_hash(uint8_t *key, int size);
105 #endif /* _RTE_PMD_DPAA2_H */
__rte_experimental uint32_t rte_pmd_dpaa2_get_tlu_hash(uint8_t *key, int size)
__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)
struct rte_flow * rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, struct rte_flow_item *pattern[], struct rte_flow_action *actions[])
__rte_experimental int rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len)