DPDK  19.08.0-rc0
rte_pmd_dpaa2.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2018 NXP
3  */
4 
5 #ifndef _RTE_PMD_DPAA2_H
6 #define _RTE_PMD_DPAA2_H
7 
18 #include <rte_flow.h>
19 
20 enum pmd_dpaa2_ts {
21  PMD_DPAA2_DISABLE_TS,
22  PMD_DPAA2_ENABLE_TS
23 };
24 
36 __rte_experimental
37 void rte_pmd_dpaa2_set_timestamp(enum pmd_dpaa2_ts);
38 
56 __rte_experimental
57 struct rte_flow *
58 rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id,
59  struct rte_flow_item *pattern[],
60  struct rte_flow_action *actions[]);
61 
84 __rte_experimental
85 int
86 rte_pmd_dpaa2_set_custom_hash(uint16_t port_id,
87  uint16_t offset,
88  uint8_t size);
89 
90 #endif /* _RTE_PMD_DPAA2_H */
__rte_experimental 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 void rte_pmd_dpaa2_set_timestamp(enum pmd_dpaa2_ts)
__rte_experimental int rte_pmd_dpaa2_set_custom_hash(uint16_t port_id, uint16_t offset, uint8_t size)