Go to the source code of this file.
ARK driver-specific API
Definition in file rte_pmd_ark.h.
#define RTE_PMD_ARK_TX_USERDATA_DYNFIELD_NAME "rte_net_ark_dynfield_tx_userdata" |
mbuf dynamic field for custom Tx ARK data
Definition at line 31 of file rte_pmd_ark.h.
#define RTE_PMD_ARK_RX_USERDATA_DYNFIELD_NAME "rte_net_ark_dynfield_rx_userdata" |
mbuf dynamic field for custom Rx ARK data
Definition at line 33 of file rte_pmd_ark.h.
static __rte_experimental rte_pmd_ark_tx_userdata_t rte_pmd_ark_mbuf_tx_userdata_get |
( |
const struct rte_mbuf * |
mbuf | ) |
|
|
inlinestatic |
- Warning
- EXPERIMENTAL: this API may change without prior notice
Read Tx user data from mbuf.
- Parameters
-
mbuf | Structure to read from. |
- Returns
- user data
Definition at line 46 of file rte_pmd_ark.h.
static __rte_experimental void rte_pmd_ark_mbuf_tx_userdata_set |
( |
struct rte_mbuf * |
mbuf, |
|
|
rte_pmd_ark_tx_userdata_t |
data |
|
) |
| |
|
inlinestatic |
- Warning
- EXPERIMENTAL: this API may change without prior notice
Write Tx user data to mbuf.
- Parameters
-
mbuf | Structure to write into. |
data | User data. |
Definition at line 68 of file rte_pmd_ark.h.
static __rte_experimental rte_pmd_ark_rx_userdata_t rte_pmd_ark_mbuf_rx_userdata_get |
( |
const struct rte_mbuf * |
mbuf | ) |
|
|
inlinestatic |
- Warning
- EXPERIMENTAL: this API may change without prior notice
Read Rx user data from mbuf.
- Parameters
-
mbuf | Structure to read from. |
- Returns
- user data
Definition at line 91 of file rte_pmd_ark.h.
static __rte_experimental void rte_pmd_ark_mbuf_rx_userdata_set |
( |
struct rte_mbuf * |
mbuf, |
|
|
rte_pmd_ark_rx_userdata_t |
data |
|
) |
| |
|
inlinestatic |
- Warning
- EXPERIMENTAL: this API may change without prior notice
Write Rx user data to mbuf.
- Parameters
-
mbuf | Structure to write into. |
data | User data. |
Definition at line 113 of file rte_pmd_ark.h.