rte_pmd_dpaa.h
Contents
Detailed Description
NXP dpaa PMD specific functions.
WarningEXPERIMENTAL: this API may change, or be removed, without prior notice
Definition in file rte_pmd_dpaa.h.
Function Documentation
intrte_pmd_dpaa_set_tx_loopback(uint16_tport,uint8_ton)
Enable/Disable TX loopback
Parametersport The port identifier of the Ethernet device.
on 1 - Enable TX loopback. 0 - Disable TX loopback.
Returns
• (0) if successful.
• (-ENODEV) if port invalid.
• (-EINVAL) if bad parameter.
Name
rte_pmd_dpaa.h
Synopsis
Functions
int rte_pmd_dpaa_set_tx_loopback (uint16_t port, uint8_t on)
