16 #ifndef RTE_PMD_ARK_TX_USERDATA_ENABLE
17 #define RTE_PMD_ARK_TX_USERDATA_ENABLE 0
20 #ifndef RTE_PMD_ARK_RX_USERDATA_ENABLE
21 #define RTE_PMD_ARK_RX_USERDATA_ENABLE 0
24 typedef uint32_t rte_pmd_ark_tx_userdata_t;
25 typedef uint64_t rte_pmd_ark_rx_userdata_t;
27 extern int rte_pmd_ark_tx_userdata_dynfield_offset;
28 extern int rte_pmd_ark_rx_userdata_dynfield_offset;
31 #define RTE_PMD_ARK_TX_USERDATA_DYNFIELD_NAME "rte_net_ark_dynfield_tx_userdata"
33 #define RTE_PMD_ARK_RX_USERDATA_DYNFIELD_NAME "rte_net_ark_dynfield_rx_userdata"
45 static inline rte_pmd_ark_tx_userdata_t
48 #if RTE_PMD_ARK_TX_USERDATA_ENABLE
50 rte_pmd_ark_tx_userdata_t *);
69 rte_pmd_ark_tx_userdata_t data)
71 #if RTE_PMD_ARK_TX_USERDATA_ENABLE
73 rte_pmd_ark_tx_userdata_t *) = data;
90 static inline rte_pmd_ark_rx_userdata_t
93 #if RTE_PMD_ARK_RX_USERDATA_ENABLE
95 rte_pmd_ark_rx_userdata_t *);
114 rte_pmd_ark_rx_userdata_t data)
116 #if RTE_PMD_ARK_RX_USERDATA_ENABLE
118 rte_pmd_ark_rx_userdata_t *) = data;
#define RTE_MBUF_DYNFIELD(m, offset, type)
static __rte_experimental void rte_pmd_ark_mbuf_tx_userdata_set(struct rte_mbuf *mbuf, rte_pmd_ark_tx_userdata_t data)
static __rte_experimental void rte_pmd_ark_mbuf_rx_userdata_set(struct rte_mbuf *mbuf, rte_pmd_ark_rx_userdata_t data)
static __rte_experimental rte_pmd_ark_tx_userdata_t rte_pmd_ark_mbuf_tx_userdata_get(const struct rte_mbuf *mbuf)
static __rte_experimental rte_pmd_ark_rx_userdata_t rte_pmd_ark_mbuf_rx_userdata_get(const struct rte_mbuf *mbuf)