1 /* SPDX-License-Identifier: BSD-3-Clause
11 * NXP dpaa PMD specific functions.
14 * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
18 #include <rte_ethdev_driver.h>
21 * Enable/Disable TX loopback
24 * The port identifier of the Ethernet device.
26 * 1 - Enable TX loopback.
27 * 0 - Disable TX loopback.
29 * - (0) if successful.
30 * - (-ENODEV) if *port* invalid.
31 * - (-EINVAL) if bad parameter.
34 rte_pmd_dpaa_set_tx_loopback(uint8_t port, uint8_t on);
36 #endif /* _PMD_DPAA_H_ */