DPDK  22.03.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_flow.h>
15 
30 struct rte_flow *
31 rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id,
32  struct rte_flow_item *pattern[],
33  struct rte_flow_action *actions[]);
34 
47 __rte_experimental
48 int
49 rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len);
50 
70 int
71 rte_pmd_dpaa2_set_custom_hash(uint16_t port_id,
72  uint16_t offset,
73  uint8_t size);
74 
81 __rte_experimental
82 void
84 
101 __rte_experimental
102 uint32_t
103 rte_pmd_dpaa2_get_tlu_hash(uint8_t *key, int size);
104 #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)